You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To cleanly fix this, it would be better to just not expose the EV_ABS events to userspace. I don't think they can ever be generated by the device anyway.
The text was updated successfully, but these errors were encountered:
The reason these are here is because the HID usage descriptor table mentions that they could come back. Lenovo/Chicony have just left a huge heap of events in there, presumably because they apply to some devices and it's faster for them to just re-use the usage table and not write it for the particular device.
Now the table (which is just a binary blob an input device sends to the OS when initalizing) can be rewritten, and we'll have to when fixing the horizontal scroll wheel events. However, I'm loath to hard-code too much of the table into Linux, because there may be multiple revisions with a different usage table that we might break by using a hard-coded table / binary patching.
Also, Lenovo/Chicony's attitude to the usage descriptor table is very common IME, so whilst hard-coding more of the usage table would stop Chrome OS getting confused, this is bound to be a problem again with some other HID input device.
Actually, you don't need to modify the table to ignore these events, it's really easy, and much safer, to do this from input_mapping. These keyboards are unlikely to become touchscreen devices any time soon, so no harm in filtering them.
I still think that Chrome OS will need to cope with misleading usage descriptors generally though.
The keyboard exposes a huge number of irrelevant events. Here are a few:
The problem is that Chrome OS gets confused by the multitouch events and needs some special workarounds:
https://code.google.com/p/chromium/issues/detail?id=430319
To cleanly fix this, it would be better to just not expose the EV_ABS events to userspace. I don't think they can ever be generated by the device anyway.
The text was updated successfully, but these errors were encountered: