lkml.org 
[lkml]   [2007]   [Jun]   [5]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 05 Jun 2007 09:55:19 +0200
From"Lars K.W. Gohlke" <>
SubjectRe: How to access correctly serial port inside module?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tilman Schmidt schrieb:
 > Am 17.05.2007 08:15 schrieb huang ying:
 >> I think the "serio" (through drivers/input/serio/serport.c) may be a
 >> choice too, like that in linux/drivers/input/mouse/sermouse.c, which
 >> is an example to program serial port in kernel space.
 >
 > Interesting. I wonder if that would have been a better choice for
 > the Gigaset M101 driver. It seems even to have a probe mechanism
 > so one could try to determine if the expected device is really
 > connected to the port.
 >
 > Is there any documentation on this interface? I find the source a
 > bit hard to understand, sparsely commented as it is.
 >
 > Thanks
 > Tilman
 >
how can I open ttyS1 with major=4 and minor=65?

Does anybody have some code to read from it the first e.g. 2bytes?

thx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - GPGrelay v0.959
iD4DBQFGZRboAAomYJ1taN8RAkUQAJdOOvEOqXoiWPKd1cWLCpaksMkjAJ9QxH+w
sEIKnmL2TjPB53E1XkLQng==
=K9hA
-----END PGP SIGNATURE-----begin:vcard
fn:Lars K.W. Gohlke
n:Gohlke;Lars K.W.
email;internet:lkwg82@gmx.de
x-mozilla-html:FALSE
version:2.1
end:vcard

\
 
 \ /
  Last update: 2007-06-05 07:57    [W:0.323 / U:0.110 seconds]
©2003-2008 Jasper Spaans