Bug 102632

Summary: (EE) eGalax Inc.USB TouchController: device does not meet tablet criteria. Ignoring this device.
Product: Wayland Reporter: skrabban
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Output from evemu-record
Xorg log
Ouput from udevadm

Description skrabban 2017-09-09 09:42:30 UTC
Created attachment 134103 [details]
Output from evemu-record

The device is not used by libinput so nothing happens on the screen when touched.

Events can be seen when running evemu.

The computer is a Protech POS-3120.

libinput10:amd64                      1.8.0-1
xserver-xorg-input-libinput           0.23.0-2
Comment 1 skrabban 2017-09-09 09:43:03 UTC
Created attachment 134104 [details]
Xorg log
Comment 2 skrabban 2017-09-09 09:43:44 UTC
Created attachment 134105 [details]
Ouput from udevadm
Comment 3 Peter Hutterer 2017-09-11 03:22:01 UTC
What's missing here is the axis resolution. This one is required for tablets, otherwise we cannot convert the dimensions to mm as libinput promises.

The product ID of the device is 0x01 so I suspect egalax is re-using usb ids. That means we cannot ship this as a generic patch because it'll break other devices. You'll need local configuration to set this for your device.

Best solution: locate 60-evdev.hwdb on your machine and follow the instructions at the top to add a local copy of this file to /etc. The overrides you'll need are EVDEV_ABS_00=::R1 and EVDEV_ABS_01=::R2, where R1 and R2 is the resolution of the x and y axis, respectively, in units/mm. You get that number by measuring the device and dividing the x/y ranges by the dimensions, in your case R1 is 4010/width-in-mm, R2 is 3075/height-in-mm.

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.