Bug 198107 - Synaptics TM3075-001 trackpoint sometimes not detected after boot with RMI4
Summary: Synaptics TM3075-001 trackpoint sometimes not detected after boot with RMI4
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 15:55 UTC by Jaroslav Škarvada
Modified: 2018-03-07 18:24 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.13.16
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jaroslav Škarvada 2017-12-08 15:55:14 UTC
This seems to be an regression. I have Lenovo x240 with the x250 trackpoint/touchpad. The touchpad shares HW buttons from the trackpoint. In Fedora it worked OK with the psmouse driver up to and including kernel-4.11.12. With newer kernels like kernel-4.13.16, it seems RMI4 driver is used, but the detection doesn't seem to be reliable. Sometimes (in cca. 25 % of cases) during the boot the trackpoint is not detected. In such case the touchpad is hardly usable without the HW buttons and soft buttons have to be used. Reboot usually cures it.

Dmesg snipp for the bad boot (trackpoint not detected):
...
[   10.036712] psmouse serio1: synaptics: queried max coordinates: x [..5706], y [..4694]
[   10.067462] psmouse serio1: synaptics: queried min coordinates: x [1286..], y [1160..]
[   10.068464] psmouse serio1: synaptics: Trying to set up SMBus access
[   10.082164] rmi4_smbus 9-002c: registering SMbus-connected sensor
[   10.135928] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer: Synaptics, product: TM3075-001, fw id: 1701263
[   10.201729] input: Synaptics TM3075-001 as /devices/rmi4-00/input/input21
...

Dmesg snipp for the good boot (trackpoint detected):
...
[   10.677873] psmouse serio1: synaptics: queried max coordinates: x [..5706], y [..4694]
[   10.706506] psmouse serio1: synaptics: queried min coordinates: x [1286..], y [1160..]
[   10.707384] psmouse serio1: synaptics: Trying to set up SMBus access
[   10.789798] rmi4_smbus 9-002c: registering SMbus-connected sensor
[   10.842537] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer: Synaptics, product: TM3075-001, fw id: 1701263
[   10.908371] input: Synaptics TM3075-001 as /devices/rmi4-00/input/input21
[   11.249938] psmouse serio3: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[   11.308582] input: TPPS/2 IBM TrackPoint as /devices/rmi4-00/rmi4-00.fn03/serio3/input/input22
...

I tried to downgrade the kernel to 4.11.12. I was running for it for cca. 14 days (i.e. more than 14 boots) and I wasn't able to reproduce the problem.

Downstream Fedora bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1512277
Comment 1 Dmitry Torokhov 2018-03-07 01:12:55 UTC
I think you want commit 6abe534f0776d2437c8302f58d8eb5abd483e926 for the trackpoint detection working more reliably. I think it should be in stable by now as well.
Comment 2 Jaroslav Škarvada 2018-03-07 09:59:53 UTC
(In reply to Dmitry Torokhov from comment #1)
> I think you want commit 6abe534f0776d2437c8302f58d8eb5abd483e926 for the
> trackpoint detection working more reliably. I think it should be in stable
> by now as well.

Indeed, I can confirm it now works more reliable. Thanks for info.

Note You need to log in before you can comment on or make changes to this bug.