[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How to access correctly serial port inside module?

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)

>> This thread ends before the answer was given and the site redirecting
>> too is restructured:
>> 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.

> 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...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-05-14 22:03    [W:0.122 / U:4.180 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site