Bug#858783: Synaptics Touchpad of Thinkpad X230 not working correctly with Kernel 4.9

2017-03-31 Thread Florian Roth
Hi Ben,

please find attached the log for both kernel sessions.

- Florian
4.8.0.2

/var/log/messages:Mar 31 23:17:57 hyperion kernel: [1.446451] mousedev: PS/2 mouse device common for all mice
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [1.448904] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [2.412204] psmouse serio1: synaptics: queried max coordinates: x [..5768], y [..5062]
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [2.442767] psmouse serio1: synaptics: queried min coordinates: x [1174..], y [790..]
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [2.503375] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd002a3/0x940300/0x123800/0x0, board id: 1611, fw id: 1099905
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [2.503393] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [2.541149] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input2
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [3.177267] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [3.373142] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input3
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.352453] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input4
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.353482] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.353553] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input6
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.389425] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input7
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.455365] snd_hda_codec_realtek hdaudioC0D0:inputs:
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.459657] input: PC Speaker as /devices/platform/pcspkr/input/input9
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.826066] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input14
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.840549] input: HDA Digital PCBeep as /devices/pci:00/:00:1b.0/sound/card0/input8
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841303] input: HDA Intel PCH Mic as /devices/pci:00/:00:1b.0/sound/card0/input10
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841371] input: HDA Intel PCH Dock Mic as /devices/pci:00/:00:1b.0/sound/card0/input11
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841435] input: HDA Intel PCH Headphone as /devices/pci:00/:00:1b.0/sound/card0/input12
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841498] input: HDA Intel PCH Dock Headphone as /devices/pci:00/:00:1b.0/sound/card0/input13
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841560] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci:00/:00:1b.0/sound/card0/input15
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841620] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci:00/:00:1b.0/sound/card0/input16
/var/log/messages:Mar 31 23:17:57 hyperion kernel: [   17.841679] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci:00/:00:1b.0/sound/card0/input17

4.9.0.2

/var/log/messages:Mar 31 23:11:22 hyperion kernel: [1.754679] mousedev: PS/2 mouse device common for all mice
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [1.757340] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [2.837985] input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input2
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.360314] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.360740] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.360810] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.403135] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input6
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.458507] input: PC Speaker as /devices/platform/pcspkr/input/input7
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.464125] snd_hda_codec_realtek hdaudioC0D0:inputs:
/var/log/messages:Mar 31 23:11:22 hyperion kernel: [   22.743807] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input13
/var/log/mes

Bug#858783: Synaptics Touchpad of Thinkpad X230 not working correctly with Kernel 4.9

2017-03-29 Thread Ben Hutchings
Control: tag -1 moreinfo

On Sun, 2017-03-26 at 21:00 +0200, Florian Roth wrote:
> Package: linux-image-4.9.0-2-amd64
> Version: 4.9.13-1
> 
> The synaptics touchpad of my X230 thinkpad stopped working as expected
> after upgrading to kernel 4.9.
> All the "touchpad features" are lost and it operates in generic
> pointing device mode. (no tap, no two finger scrolling, no two finger
> tap right click)
> 
> I compared the output of /var/log/Xorg.0.log in both versions:
[...]

We need the kernel log for a kernel bug report.  This should find the
relevant messages:

sudo zgrep -Ei  'kernel:.*(input|mouse|synaptics)' /var/log/messages*

Ben.

-- 
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
   - Albert
Einstein


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


Bug#858783: Synaptics Touchpad of Thinkpad X230 not working correctly with Kernel 4.9

2017-03-26 Thread Florian Roth
Package: linux-image-4.9.0-2-amd64
Version: 4.9.13-1

The synaptics touchpad of my X230 thinkpad stopped working as expected
after upgrading to kernel 4.9.
All the "touchpad features" are lost and it operates in generic
pointing device mode. (no tap, no two finger scrolling, no two finger
tap right click)

I compared the output of /var/log/Xorg.0.log in both versions:

root@hyperion:/home/neo# cat Xorg_4.8.txt | grep "Synaptics"
[15.008] (II) config/udev: Adding input device SynPS/2 Synaptics
TouchPad (/dev/input/event1)
[15.008] (**) SynPS/2 Synaptics TouchPad: Applying InputClass
"libinput touchpad catchall"
[15.008] (**) SynPS/2 Synaptics TouchPad: Applying InputClass
"Flos touchpad"
[15.009] (II) Using input driver 'synaptics' for 'SynPS/2
Synaptics TouchPad'
[15.009] (**) SynPS/2 Synaptics TouchPad: always reports core events
[15.056] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range
1174 - 5768 (res 65)
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range
790 - 5062 (res 100)
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width
range 0 - 15
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left
double triple
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[15.056] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[15.056] (**) SynPS/2 Synaptics TouchPad: always reports core events
[15.100] (II) XINPUT: Adding extended input device "SynPS/2
Synaptics TouchPad" (type: TOUCHPAD, id 10)
[15.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel)
MinSpeed is now constant deceleration 2.5
[15.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel)
MaxSpeed is now 1.75
[15.100] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel)
AccelFactor is now 0.032
[15.100] (**) SynPS/2 Synaptics TouchPad: (accel) keeping
acceleration scheme 1
[15.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[15.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[15.100] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[15.100] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[15.101] (II) config/udev: Adding input device SynPS/2 Synaptics
TouchPad (/dev/input/mouse0)
[15.101] (**) SynPS/2 Synaptics TouchPad: Applying InputClass
"Flos touchpad"
[15.101] (II) Using input driver 'synaptics' for 'SynPS/2
Synaptics TouchPad'
[15.101] (**) SynPS/2 Synaptics TouchPad: always reports core events
[15.136] (EE) synaptics: SynPS/2 Synaptics TouchPad: Synaptics
driver unable to detect protocol
[15.136] (EE) PreInit returned 11 for "SynPS/2 Synaptics TouchPad"

root@hyperion:/home/neo# cat Xorg_4.9.txt | grep "Synaptics"
[14.529] (II) config/udev: Adding input device PS/2 Synaptics
TouchPad (/dev/input/event1)
[14.529] (**) PS/2 Synaptics TouchPad: Applying InputClass
"libinput pointer catchall"
[14.529] (II) Using input driver 'libinput' for 'PS/2 Synaptics TouchPad'
[14.529] (**) PS/2 Synaptics TouchPad: always reports core events
[14.529] (II) input device 'PS/2 Synaptics TouchPad',
/dev/input/event1 is tagged by udev as: Mouse
[14.529] (II) input device 'PS/2 Synaptics TouchPad',
/dev/input/event1 is a pointer caps
[14.608] (II) XINPUT: Adding extended input device "PS/2 Synaptics
TouchPad" (type: MOUSE, id 10)
[14.608] (**) PS/2 Synaptics TouchPad: (accel) selected scheme none/0
[14.608] (**) PS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[14.608] (**) PS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[14.608] (II) input device 'PS/2 Synaptics TouchPad',
/dev/input/event1 is tagged by udev as: Mouse
[14.608] (II) input device 'PS/2 Synaptics TouchPad',
/dev/input/event1 is a pointer caps
[14.609] (II) config/udev: Adding input device PS/2 Synaptics
TouchPad (/dev/input/mouse0)


The following Xorg config is what I use with 4.8 successfully and
doesn't work anymore with kernel 4.9
My preliminary error analysis: the "MatchIsTouchpad" instruction
doesn't work anymore, because the device is detected as "mouse" with
Kernel 4.9.
BUT - removing that line and using the "MatchDevicePath" with the
"event1" input device (see commented line below) doesn't help.

root@hyperion:~# cat /usr/share/X11/xorg.conf.d/50-touchpad.conf
Section "InputClass"
Identifier "Flos touchpad"
# MatchDevicePath "/dev/input/event1"
MatchIsTouchpad "on"
Driver "synaptics"
Option "Tapping" "on"
Option "TappingButtonMap" "lrm"
Option "VertScrollDelta" "-111"
Option "HorizScrollDelta" "-111"
Option "HorizTwoFingerScroll" "true"
Option "TapButton1" "1"
Option "TapButton2" "3"
EndSection


- Thanks for your help

Florian