Userpace serial port

Bjørn Mork bjorn at mork.no
Thu Jun 11 04:20:55 EDT 2015


Ricardo Ribalda Delgado <ricardo.ribalda at 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



More information about the Kernelnewbies mailing list