From: bjorn@mork.no (Bjørn Mork)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Userpace serial port
Date: Thu, 11 Jun 2015 10:20:55 +0200 [thread overview]
Message-ID: <87381yodug.fsf@nemi.mork.no> (raw)
In-Reply-To: <CAPybu_2mGUS4_ibU0fLrbA7JNDXPBvYhWCrkcVA+yari9pcAxg@mail.gmail.com> (Ricardo Ribalda Delgado's message of "Thu, 11 Jun 2015 08:39:39 +0200")
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
next prev parent reply other threads:[~2015-06-11 8:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 12:39 Userpace serial port Ricardo Ribalda Delgado
2015-06-11 3:52 ` Greg KH
2015-06-11 6:39 ` Ricardo Ribalda Delgado
2015-06-11 8:20 ` Bjørn Mork [this message]
2015-06-11 14:31 ` Greg KH
2015-06-11 15:16 ` Ricardo Ribalda Delgado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87381yodug.fsf@nemi.mork.no \
--to=bjorn@mork.no \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).