Thread (11 messages) 11 messages, 4 authors, 2017-06-07

Re: Trackpoint on Thinkpad X1 Carbon (5th gen)

From: Damjan Georgievski <hidden>
Date: 2017-05-23 18:12:04

On 19 May 2017 at 22:12, Damjan Georgievski [off-list ref] wrote:
Hi all,
the trackpoint on the  Thinkpad X1 Carbon (5th gen) (model 20HQ) is
recognised as:
"ImPS/2 Generic Wheel Mouse" while typically it should be "TPPS/2 IBM
TrackPoint".
the following patch[1] adds the X1 Carbon gen 5 to work with the
rmi4_smbus support, there are some issues though:
- the touchpad _seems_ to be working a bit better (at least that's
what I feel like)
- the trackpoint moves too fast
- middle click scrolling is not enabled and can't be set with xinput

Can I do someting to improve/test the trackpoint issues, before
submiting this for merging?

ps.
also, when this is aplied the touchpad and trackpoint are recognized as
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick             id=12   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=14   [slave  pointer  (2)]

[1]
https://gist.github.com/gdamjan/511eb192a46b2226474e855ec0aa7365


Conversely, the middle button is not configured to emulate a mouse
wheel for scrolling, so I need to enable it explicitly with:
xinput set-prop "ImPS/2 Generic Wheel Mouse" "libinput Scroll Method
Enabled" 0 0 1


I'm not sure what information to provide about the device. the kernel
seems to find it as:
[    0.690665] pnp 00:06: Plug and Play ACPI device, IDs LEN0072
PNP0f13 (active)



Additionally,
if I load the `psmouse` module with synaptics_intertouch=1 option I get:
$ xinput list
⎜   ↳ Synaptics TM3289-002                      id=11   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick             id=12   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=14   [slave  pointer  (2)]

and kernel log:
[ 3244.067726] psmouse serio1: synaptics: queried max coordinates: x
[..5676], y [..4760]
[ 3244.099572] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1094..]
[ 3244.099577] psmouse serio1: synaptics: Trying to set up SMBus access
[ 3244.113905] rmi4_smbus 0-002c: registering SMbus-connected sensor
[ 3244.173149] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer:
Synaptics, product: TM3289-002, fw id: 2492434
[ 3244.244186] input: Synaptics TM3289-002 as /devices/rmi4-00/input/input104
[ 3246.073366] input: AlpsPS/2 ALPS DualPoint Stick as
/devices/rmi4-00/rmi4-00.fn03/serio4/input/input107
[ 3246.139663] input: AlpsPS/2 ALPS DualPoint TouchPad as
/devices/rmi4-00/rmi4-00.fn03/serio4/input/input106

but in that case the trackpoint is too sensitive and middle click
scrolling still doesn't work



-- 
damjan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help