On Thu, 6 Sep 2017, jikos@xxxxxxxxxx wrote: > On Fri, 1 Sep 2017, nolsen@xxxxxxxxx wrote: > > > From: Niels Skou Olsen <nolsen@xxxxxxxxx> > > > > Add a hid-jabra driver to the list of special drivers in hid-core. The > > driver prevents vendor defined HID usages (FF00-FFFF) in Jabra devices > > from being mapped to input events that become unintended mouse events > > in the X11 server. > > > > Signed-off-by: Niels Skou Olsen <nolsen@xxxxxxxxx> > > Do you plan to eventually map the vendor specific devices to anything meaningful? Currently there is no need, but we might need to in future devices/firmware versions. The standard usages (Consumer, Button, etc) are handled appropriately by the default mapping in hidinput_configure_usage(). But unfortunately some of our vendor defined usages are mapped to events that do not make sense. As an example, here's an excerpt of the sysfs rdesc for one of our devices. The vendor defined usages FF30.xxxx are mapped like this: ff30.0020 ---> Key.Btn0 ff30.0097 ---> Key.Btn1 ff30.002f ---> Key.Btn2 ff30.0021 ---> Key.Btn3 ff30.0024 ---> Key.Btn4 ff30.fffd ---> Key.Btn5 ff30.0050 ---> Key.Btn6 ff30.00b0 ---> Absolute.Misc ff30.00b1 ---> Absolute.? ff30.00b2 ---> Absolute.? ff30.00b3 ---> Absolute.? ff30.00b4 ---> Absolute.? ff30.00b5 ---> Absolute.? ff30.00b6 ---> Absolute.? ff30.00b7 ---> Absolute.? ff30.00b8 ---> Absolute.MTMajor ff30.00b9 ---> Absolute.MTMinor ff30.00ba ---> Absolute.MTMajorW ff30.00bb ---> Absolute.MTMinorW All of these should be ignored by the input mapping. Thanks, Niels **** GN GROUP NOTICE - AUTOMATICALLY INSERTED**** The information in this e-mail (including attachments, if any) is considered confidential and is intended only for the recipient(s) listed above. Any review, use, disclosure, distribution or copying of this e-mail is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify me immediately by reply e-mail, delete this e-mail, and do not disclose its contents to anyone. Any opinions expressed in this e-mail are those of the individual and not necessarily the GN group. Thank you. ******************** DISCLAIMER END ************************ -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html