lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 May 2007 22:00:53 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	"Lars K.W. Gohlke" <lkwg82@....de>
cc:	linux-kernel@...r.kernel.org
Subject: Re: 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)

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
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ