[Wayland-bugs] [Bug 82823] New: HID device with many axes is discarded as invalid multitouch device
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 19 11:34:34 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82823
Priority: medium
Bug ID: 82823
Assignee: wayland-bugs at lists.freedesktop.org
Summary: HID device with many axes is discarded as invalid
multitouch device
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: leo.borisenko at gmail.com
Hardware: All
Status: NEW
Version: unspecified
Component: libinput
Product: Wayland
Created attachment 104908
--> https://bugs.freedesktop.org/attachment.cgi?id=104908&action=edit
dmesg | grep Microsoft
HID device 'USB HID v1.11 Mouse' provided by Microsoft Wireless Optical
Desktop® 2.20 (connected to USB and identified as vendor 0x45e, product
0xe3, version 0x111) is reported as supporting EV_ABS event with ABS_MT_SLOT
code, but nevertheless libevdev_get_num_slots returns -1.
It means that mouse isn't recognized by libinput as a valid device, it's
discarded and doesn't work in Weston.
As partially explained by LKML message [1] (Message-Id [2]):
The root of the problem comes from hid-input, which maps unknown axis
to ABS_MISC. However, when an event code is already in use, hid-input
uses the one after, leading to uses of ABS_MISC + N, where N is the
number of unknown axis.
We are encountering a problem with the multitouch protocol here because
if a device has more than 7 unknown axis (which is the case for the PS3
Sixaxis controller), then the unknown axis get maps to ABS_MT_SLOT and
beyond.
Initial discussion of libinput patch fixing problem for mouse from Wireless
Optical Desktop is at [3].
In my tests with evtest mouse didn't produce any MT_* events.
[1] https://lkml.org/lkml/2013/11/20/515
[2] 1384983141-31019-1-git-send-email-benjamin.tissoires at redhat.com
[3] http://lists.freedesktop.org/archives/wayland-devel/2014-August/016603.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140819/2acb9925/attachment-0001.html>
More information about the Wayland-bugs
mailing list