Re: how to read from serial device from within kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erik Mouw schrieb:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

On Mon, May 14, 2007 at 03:39:00PM +0200, Lars K.W. Gohlke wrote:
My idea is to read it in kernel space the same way like in user-space
with 'cat dev/ttyS01'.

Don't. The fact that you're trying to read files or devices from
kernelspace shows that you're trying to solve a problem the wrong way.
What is it the problem you're trying to solve?

But I dont know how.

There is no safe way to do it.


Erik

- --
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGSHCW/PlVHJtIto0RAqo9AJ4/G2T3g0erZMf8iJeoSni9kzaQkwCfQo7H
DyYxQwgBD50rYOXLtCkhWsU=
=WBZZ
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



k, got it.

I'm learning to write kernel modules.

So I want to learn either how to communicate with other devices in
kernel space.

So the easiest way to do so is trying it with serial port, I thought.

So I dont know where to start etc..
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - GPGrelay v0.959

iD8DBQFGSHSLAAomYJ1taN8RAqciAKC6P8ohb87+QS1SQTtfBODs6S2BgACgv9lb
Kbjgs3qMuXy7yIcVmGArcl8=
=pBla
-----END PGP SIGNATURE-----
begin:vcard
fn:Lars K.W. Gohlke
n:Gohlke;Lars K.W.
email;internet:lkwg82@xxxxxx
x-mozilla-html:FALSE
version:2.1
end:vcard


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux