Bug 94865

Summary: RFE: Inverted axes hwdb quirk
Product: Wayland Reporter: Yanko Kaneti <yaneti>
Component: libinputAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Yanko Kaneti 2016-04-07 21:25:13 UTC
After a keyboard+trackpoint(packaged together) replacement (german -> english) on a ThinkPad E145 the trackpoint directions flipped. The evdev InvertX InvertY options in the old evdev X driver can be used to correct this. Maybe something similar can be introduced in libinput

Quotes from the IRC chat with whot:
< whot> that is just weird. I wonder if the bios or fw usually accounts for it
< whot> yaneti: bentiss says there's nothing in the ps2 code that suggests inversion is a normal thing
< yaneti> whot: oh well, thanks anyway. guess I'm shouldn't expect any reappearance of InvertX/Y in the new stack..
< whot> not as config option, we may add it through the hwdb if there's a set of devices that need it
< whot> come to think of it, there *is* a set of devices, otherwise we wouldn't have the option in evdev..
< whot> yaneti: file a bug anyway so all this is archived
Comment 1 Peter Hutterer 2016-04-12 05:37:13 UTC
I'll be honest, I'm note sure this device warrants inclusion of a new option here, this seems to be a pretty unique situation. A lot of kernel drivers for touchscreens have module options to invert the device because it's relatively common for a touchscreen to be mounted the wrong way round.

But I'm hesitant to add an option here for a single device with a single (known) user and then carry that option forever. We'll have to wait until we see more occurrences of this, sorry.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.