Re: Synaptics touchpad + external mouse with Linux 2.6?

From: Craig Bradney
Date: Sun Mar 21 2004 - 19:51:56 EST


On Sun, 2004-03-21 at 23:52, Krzysztof Halasa wrote:
> Hi,
>
> I have a notebook PC (an old Fujitsu-Siemens Liteline, celeron 600 etc)
> with a Synaptics touchpad:
>
> Synaptics Touchpad, model: 1
> Firmware: 4.6
> Sensor: 19
> new absolute packet format
> Touchpad has extended capability bits
> -> multifinger detection
> -> palm detection
> input: SynPS/2 Synaptics TouchPad on isa0060/serio1
>
> This notebook has external mouse+keyboard connector. Is it possible to
> have both the touchpad and the external mouse simultaneously active in
> their native modes? The hardware (keyboard controller) doesn't seem to
> support the active multiplexing mode (by Synaptics and others):
>
> drivers/input/serio/i8042.c: d3 -> i8042 (command) [3]
> drivers/input/serio/i8042.c: f0 -> i8042 (parameter) [3]
> drivers/input/serio/i8042.c: 0f <- i8042 (return) [3]
> drivers/input/serio/i8042.c: d3 -> i8042 (command) [3]
> drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [3]
> drivers/input/serio/i8042.c: a9 <- i8042 (return) [3]
> drivers/input/serio/i8042.c: d3 -> i8042 (command) [3]
> drivers/input/serio/i8042.c: a4 -> i8042 (parameter) [3]
> drivers/input/serio/i8042.c: 5b <- i8042 (return) [3]
>
> It looks the keyboard controller just forwards all data from both
> devices. I can set them (i.e. Linux and XFree86 driver) to IM PS/2 mode
> and they will both work (Linux treats them as one device), but I can't
> use touchpad's special features.
>
> I was thinking about setting them to IM PS/2 mode first (both would go
> IM PS/2) then switching to Synaptics mode (the mouse should ignore it).
> On the receiving side, I could check if the packet is valid for IM or
> Synaptics mode and pass it to the respective driver. Not sure if the
> keyboard controller is fully transparent, though - it could be changing
> data as outlined in the Synaptics PS2-MUX paper ("legacy hidden
> multiplexing").
>
> If I set Linux to Synaptics mode (i.e. modprobe psmouse without any
> parameters), I can't use the external mouse as it produces 3-byte
> packets by default (the kernel = synaptics.c prints "Synaptics driver
> lost sync at byte 1").
>
> What do you think?

Hmm would be a nice thing to have both running "how they
should/natively". I have IMPS/2 set and am running the touchpad with a
usb logitech notebook mouse on a Siemens Amilo D7830.

Craig

Attachment: signature.asc
Description: This is a digitally signed message part