Skip to contentSkip to conversation

2.5 input drivers Synaptics touchpad

DISCUSSION Ralf Gerbig 2 participants 4 messages Oct 2, 2002

lore
Share & tools
lore
#0 lore raw

Hi Vojtech,

I just tried 2.5.40 and could not get the Synaptics touchpad on an Acer Travelmate 353 to work with either the synaptics driver for XFree at http://www.mobilix.org/software/synaptics/ or tpconfig at
http://www.compass.com/synaptics/ gpm also does not like the synps2 protocol. Works as (im)ps/2 though.

I have tried with and without CONFIG_INPUT_MOUSE and CONFIG_MOUSE_PS2 using /dev/psaux and /dev/input/mice.

Below is the debug output of tpconfig on 2.4.18 with the 2.5.40 differences on the right:

putbyte: write 0xe6
PS2_write: 1 bytes
PS2_write: 0xe6
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe9
PS2_write: 1 bytes
PS2_write: 0xe9
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
PS2_read: 1 bytes
PS2_read: 0x6                   PS2_read: 0x60
PS2_read: read 1
ps2_read_byte: read 0x6         ps2_read_byte: read 0x60
PS2_read: 1 bytes
PS2_read: 0x47                  PS2_read: 0x3
PS2_read: read 1
ps2_read_byte: read 0x47        ps2_read_byte: read 0x3
PS2_read: 1 bytes
PS2_read: 0x14                  PS2_read: 0xc8
PS2_read: read 1
ps2_read_byte: read 0x14        ps2_read_byte: read 0xc8

Found Synaptics Touchpad. sorry nope ;)
putbyte: write 0xe6 putbyte: write 0xe7
PS2_write: 1 bytes
PS2_write: 0xe6 PS2_write: 0xe7
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
...
...
[query 00 => 0x6 0x47 0x14] [query 00 => 0x60 0x3 0xc8]
fatal:

#1 lore raw
Quoted 10 lines · Ralf Gerbig

Hi Vojtech,

I just tried 2.5.40 and could not get the Synaptics touchpad on an Acer Travelmate 353 to work with either the synaptics driver for XFree at http://www.mobilix.org/software/synaptics/ or tpconfig at
http://www.compass.com/synaptics/ gpm also does not like the synps2 protocol. Works as (im)ps/2 though.

I have tried with and without CONFIG_INPUT_MOUSE and CONFIG_MOUSE_PS2 using /dev/psaux and /dev/input/mice.

Yes, for 2.5 I still have to write a synaptics touchpad kernel driver for it to work properly.

Quoted 108 lines

Below is the debug output of tpconfig on 2.4.18 with the 2.5.40 differences on the right:

putbyte: write 0xe6
PS2_write: 1 bytes
PS2_write: 0xe6
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe8
PS2_write: 1 bytes
PS2_write: 0xe8
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 00
PS2_write: 1 bytes
PS2_write:  0
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
putbyte: write 0xe9
PS2_write: 1 bytes
PS2_write: 0xe9
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
PS2_read: 1 bytes
PS2_read: 0x6                   PS2_read: 0x60
PS2_read: read 1
ps2_read_byte: read 0x6         ps2_read_byte: read 0x60
PS2_read: 1 bytes
PS2_read: 0x47                  PS2_read: 0x3
PS2_read: read 1
ps2_read_byte: read 0x47        ps2_read_byte: read 0x3
PS2_read: 1 bytes
PS2_read: 0x14                  PS2_read: 0xc8
PS2_read: read 1
ps2_read_byte: read 0x14        ps2_read_byte: read 0xc8

Found Synaptics Touchpad. sorry nope ;)
putbyte: write 0xe6 putbyte: write 0xe7
PS2_write: 1 bytes
PS2_write: 0xe6 PS2_write: 0xe7
PS2_write: done
PS2_read: 1 bytes
PS2_read: 0xfa
PS2_read: read 1
ps2_read_byte: read 0xfa
...
...
[query 00 => 0x6 0x47 0x14] [query 00 => 0x60 0x3 0xc8]
fatal:

Signature · 2 lines
Vojtech Pavlik
SuSE Labs
#2 lore raw

Hi Vojtech,

Am Mittwoch, 2. Oktober 2002 20:44 schrieb Vojtech Pavlik:

Quoted 11 lines · Ralf Gerbig
Quoted 7 lines

Hi Vojtech,

I just tried 2.5.40 and could not get the Synaptics touchpad on an Acer Travelmate 353 to work with either the synaptics driver for XFree at http://www.mobilix.org/software/synaptics/ or tpconfig at
http://www.compass.com/synaptics/ gpm also does not like the synps2 protocol. Works as (im)ps/2 though.

Yes, for 2.5 I still have to write a synaptics touchpad kernel driver for it to work properly.

is there any kind of 'raw' psaux interface to those userspace drivers? looks to me as a, at least stopgap, solution. With the disclamer that I know nothing about the interface or the kernel, but i've read the mantra 'userspace' many times (for values of userspace as in X and gpm).

Thanks,

Ralf

#3 lore raw
Quoted 12 lines · Ralf Gerbig

Hi Vojtech,

Am Mittwoch, 2. Oktober 2002 20:44 schrieb Vojtech Pavlik:

Quoted 8 lines · Ralf Gerbig
Quoted 7 lines

Hi Vojtech,

I just tried 2.5.40 and could not get the Synaptics touchpad on an Acer Travelmate 353 to work with either the synaptics driver for XFree at http://www.mobilix.org/software/synaptics/ or tpconfig at
http://www.compass.com/synaptics/ gpm also does not like the synps2 protocol. Works as (im)ps/2 though.

Quoted 7 lines
Quoted 2 lines

Yes, for 2.5 I still have to write a synaptics touchpad kernel driver for it to work properly.

is there any kind of 'raw' psaux interface to those userspace drivers? looks to me as a, at least stopgap, solution. With the disclamer that I know nothing about the interface or the kernel, but i've read the mantra 'userspace' many times (for values of userspace as in X and gpm).

No, there isn't, but it should not be too hard to implement. Maybe easier than a synaptics driver, but not really much easier.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs