View previous topic :: View next topic |
Author |
Message |
zje n00b
Joined: 06 Sep 2012 Posts: 33
|
Posted: Wed Jan 21, 2015 6:17 pm Post subject: Trackpoint buttons mapped incorrectly |
|
|
I have a Lenovo laptop with dedicated trackpoint buttons. In both the LiveDVD and my installed system, the buttons under the trackpoint map to scrolling. I've been trying to find out how to fix this, but have so far had no luck. Here's my xinput list-props:
Code: |
Device 'TPPS/2 IBM TrackPoint':
Device Enabled (137): 1
Coordinate Transformation Matrix (139): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (261): 0
Device Accel Constant Deceleration (262): 1.000000
Device Accel Adaptive Deceleration (263): 1.000000
Device Accel Velocity Scaling (264): 10.000000
Device Product ID (255): 2, 10
Device Node (256): "/dev/input/event6"
Evdev Axis Inversion (303): 0, 0
Evdev Axes Swap (305): 0
Axis Labels (306): "Rel X" (147), "Rel Y" (148)
Button Labels (307): "Button Left" (140), "Button Middle" (141), "Button Right" (142), "Button Wheel Up" (143), "Button Wheel Down" (144)
Evdev Middle Button Emulation (308): 0
Evdev Middle Button Timeout (309): 50
Evdev Third Button Emulation (310): 0
Evdev Third Button Emulation Timeout (311): 1000
Evdev Third Button Emulation Button (312): 3
Evdev Third Button Emulation Threshold (313): 20
Evdev Wheel Emulation (314): 1
Evdev Wheel Emulation Axes (315): 6, 7, 4, 5
Evdev Wheel Emulation Inertia (316): 10
Evdev Wheel Emulation Timeout (317): 200
Evdev Wheel Emulation Button (318): 2
Evdev Drag Lock Buttons (319): 0
|
I'm using awesome as my wm and all the default settings for xorg, with my INPUT_DEVICES="evdev synaptics"
Since this laptop also has a touchpad, I'm not sure if I can xmodmap my way around this (I'm not even sure what the buttons are being picked up as...)
Thanks! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Wed Jan 21, 2015 6:26 pm Post subject: |
|
|
Is it one of the new models where they reintroduced Ultranav? |
|
Back to top |
|
|
zje n00b
Joined: 06 Sep 2012 Posts: 33
|
Posted: Wed Jan 21, 2015 6:42 pm Post subject: |
|
|
It is a new model... I'm not sure if it's an ultranav since I see two separate devices in dmidecode:
Code: |
# dmidecode 2.11
# SMBIOS entry point at 0xccbfe000
SMBIOS 2.7 present.
Handle 0x002A, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Track Point
Interface: PS/2
Buttons: 3
Handle 0x002B, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Touch Pad
Interface: PS/2
Buttons: 2
|
How else would I check? |
|
Back to top |
|
|
zje n00b
Joined: 06 Sep 2012 Posts: 33
|
Posted: Wed Jan 21, 2015 7:50 pm Post subject: |
|
|
I used ev and found that the trackpoint left click is mapped as "Button 4" and the right click is mapped as "Button 5" - the middle button generates no events.
I'm trying to figure out how to change this via xmodmap or similar, but not having much luck |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
|
Back to top |
|
|
zje n00b
Joined: 06 Sep 2012 Posts: 33
|
Posted: Wed Jan 21, 2015 8:42 pm Post subject: |
|
|
Thanks so much! Same model of computer here too. It's my first time on the bleeding edge...
The last item in the thread contains this:
Quote: | this will definitely need patching, in the kernel and depending on
how far we get with this in the userspace drivers as well. Thanks for the
bug report, for now this will do. |
I'll keep an eye on it. In the meantime, if anyone knows how to swap buttons (other than xmodmap's "pointer ="), I'd be very interested. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Wed Jan 21, 2015 9:02 pm Post subject: |
|
|
Yeah, sometimes running a 6 years old X200s does have its advantages... |
|
Back to top |
|
|
|