Re: Liyitec PS/2 touch panel driver [PATCH]

From: Shaun Jackman
Date: Wed Feb 01 2006 - 19:58:41 EST


On 1/31/06, Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx> wrote:
> Hi Shaun,
>
> Thank you for adding support for the new touchscreen, however I have a
> couple of questions:
>
> What stops this driver form binding to serio ports that have devices other
> that Liyitec touchscreen connected to them? Such as keyboard port when
> keyboard works in non-translated mode or regular AUX port with standard
> PS/2 mouse?

Nothing is preventing it from seizing other PS/2 ports, as far as I
know. I believe it's working for me right now because the keyboard
grabs the keyboard PS/2 port first, and then the liyitec driver grabs
the rest of the ports, which, in my case, is only the psaux port which
is connected to the liyitec screen.

> Is there a way to query for presence of the touchscreen?

I'm not sure. I'll find out what the touchscreen's response to the
PS/2 GETID command is.

> Moreover this driver should be integrated into psmouse so proper protocol
> is selected automatically.

In a private mail to me, Vojtech Pavlik pointed out that lifebook.c is
a PS/2 touch screen that does exactly this, and in only 136 lines of
code. I'll see if I can adapt my existing serio driver to be a psmouse
driver.

Thanks for your comments, Dmitry. Cheers,
Shaun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/