[x1 carbon gen 3] trackpoint buttons are not left and right click and bios settings are not respected
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Linux |
In Progress
|
Low
|
|||
| linux (Ubuntu) |
Medium
|
Andy Whitcroft | |||
Bug Description
The touchpad in this machine needs module options proto=imps.
As a workaround we can put this in /etc/modprobe.
options psmouse proto=imps
We should add this to the kerenl quirks table.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.18.0-11-generic x86_64
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
Date: Mon Feb 2 13:11:56 2015
HibernationDevice: RESUME=
InstallationDate: Installed on 2015-01-28 (5 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: LENOVO 20BSCTO1WW
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.141
SourcePackage: linux
UpgradeStatus: Upgraded to vivid on 2015-01-29 (4 days ago)
dmi.bios.date: 10/27/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: N14ET24W (1.02 )
dmi.board.
dmi.board.name: 20BSCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20BSCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
Here is the evemu-record output. The BTN_0 and BTN_1 events are from the left and right physical buttons. The BTN_LEFT events are from the clickpad. No events are generated using the middle physical button.
[root@x1 ~]# evemu-record
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Sleep Button
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: Video Bus
/dev/input/event5: SynPS/2 Synaptics TouchPad
/dev/input/event6: Integrated Camera
/dev/input/event7: HDA Intel HDMI HDMI/DP,pcm=3
/dev/input/event8: HDA Intel HDMI HDMI/DP,pcm=7
/dev/input/event9: HDA Intel HDMI HDMI/DP,pcm=8
/dev/input/event10: HDA Intel PCH Mic
/dev/input/event11: HDA Intel PCH Headphone
/dev/input/event12: TPPS/2 IBM TrackPoint
Select the device event number [0-12]: 5
# EVEMU 1.2
# Input device name: "SynPS/2 Synaptics TouchPad"
# Input device ID: bus 0x11 vendor 0x02 product 0x07 version 0x1b1
# Supported events:
# Event type 0 (EV_SYN)
# Event code 0 (SYN_REPORT)
# Event code 1 (SYN_CONFIG)
# Event code 2 (SYN_MT_REPORT)
# Event code 3 (SYN_DROPPED)
# Event code 4 ((null))
# Event code 5 ((null))
# Event code 6 ((null))
# Event code 7 ((null))
# Event code 8 ((null))
# Event code 9 ((null))
# Event code 10 ((null))
# Event code 11 ((null))
# Event code 12 ((null))
# Event code 13 ((null))
# Event code 14 ((null))
# Event type 1 (EV_KEY)
# Event code 256 (BTN_0)
# Event code 257 (BTN_1)
# Event code 258 (BTN_2)
# Event code 272 (BTN_LEFT)
# Event code 325 (BTN_TOOL_FINGER)
# Event code 328 (BTN_TOOL_QUINTTAP)
# Event code 330 (BTN_TOUCH)
# Event code 333 (BTN_TOOL_
# Event code 334 (BTN_TOOL_
# Event code 335 (BTN_TOOL_QUADTAP)
# Event type 3 (EV_ABS)
# Event code 0 (ABS_X)
# Value 1607
# Min 1266
# Max 5676
# Fuzz 0
# Flat 0
# Resolution 45
# Event code 1 (ABS_Y)
# Value 2032
# Min 1096
# Max 4758
# Fuzz 0
# Flat 0
# Resolution 68
# Event code 24 (ABS_PRESSURE)
# Value 0
# Min 0
# Max 255
# Fuzz 0
# Flat 0
# Resolution 0
# Event code 28 (ABS_TOOL_WIDTH)
# Value 0
# Min 0
# Max 15
# Fuzz 0
# Flat 0
# Resolution 0
# Event code 47 (ABS_MT_SLOT)
# Value 0
# Min 0
# Max 1
# Fuzz 0
# Flat 0
# Resolution 0
# Event code 53 (ABS_MT_POSITION_X)
# Value 0
# Min 1266
# Max 5676
# Fuzz 0
# Flat 0
# Resolution 45
# Event code 54 (ABS_MT_POSITION_Y)
# Value 0
# Min 1096
# Max 4758
# Fuzz 0
# Flat 0
# Resolution 68
# Event code 57 (ABS_MT_
# Value 0
# Min 0
# Max 65535
# Fuzz 0
# Flat 0
# Resolution 0
# Event code 58 (ABS_MT_PRESSURE)
# Value 0
#...
And here is the evemu-record log for the TrackPoint device itself. The physical buttons do not register any events, just the pointing device itself.
[root@x1 ~]# evemu-record
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Sleep Button
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: Video Bus
/dev/input/event5: SynPS/2 Synaptics TouchPad
/dev/input/event6: Integrated Camera
/dev/input/event7: HDA Intel HDMI HDMI/DP,pcm=3
/dev/input/event8: HDA Intel HDMI HDMI/DP,pcm=7
/dev/input/event9: HDA Intel HDMI HDMI/DP,pcm=8
/dev/input/event10: HDA Intel PCH Mic
/dev/input/event11: HDA Intel PCH Headphone
/dev/input/event12: TPPS/2 IBM TrackPoint
Select the device event number [0-12]: 12
# EVEMU 1.2
# Input device name: "TPPS/2 IBM TrackPoint"
# Input device ID: bus 0x11 vendor 0x02 product 0x0a version 0000
# Supported events:
# Event type 0 (EV_SYN)
# Event code 0 (SYN_REPORT)
# Event code 1 (SYN_CONFIG)
# Event code 2 (SYN_MT_REPORT)
# Event code 3 (SYN_DROPPED)
# Event code 4 ((null))
# Event code 5 ((null))
# Event code 6 ((null))
# Event code 7 ((null))
# Event code 8 ((null))
# Event code 9 ((null))
# Event code 10 ((null))
# Event code 11 ((null))
# Event code 12 ((null))
# Event code 13 ((null))
# Event code 14 ((null))
# Event type 1 (EV_KEY)
# Event code 272 (BTN_LEFT)
# Event code 273 (BTN_RIGHT)
# Event code 274 (BTN_MIDDLE)
# Event type 2 (EV_REL)
# Event code 0 (REL_X)
# Event code 1 (REL_Y)
# Properties:
# Property type 0 (INPUT_
# Property type 5 (INPUT_
N: TPPS/2 IBM TrackPoint
I: 0011 0002 000a 0000
P: 21 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 07 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 03 00 00 00 00 00 00 00
B: 03 00 00 00 00 00 00 00 00
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 14 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
#######
# Waiting for events #
#######
E: 0.000000 0002 0001 0001 # EV_REL / REL_Y 1
E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
E: 0.019310 0002 0000 0001 # EV_REL / REL_X 1
E: 0.019310 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
E: 0.048622 0002 0001 0001 # EV_REL / REL_Y 1
E: 0.048622 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
E: 0.068458 0002 0001 0001 # EV_REL / REL_Y 1
E: 0.068458 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
E: 0.088470 0002 0000 0001 # EV_REL / REL_X 1
E: 0.088470 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
E: 0.134325 0002 0001 0001 # EV_REL /...
actually, can you attach the dmesg output here too please (as attachment). and while you're at it, please run libevdev's touchpad-
Created attachment 112590
dmesg
[root@x1 ~]# touchpad-
Touchpad SynPS/2 Synaptics TouchPad on /dev/input/event4
Move one finger around the touchpad to detect the actual edges
Kernel says: x [1266..5676], y [1096..4758]
Touchpad sends: x [1266..5677], y [1097..4760] -
well, at least that's some good news. the axis range is correct enough, but we need to take LEN0048 out of the INPUT_PROP_
I'm experiencing the issue too, under Ubuntu 14.10. I'm happy to install something bleeding-edge on the laptop for experimentation; it's not like the laptop is terribly useful without working mouse buttons.
Given that middle-mouse button scrolling is implemented in the trackpoint driver, and the middle mouse button (when it works) will be firing in the synaptics driver, I'm guessing that even when the buttons are fixed, middle-mouse button scrolling will still be broken. Just like the 2014 refresh Lenovo laptops without hardware mouse buttons (see bug 70780).
Note that this bug currently affects upstream (kernel, libinput and xorg) and all distributions. In the interest of keeping the bug useful, please only CC yourself, do not comment that you have the same issue. We know you do.
We'll post updates once we figured out how to fix all this, please keep the noise on this bug to a minimum.
|
|
#11 |
As a workaround you can force the psmouse driver to use the imps protocol. When using the imps protocol the buttons are mapped correctly. Further, the BIOS option to disable the touchpad is honored.
Of course you can't use the fancy Synaptic touchpad features, but I have no use for them anyway.
$ cat /etc/modprobe.
options psmouse proto=imps
# evtest /dev/input/event5
Input driver version is 1.0.1
Input device ID: bus 0x11 vendor 0x2 product 0x1 version 0x0
Input device name: "PS/2 Synaptics TouchPad"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 274 (BTN_MIDDLE)
Event type 2 (EV_REL)
Event code 0 (REL_X)
Event code 1 (REL_Y)
Properties:
Testing ... (interrupt to exit)
$ xinput list-props 'PS/2 Synaptics TouchPad'
Device 'PS/2 Synaptics TouchPad':
Device Enabled (135): 1
Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (256): 0
Device Accel Constant Deceleration (257): 1.000000
Device Accel Adaptive Deceleration (258): 1.000000
Device Accel Velocity Scaling (259): 10.000000
Device Product ID (252): 2, 1
Device Node (253): "/dev/input/event5"
Evdev Axis Inversion (260): 0, 0
Evdev Axes Swap (262): 0
Axis Labels (263): "Rel X" (145), "Rel Y" (146)
Button Labels (264): "Button Left" (138), "Button Middle" (139), "Button Right" (140), "Button Wheel Up" (141), "Button Wheel Down" (142), "Button Horiz Wheel Left" (143), "Button Horiz Wheel Right" (144)
Evdev Middle Button Emulation (265): 0
Evdev Middle Button Timeout (266): 50
Evdev Third Button Emulation (267): 0
Evdev Third Button Emulation Timeout (268): 1000
Evdev Third Button Emulation Button (269): 3
Evdev Third Button Emulation Threshold (270): 20
Evdev Wheel Emulation (271): 1
Evdev Wheel Emulation Axes (272): 6, 7, 4, 5
Evdev Wheel Emulation Inertia (273): 10
Evdev Wheel Emulation Timeout (274): 200
Evdev Wheel Emulation Button (275): 2
Evdev Drag Lock Buttons (276): 0
(In reply to Matt Wilson from comment #9)
> As a workaround you can force the psmouse driver to use the imps protocol.
> When using the imps protocol the buttons are mapped correctly. Further, the
> BIOS option to disable the touchpad is honored.
>
> Of course you can't use the fancy Synaptic touchpad features, but I have no
> use for them anyway.
>
> $ cat /etc/modprobe.
> options psmouse proto=imps
Exactly the configuration I wanted! Thanks for the tip Matt.
For those on Fedora, psmouse built in and not a module, so the approach is slightly different. You'll need to set it in /etc/default/grub and then update your grub config.
# grep psmouse /etc/default/grub
GRUB_CMDLINE_
# grub2-mkconfig -o /boot/efi/
Status update:
* missing middle button is a kernel bug
* touchpad marked with INPUT_PROP_
* handling the trackpoint buttons through the touchpad device will require userspace fixes, some combination of udev rules/hwdb and fixes in synaptics and libinput. Theoretically evdev too, though the touchpad parts in evdev are mostly untested.
Patches will be coming in the next couple of days, we're trying to get everything in place first so we can actually test all bits against each other.
I expect that the final outcome with synaptics will be similar to the T440: everything works except for middle button scrolling. libinput will just work fine.
Kernel patches proposed:
http://
udev hwdb addition to mark devices like this:
http://
libinput patches proposed:
http://
synaptics patch proposed:
http://
And a writeup of what's happening:
http://
| Changed in linux (Ubuntu): | |
| importance: | Undecided → Medium |
| assignee: | nobody → Andy Whitcroft (apw) |
| milestone: | none → ubuntu-15.02 |
| tags: | added: kernel-da-key |
| Changed in linux: | |
| importance: | Unknown → Medium |
| status: | Unknown → In Progress |
synaptics fixed in master:
http://
libinput fixed in master (and 0.9.0):
http://
Hi Peter,
I was finally able to get some time to recompile the various RPMs for F21 with the patches applied and test out the whole stack. I used the first iteration of the kernel patches posted to the mailing list, but it looks like those might change a little bit; either way, they work even if they're not the final version.
Aside from the issue below, the trackpoint buttons work as expected. Setting TouchpadOff=1 disables the touchpad for moving the cursor, but the clickpad buttons are still enabled. This seems to be the intended behavior based on synaptics(4), so I can live with it.
The X11 stack seems to work fine, but the hwdb entry is not tagging the device properly. By removing the "MatchTag" option from the xorg.conf.d file, everything worked as expected. For the hwdb update, I dropped the file in place and updated. Here is verification that the hwdb piece is in place but not working:
[root@x1 ~]# grep -v ^# /lib/udev/
touchpad:
TOUCHPAD_
Extraneous argument: '/dev/input/event5'
P: /devices/
N: input/event5
S: input/by-
E: DEVLINKS=
E: DEVNAME=
E: DEVPATH=
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_PATH=
E: ID_PATH_
E: ID_SERIAL=noserial
E: MAJOR=13
E: MINOR=69
E: SUBSYSTEM=input
E: USEC_INITIALIZE
(In reply to Aron Parsons from comment #14)
> The X11 stack seems to work fine, but the hwdb entry is not tagging the
> device properly. By removing the "MatchTag" option from the xorg.conf.d
> file, everything worked as expected. For the hwdb update, I dropped the
> file in place and updated. Here is verification that the hwdb piece is in
> place but not working:
Scratch that. I pulled in xorg-x11-
the hwdb doesn't have effect on the synaptics driver bits, but if the files aren't installed correctly that's a fedora bug, please file it there and assign it to me.
Note you also need to udevadm control --reload-rules to make the hwdb work (and drop the matching 70-touchpad.rules file in place too).
(In reply to Peter Hutterer from comment #16)
> the hwdb doesn't have effect on the synaptics driver bits, but if the files
> aren't installed correctly that's a fedora bug, please file it there and
> assign it to me.
>
> Note you also need to udevadm control --reload-rules to make the hwdb work
> (and drop the matching 70-touchpad.rules file in place too).
Yep. You have a bug waiting for you on rhbz with the fixes attached.
Thanks for all the work on this Peter.
| Andy Whitcroft (apw) wrote : | #20 |
Kernel patches v2 proposed: https://<email address hidden>
|
|
#21 |
I'm not sure if this should get a separate issue, but on my new X250 the pnpid seems to be LEN0046 instead of LEN0048
cat /sys/devices/
PNP: LEN0046 PNP0f13
(In reply to Heiko Stuebner from comment #18)
> I'm not sure if this should get a separate issue, but on my new X250 the
> pnpid seems to be LEN0046 instead of LEN0048
>
> cat /sys/devices/
> PNP: LEN0046 PNP0f13
Yep, we know about it. See https:/
BTW, with latest kernel submission, there should not be needed to patch libinput & synaptics. It's just been sitting on the list for a while now.
| Changed in linux (Ubuntu): | |
| milestone: | ubuntu-15.02 → ubuntu-15.03 |
|
|
#23 |
Hi,
On the new T450s too we seem to have the same problem (same touchpad I think), I must use psmouse to get my touchpad working for the moment.
PNPID is :
cat /sys/devices/
PNP: LEN200f PNP0f13
Do you need more information?
Regards,
|
|
#24 |
Hi,
we have the same issue regarding the firmware ID, as other reported earlier. We have new T550 systems, which have the following firmware ID:
# cat /sys/devices/
PNP: LEN002c PNP0f13
When adding a corresponding udev rule for this firmware ID to set the udev tag, the Xorg synaptics driver get configured correctly, and the buttons behave as they should.
|
|
#25 |
Running openSUSE Tumbleweed with latest updates and having installed the Physical Buttons TrackPad/TouchPad on T440s. Tried many options, none work, incl. modifying /etc/X11/
Here is some data that might help.
3.19.1-1-desktop #1 SMP
XOrg version 7.6_x.x
xf86-input-
xf86-input-evdev 2.9.1-1.1
cat /sys/devices/
PNP: LEN0036 PNP0f13
-------
me@linux-oi3d:~> xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [slave pointer (2)]
-------
me@linux-oi3d:~> grep -B 5 mouse /proc/bus/
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/
S: Sysfs=/
U: Uniq=
H: Handlers=mouse0 event5
--
I: Bus=0011 Vendor=0002 Product=000a Version=0000
N: Name="TPPS/2 IBM TrackPoint"
P: Phys=synaptics-
S: Sysfs=/
U: Uniq=
H: Handlers=mouse1 event6
-------
linux-oi3d:/home/me # dmidecode -t 21 report
# dmidecode 2.12
# SMBIOS entry point at 0xbcc0c000
SMBIOS 2.7 present.
Handle 0x0027, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Track Point
Interface: PS/2
Buttons: 3
Handle 0x0028, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Touch Pad
Interface: PS/2
Buttons: 2
-------
me@linux-oi3d:~> xinput list-props "SynPS/2 Synaptics TouchPad" | grep Capabilities
Synaptics Capabilities (300): 1, 0, 0, 1, 1, 1, 1
me@linux-oi3d:~> xinput list-props "TPPS/2 IBM TrackPoint" | grep Capabilities
no output, unlike Synaptic touchpad
-------
Physical buttons generate events as BTN_0 and BTN_1 for Left and Right, for the SynPS/2 Touchpad and not the TPPS/2 TrackPoint; Middle Button is dead.
Status update:
The kernel patches are now in Dmitry's branch and queued for 4.0
https:/
There will _not_ be a patch to the synaptics driver (or libinput). The kernel patches re-route the trackstrick buttons correctly so we don't need userspace to fix this up any. The commit that was already on the branch has been reverted, see:
http://
For distributions: if you are partially backporting Benjamin's kernel patches make sure you either re-instate that synaptics commit or backport the button re-routing patches.
| Changed in linux: | |
| importance: | Medium → Low |


I received a Lenovo X1 Carbon 3rd generation today, the one with the
resurrection of the physical Trackpoint buttons. However, there is
some broken behavior related to those much loved buttons on this laptop
running an up-to-date Fedora 21.
The clickpad buttons seem to work fine, however I would like to achieve event12) , so the device can't really be disabled.
a configuration that disables the touchpad and only use the Trackpoint
and the physical buttons as I have on all my Thinkpads in the past.
There is an option in the BIOS to disable the touchpad, but it seems to
be completely ignored under Linux; with it set to off in the BIOS, the
touchpad is still fully functional. This is likely related to the fact
that the physical buttons generate events on the touchpad's event device
(/dev/input/event4 in this case) and not for the Trackpoint's event
device (/dev/input/
So here are the various scenarios regarding the physical buttons and how
they are failing at the moment:
- Dragging does not work at all with the physical left button with either
the evdev or synaptics driver. Dragging with the clickpad's left button
is fine.
- Middle click does not register at all (from viewing evtest output), which
I assume means it's an issue at the kernel layer not registering the event.
Neither the physical buttons or the clickpad generate a middle click event
using either the evdev or synaptics drivers.
- With the synaptics driver, the buttons are picked up as up/down buttons. click/button 2). Using xinput, I can force the right-button
Setting UpDownScrolling=off changes the behavior as described in the man
page (double-
to behave correctly, but the left-button will not change its behavior (it
is always a double-click). This makes it unusable with the synaptics
driver.
relevant software packages: 3.17.8- 300.fc21. x86_64 drv-evdev- 2.9.0-3. fc21.x86_ 64 drv-synaptics- 1.8.0-9. fc21.x86_ 64 server- Xorg-1. 16.2.901- 1.fc21. x86_64
kernel-
xorg-x11-
xorg-x11-
xorg-x11-