Re: serio interface

From: Lars K.W. Gohlke
Date: Wed Jun 06 2007 - 07:36:39 EST


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

Jan-Benedict Glaw schrieb:
On Wed, 2007-06-06 12:52:13 +0200, Lars K.W. Gohlke <lkwg82@xxxxxx> wrote:
Jan-Benedict Glaw schrieb:
On Wed, 2007-06-06 12:39:17 +0200, Lars K.W. Gohlke <lkwg82@xxxxxx> wrote:
Jan-Benedict Glaw schrieb:
OTOH, why do you want to do the serial stuff in kernel land? Isn't it
a *lot* easier to do it in userspace? What's your specific device you
want to work on?
You didn't actually answer any of my questions.

sorry.

I want to use the interface aka /dev/ttyS0.
I want to process data inside of a kernel module to provide it /proc
(done) or as own char-dev (done).

but I can not grab the data.

It is part of my project in my studies.

It is more a conceptual work, but important. I want to release a howto,
when I complete.

You still answer unasked questions. Please answer inline:

* Why do you wanto to do the serial stuff in kernel land?
It is more a conceptual work, but important. I want to release a howto,
when I complete.

* Isn't it easier to do it in userspace?
yes

* What specific device do you work on?
I want to use the interface aka /dev/ttyS0. (text-stream)

* New: Is it a wise idea to do it in kernel land?
no, explicitly not. To get known hwo to deal with data from devices.

The /proc filesystem has been somewhat obsoleted in favour of sysfs
for device/driver information.


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

iD8DBQFGZpw/AAomYJ1taN8RAspMAKDKXxTysCIJ/IF0DcTpdlKRqjW+AwCgjxt+
5HY6RFy2LpUaT6q95U2PgdQ=
=V+MM
-----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