Comment 168 for bug 606238

Revision history for this message
Vreixo Formoso (metalpain2002) wrote : Re: synaptic touchpad not recognized on dell latitude e6510 and others

I have been testing last Dave driver on my Inspiron 17R SE. First, I have change the line added by Dave on alps_model_data to

    { { 0x73, 0x03, 0x50 }, 0x02, ALPS_PROTO_V6, 0xc8, 0xc8, 0 },

because the command mode resp for my touchpad is 0x02 and ALPS_DUALPOINT flag makes no sense as this touchpad has not trackstick.

After loading the module, it seems the touchpad is detected:

psmouse serio1: alps: E6 report: 00 00 64
psmouse serio1: alps: E7 report: 73 03 50
psmouse serio1: alps: alps_enter_command_mode: 73 02 02
psmouse serio1: alps: ver=5, rsp=02
psmouse serio1: alps: E6 report: 00 00 64
psmouse serio1: alps: E7 report: 73 03 50
psmouse serio1: alps: alps_enter_command_mode: 73 02 02
psmouse serio1: alps: ver=5, rsp=02
psmouse serio1: alps: ID 0: 00
psmouse serio1: alps: 00 00 64: 00 00 64
psmouse serio1: alps: ID 0: 00
psmouse serio1: alps: 2-ID 0: c8
psmouse serio1: alps: 73 03 50: 73 03 50
psmouse serio1: alps: alps_enter_command_mode: 73 02 02
psmouse serio1: alps: Addr ec
psmouse serio1: alps: 0x0008=02
psmouse serio1: alps: Match bf 1a 04: bf 01 50
psmouse serio1: alps: Match 89 95 84: 78 79 7b
psmouse serio1: alps: alps_enter_command_mode: 73 02 02
psmouse serio1: alps: alps_init: keybit=159FD030
input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input18
psmouse serio1: alps: alps_init: success
input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input19

But it bothers me that both a PS/2 mouse and the AlpsPS/2 touchpad are detected. What is the reason for that? Any ideas?

In any case, the touchpad does not work. However, when I touch the touchpad the events are received by the driver and logged:

psmouse serio1: alps: d: c8 4c 3e 8 24 11 = 588 318 17
psmouse serio1: alps: d: c8 4c 3e 8 24 11 = 588 318 17

x, y and z values make sense according to how I press the touchpad, so the packet format seems similar. However, the mouse pointer doesn't move on the screen, and clicks in the touchpad buttons are not logged.
I guess there is some trouble with the initialization sequence, maybe it is different for my touchpad.

For completeness, I paste here the related X logs, if you have any idea about how to fix this I would be glad to test it. I would like to use the virtual machine stuff to reverse engineering the initialization sequence, but I have no time right now.

[ 1626.447] (II) config/udev: Adding input device PS/2 Mouse (/dev/input/mouse1)
[ 1626.447] (II) No input driver specified, ignoring this device.
[ 1626.447] (II) This device may have been added with another device file.
[ 1626.448] (II) config/udev: Adding input device PS/2 Mouse (/dev/input/event13)
[ 1626.448] (**) PS/2 Mouse: Applying InputClass "evdev pointer catchall"
[ 1626.448] (II) Using input driver 'evdev' for 'PS/2 Mouse'
[ 1626.448] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1626.448] (**) PS/2 Mouse: always reports core events
[ 1626.448] (**) evdev: PS/2 Mouse: Device: "/dev/input/event13"
[ 1626.448] (--) evdev: PS/2 Mouse: Vendor 0x2 Product 0x8
[ 1626.448] (--) evdev: PS/2 Mouse: Found 3 mouse buttons
[ 1626.448] (--) evdev: PS/2 Mouse: Found relative axes
[ 1626.448] (--) evdev: PS/2 Mouse: Found x and y relative axes
[ 1626.448] (II) evdev: PS/2 Mouse: Configuring as mouse
[ 1626.448] (**) evdev: PS/2 Mouse: YAxisMapping: buttons 4 and 5
[ 1626.448] (**) evdev: PS/2 Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 1626.448] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input18/event13"
[ 1626.448] (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE, id 14)
[ 1626.449] (II) evdev: PS/2 Mouse: initialized for relative axes.
[ 1626.449] (**) PS/2 Mouse: (accel) keeping acceleration scheme 1
[ 1626.449] (**) PS/2 Mouse: (accel) acceleration profile 0
[ 1626.449] (**) PS/2 Mouse: (accel) acceleration factor: 2.000
[ 1626.449] (**) PS/2 Mouse: (accel) acceleration threshold: 4
[ 1626.462] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse2)
[ 1626.462] (**) AlpsPS/2 ALPS GlidePoint: Ignoring device from InputClass "touchpad ignore duplicates"
[ 1626.462] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event14)
[ 1626.462] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchpad catchall"
[ 1626.462] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "touchpad catchall"
[ 1626.462] (II) Using input driver 'synaptics' for 'AlpsPS/2 ALPS GlidePoint'
[ 1626.462] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 1626.462] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[ 1626.462] (**) Option "Device" "/dev/input/event14"
[ 1626.672] (II) synaptics: AlpsPS/2 ALPS GlidePoint: ignoring touch events for semi-multitouch device
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: x-axis range 0 - 1360
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: y-axis range 0 - 660
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: pressure range 0 - 127
[ 1626.672] (II) synaptics: AlpsPS/2 ALPS GlidePoint: device does not report finger width.
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: buttons: left right middle double triple
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: Vendor 0x2 Product 0x8
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: invalid finger width range. defaulting to 0 - 15
[ 1626.672] (--) synaptics: AlpsPS/2 ALPS GlidePoint: touchpad found
[ 1626.672] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[ 1626.676] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input19/event14"
[ 1626.676] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD, id 16)
[ 1626.676] (**) synaptics: AlpsPS/2 ALPS GlidePoint: (accel) MinSpeed is now constant deceleration 2.5
[ 1626.676] (**) synaptics: AlpsPS/2 ALPS GlidePoint: MaxSpeed is now 1.75
[ 1626.676] (**) synaptics: AlpsPS/2 ALPS GlidePoint: AccelFactor is now 0.132
[ 1626.676] (**) AlpsPS/2 ALPS GlidePoint: (accel) keeping acceleration scheme 1
[ 1626.677] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration profile 1
[ 1626.677] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
[ 1626.677] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[ 1626.677] (--) synaptics: AlpsPS/2 ALPS GlidePoint: touchpad found

Regards
Vreixo