public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* How to use serial ports from a kernel module.
@ 2008-01-26 19:19 ian
  2008-01-26 20:41 ` Guennadi Liakhovetski
  0 siblings, 1 reply; 4+ messages in thread
From: ian @ 2008-01-26 19:19 UTC (permalink / raw)
  To: linux-serial

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-26 22:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-26 19:19 How to use serial ports from a kernel module ian
2008-01-26 20:41 ` Guennadi Liakhovetski
2008-01-26 22:30   ` ian
2008-01-26 22:37     ` Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox