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

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


[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