Showing results for 
Search instead for 
Do you mean 
Reply
Punch Card
Posts: 27
Registered: ‎06-18-2017
Location: AT
Message 111 of 196 (413 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

thx for the additional info teehaa, it seems that your output got cutoff, could you please run following command to see if the legacy synaptics drivers are installed:

 

 

dpkg-query -l 'xserver-xorg-input-synaptics'

if they are could you try to uninstall them via:

 

 

 

sudo apt-get remove xserver-xorg-input-synaptics

 as far as I remember it does not play along nicely with libinput, additionally it would be great if you could add the boot options which I mentioned in a previous post. 

Fanfold Paper
Posts: 6
Registered: ‎08-14-2017
Location: VN
Message 112 of 196 (554 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

Not sure why my post got removed without any notification ???
So I'm gonna post it again

I have set the kernel parameter as @rgba said and here's the result:

Ubuntu version: GNOME 17.04
X1C model: 20HR

 

#:~ dmesg | grep -E 'psmouse|rmi4|touch' 

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=4dc6269b-69ad-4b34-b7ab-c87e38f2b315 ro quiet splash psmouse.synaptics_intertouch=1 vt.handoff=7
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=4dc6269b-69ad-4b34-b7ab-c87e38f2b315 ro quiet splash psmouse.synaptics_intertouch=1 vt.handoff=7
[    4.009610] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4760]
[    4.041994] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[    4.041995] psmouse serio1: synaptics: Trying to set up SMBus access
[    4.044832] psmouse serio1: synaptics: SMbus companion is not ready yet
[    4.107988] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2b1, caps: 0xf002a3/0x940300/0x12e800/0x400000, board id: 3289, fw id: 2492434
[    4.107995] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0


#:~ dpkg-query -l 'xserver-xorg-input*'

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                            Version                      Architecture                 Description
+++-===============================================-============================-============================-===================================================================================================
un  xserver-xorg-input-all                          <none>                       <none>                       (no description available)
un  xserver-xorg-input-evtouch                      <none>                       <none>                       (no description available)
ii  xserver-xorg-input-libinput                     0.25.0-0ubuntu1              amd64                        X.Org X server -- libinput input driver

I also attached the dmesg log file below, please take a look Smiley Happy

SCSI Port
Posts: 39
Registered: ‎07-20-2017
Location: DE
Message 113 of 196 (542 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

[ Edited ]

I could uninstall synaptics. My ouputs are

 

mesg | grep -E 'psmouse|rmi4|touch' 
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=f3495aa2-a310-4eb0-8dd5-940ef2d70ecb ro quiet splash vt.handoff=7 psmouse.synaptics_intertouch=1
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=f3495aa2-a310-4eb0-8dd5-940ef2d70ecb ro quiet splash vt.handoff=7 psmouse.synaptics_intertouch=1
:~$ dpkg-query -l 'xserver-xorg-input*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                            Version                      Architecture                 Description
+++-===============================================-============================-============================-===================================================================================================
un  xserver-xorg-input                              <none>                       <none>                       (no description available)
un  xserver-xorg-input-2                            <none>                       <none>                       (no description available)
un  xserver-xorg-input-2.1                          <none>                       <none>                       (no description available)
un  xserver-xorg-input-4                            <none>                       <none>                       (no description available)
un  xserver-xorg-input-7                            <none>                       <none>                       (no description available)
un  xserver-xorg-input-all                          <none>                       <none>                       (no description available)
un  xserver-xorg-input-all-hwe-16.04                <none>                       <none>                       (no description available)
ii  xserver-xorg-input-evdev                        1:2.10.1-1ubuntu2            amd64                        X.Org X server -- evdev input driver
un  xserver-xorg-input-evtouch                      <none>                       <none>                       (no description available)
un  xserver-xorg-input-joystick                     <none>                       <none>                       (no description available)
ii  xserver-xorg-input-libinput                     0.18.0-1ubuntu0.1            amd64                        X.Org X server -- libinput input driver
ii  xserver-xorg-input-mtrack                       0.3.1-1build1                amd64                        Multitouch X input driver
un  xserver-xorg-input-multitouch                   <none>                       <none>                       (no description available)
un  xserver-xorg-input-synaptics                    <none>                       <none>                       (no description available)
un  xserver-xorg-input-tslib                        <none>                       <none>                       (no description available)
ii  xserver-xorg-input-vmmouse                      1:13.1.0-1ubuntu2            amd64                        X.Org X server -- VMMouse input driver to use with VMWare
un  xserver-xorg-input-vmmouse-hwe-16.04            <none>                       <none>                       (no description available)
ii  xserver-xorg-input-wacom                        1:0.32.0-0ubuntu3            amd64                        X.Org X server -- Wacom input driver
un  xserver-xorg-input-wacom-hwe-16.04              <none>                       <none>                       (no description available)

log attached

Punch Card
Posts: 27
Registered: ‎06-18-2017
Location: AT
Message 114 of 196 (515 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

I've uploaded a newer kernel version which should now map the device id for the touchpads with id "LEN0072"

 

github.com/rgba/ubuntu-linux-kernel-4.12.7-custom

 

Could you please try out this new kernel and post the dmesg output

 

@teehaa: it seems that something is still preventing that you are using the correct synaptics kernel driver, based on your last output could you please uninstall the following library

 

xserver-xorg-input-evdev 

as this should no longer be needed when using libinput.

 

One more question, does your touchpad input work at all?  

 

@xclusive: thanks for trying out the kernel parameter, the log now shows that the kernel is trying the new protocol, can you please try it with the new kernel which I just uploaded

 

Fanfold Paper
Posts: 6
Registered: ‎08-14-2017
Location: VN
Message 115 of 196 (491 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

I install the newer kernel version

#:~ » dmesg | grep -E 'psmouse|rmi4|touch' 
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=4dc6269b-69ad-4b34-b7ab-c87e38f2b315 ro quiet splash psmouse.synaptics_intertouch=1 vt.handoff=7
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=4dc6269b-69ad-4b34-b7ab-c87e38f2b315 ro quiet splash psmouse.synaptics_intertouch=1 vt.handoff=7
[    3.209442] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    3.995527] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4760]
[    4.027632] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[    4.027633] psmouse serio1: synaptics: Trying to set up SMBus access
[    4.027636] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030531] psmouse serio1: synaptics: SMbus companion is not ready yet
[    4.030533] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030535] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030535] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030536] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030537] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030538] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030538] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.030539] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.093170] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2b1, caps: 0xf002a3/0x940300/0x12e800/0x400000, board id: 3289, fw id: 2492434
[    4.093175] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0072 PNP0f13 *****
[    4.093178] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0



compressed log file attached below

SCSI Port
Posts: 39
Registered: ‎07-20-2017
Location: DE
Message 116 of 196 (472 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux


rgba wrote:

I've uploaded a newer kernel version which should now map the device id for the touchpads with id "LEN0072"

 

github.com/rgba/ubuntu-linux-kernel-4.12.7-custom

 

Could you please try out this new kernel and post the dmesg output

 

@teehaa: it seems that something is still preventing that you are using the correct synaptics kernel driver, based on your last output could you please uninstall the following library

 

xserver-xorg-input-evdev 

as this should no longer be needed when using libinput.

 

One more question, does your touchpad input work at all? 


Yes, the touchpad works fully in Win and mostly in Ubuntu. The only thing I am really missing is two-finger scrolling.

Something changed but it's still "PS/2 Synaptics TouchPad":

dmesg | grep -E 'psmouse|rmi4|touch' 
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=f3495aa2-a310-4eb0-8dd5-940ef2d70ecb ro quiet splash vt.handoff=7 psmouse.synaptics_intertouch=1
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=f3495aa2-a310-4eb0-8dd5-940ef2d70ecb ro quiet splash vt.handoff=7 psmouse.synaptics_intertouch=1
[    3.386037] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 *****
herfurtht@Lenovo:~$ xinput 
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PS/2 Synaptics TouchPad                 	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=9	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=11	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=12	[slave  keyboard (3)]

dmesg attached

Punch Card
Posts: 27
Registered: ‎06-18-2017
Location: AT
Message 117 of 196 (458 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

@xclusive: could it be that you have the Alps touchpad installed in your laptop? Your's is working right?

 

@theehaa: we are getting a little bit closer to figuring out why it's not working on your laptop, at least now we know that you got the same touchpad as I do, I think I need to add some more debug logging to the code so we can pin point why it is still falling back to the PS/2 mode. I will update the thread once I have a new kernel version compiled. 

Punch Card
Posts: 27
Registered: ‎06-18-2017
Location: AT
Message 118 of 196 (440 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

@teehaa: could you please add following kernel parameter to the boot options: 

 

 

i8042.nomux=1 i8042.reset

 

I do have this set on my machine, but I do not remember if this actually did anything but at least it is worth a try. Please post the output of dmesg again.  

 

SCSI Port
Posts: 39
Registered: ‎07-20-2017
Location: DE
Message 119 of 196 (430 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

~$ dmesg | grep -E 'psmouse|rmi4|touch' 
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=f3495aa2-a310-4eb0-8dd5-940ef2d70ecb ro quiet splash vt.handoff=7 psmouse.synaptics_intertouch=1 i8042.nomux=1 i8042.reset
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.7-custom root=UUID=f3495aa2-a310-4eb0-8dd5-940ef2d70ecb ro quiet splash vt.handoff=7 psmouse.synaptics_intertouch=1 i8042.nomux=1 i8042.reset
[    3.380845] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 *****

~$ xinput 
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PS/2 Synaptics TouchPad                 	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ AT Raw Set 2 keyboard                   	id=9	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=11	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=12	[slave  keyboard (3)]
Fanfold Paper
Posts: 7
Registered: ‎05-15-2017
Location: GB
Message 120 of 196 (425 Views)

Re: Thinkpad X1 Carbon 2017 Gen5 Touchpad Issue - Linux

I was wrong about LEN0072, its LEN0073. I tried adding

psmouse.synaptics_intertouch=1

to my boot options but it didnt help.

 

Here is the output of

 

$ dmesg | grep -E 'psmouse|rmi4|touch'
[ 2.942652] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.756077] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758] [ 3.791638] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..] [ 3.791640] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.791643] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.791643] psmouse serio1: synaptics: Trying to set up SMBus access [ 3.791644] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794736] psmouse serio1: synaptics: SMbus companion is not ready yet [ 3.794739] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794740] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794741] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794742] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794742] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794743] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794743] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.794744] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.863162] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2a1, caps: 0xf003a3/0x940300/0x12e800/0x0, board id: 3288, fw id: 2538625 [ 3.863166] psmouse serio1: ****[X1C] Touchpad Firmware Id = LEN0073 PNP0f13 ***** [ 3.863168] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0 [ 71.244683] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1 [ 71.245844] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1

After that IBM engineer came and replaced both the keyboard and touchpad. It took two hours and whole laptop had to be dismantled, but touchpad and trackpoint now work without issues!

 

Strange thing about the original touchpad was that it had two cables. Replacement ones that came had only one. Engineer said touchpads normally come with a single cable, this was the first time he saw the second cable. In spite of that everything works great so far.

 

The model is different now:

synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2b1, caps: 0xf003a3/0x940300/0x12e800/0x400000, board id: 3289, fw id: 2525255
Top kudoed Authors