June 11, 2015
8:20 a.m.
Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> writes:
I want to use the serial userspace api. But I do not want to write a kernel module. I really like the design of uinput, and I would like to use something similar here.
Do you need the modem control lines, or would a pty be good enough for your use case? If you need more than that, then you could probably do a complete serial driver using CUSE. But you would have to copy a lot of kernel code to userspace. It is much easier to just write a kernel driver. Bjørn