Messages in this thread | | | Date | Mon, 14 May 2007 22:25:25 +0200 | From | "Lars K.W. Gohlke" <> | Subject | Re: How to access correctly serial port inside module? |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jan Engelhardt schrieb: > On May 14 2007 19:40, Lars K.W. Gohlke wrote: >>> hallo, >>> >>> after searching the mailing list and searching the web, I still don't >>> know how to access correctly the serial port (in user space known as >>> /dev/ttyS01) > > http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad > >>> This thread ends before the answer was given and the site redirecting >>> too is restructured: >>> http://marc.info/?l=kernelnewbies&m=98314502419089&w=2 >>> >>> would somebody be so kind to give me an example: >>> >>> with this behaviour: >>> >>> 1. read from port >>> 2. output via printk() >>> 3. write to port > > inb/inw/inl, printk, outb/outw/outl. > >>> I've created already my own char-dev and used it in user-space. >>> However I don't know really how to get information from kernel-code to >>> solve this. > > http://lwn.net/Kernel/LDD3/ > >> would be somebody so polite and give me at least a hint? >> Where to search concretely, or small template. > > It's been 4 hours and 40 minutes, and you already expect an answer? > I don't remember you having paid anyone... > > > Jan
sorry, for my impatience, but I saw the traffic on the list and was wondering ... .
Nevermind, thx. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) - GPGrelay v0.959
iD8DBQFGSMW4AAomYJ1taN8RAjgYAKDAspdXlQhsFCaGMkr5Y0NiBH5k/ACeN9Gc xHGfKF0NaSyuA6hlm5byp0o= =wUWl -----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
| |