Messages in this thread | | | Date | Wed, 06 Jun 2007 12:39:17 +0200 | From | "Lars K.W. Gohlke" <> | Subject | Re: serio interface |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jan-Benedict Glaw schrieb: > On Wed, 2007-06-06 11:34:49 +0200, Lars K.W. Gohlke <lkwg82@gmx.de> wrote: >> Jan-Benedict Glaw schrieb: >>> On Wed, 2007-06-06 11:11:23 +0200, Lars K.W. Gohlke <lkwg82@gmx.de> wrote: >>>> wouldsomebody explain me the serio interface or give me a code link for >>>> very simple example. >>> What do you want to do with it? Do you want on the serial port side, >>> or on the mouse/keyboard/gadget side? See for example the various >>> serial keyboards and mice drivers. >> I want on the kernelside process data from first uart-hardware interface >> aka ttyS0. >> >> I don't understand the structure of e.g. input/mouse/sermouse.c >> >> where is said, which hardware is used for reading data from? > > I'm not entirely sure, but I guess that most of the time, you assign a > serial port with the help of `inputattach' to a given device driver, > which expects to find its hardware on that port. > > 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? > > MfG, JBG >
if you want to write a driver, there must be a possibility to get the data, like others do. (kernel-space)
I want to know where I can get and how to do.
At least I want to be able to copy the data from device to another (maybe own).
It is to get familiar with that.
thx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) - GPGrelay v0.959
iD8DBQFGZo7XAAomYJ1taN8RAgdAAJ0f1PilbuuwK8USjfLIDDGR1bPB3QCfdxmn 16d7ERDrASzpOYomyjs80rM= =ZnRu -----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
| |