From: ian <spyro@f2s.com>
To: linux-serial@vger.kernel.org
Subject: How to use serial ports from a kernel module.
Date: Sat, 26 Jan 2008 19:19:24 +0000 [thread overview]
Message-ID: <1201375164.3368.6.camel@wirenth> (raw)
Hi guys,
I'd like to use one of the serial ports on my embedded device from a
module (so I can write an input driver for the buttonpad on my PDA).
I need to be able to set the data type to 8O1 and set the port speed,
and send and receive data.
Whats the proper way to do this? Ideally I'd want to prevent userspace
being able to use the port which has the keypad connected, but not touch
the other two ports.
Thanks,
-Ian
next reply other threads:[~2008-01-26 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 19:19 ian [this message]
2008-01-26 20:41 ` How to use serial ports from a kernel module Guennadi Liakhovetski
2008-01-26 22:30 ` ian
2008-01-26 22:37 ` Guennadi Liakhovetski
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=1201375164.3368.6.camel@wirenth \
--to=spyro@f2s.com \
--cc=linux-serial@vger.kernel.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