lkml.org 
[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to access correctly serial port inside module?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars K.W. Gohlke schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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: 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
>
> I'm learning how to write modules:
>
> 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.
>
> thx in advance
>
> 14.05.2007 14:46
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32) - GPGrelay v0.959
>
> iD8DBQFGSF2FAAomYJ1taN8RAnPfAKCdpnT+Uxa8a1Mc85TCyDzNwsvuQQCgzHIx
> f7V/XEWtWCa2IWtYjk7W7dg=
> =y/NM
> -----END PGP SIGNATURE-----

would be somebody so polite and give me at least a hint?

Where to search concretely, or small template.

thx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - GPGrelay v0.959

iD8DBQFGSJ7yAAomYJ1taN8RAmVqAJ9Fwr9eqAlYK5rSBj1efs0gBDgMuACgmEuZ
u0EvSiC5ORBLFnIGp0tdpNE=
=pdLz
-----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-05-14 19:43    [W:0.117 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site