Re: How to access correctly serial port inside module?

From: Tilman Schmidt
Date: Tue May 22 2007 - 17:52:19 EST


Am 17.05.2007 08:15 schrieb huang ying:
> I think the "serio" (through drivers/input/serio/serport.c) may be a
> choice too, like that in linux/drivers/input/mouse/sermouse.c, which
> is an example to program serial port in kernel space.

Interesting. I wonder if that would have been a better choice for
the Gigaset M101 driver. It seems even to have a probe mechanism
so one could try to determine if the expected device is really
connected to the port.

Is there any documentation on this interface? I find the source a
bit hard to understand, sparsely commented as it is.

Thanks
Tilman

--
Tilman Schmidt E-Mail: tilman@xxxxxxx
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
UngeÃffnet mindestens haltbar bis: (siehe RÃckseite)

Attachment: signature.asc
Description: OpenPGP digital signature