From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjorn@mork.no (=?utf-8?Q?Bj=C3=B8rn_Mork?=) Date: Thu, 11 Jun 2015 10:20:55 +0200 Subject: Userpace serial port In-Reply-To: (Ricardo Ribalda Delgado's message of "Thu, 11 Jun 2015 08:39:39 +0200") References: <20150611035207.GB22550@kroah.com> Message-ID: <87381yodug.fsf@nemi.mork.no> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Ricardo Ribalda Delgado 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