mbox series

[RFC,0/1] HID: allow specifying quirks params for hid-core

Message ID f702b1fb-a31d-0cd0-9f42-dd8d1a0573b5@polimi.it (mailing list archive)
Headers show
Series HID: allow specifying quirks params for hid-core | expand

Message

Marco Morandini June 15, 2023, 9 p.m. UTC
Right now, only usbhid accepts parameters 
specifying quirks.

Following Benjamin's explanations,
this patch allows specifying them for hid
in the form hid.quirks=BUS:vendorID:productID:quirks

I don't know if this is a good idea or not, thus the RFC.

If it was for me, I'd get rid of the usbhid parameters
and of the duplicated hid_quirks_init,
forcing everyone to specify the bus,
but I fear this could be a regression for user space.

Marco Morandini (1)
  HID: allow specifying quirks params for hid-core

 drivers/hid/hid-core.c   | 13 +++++++++++++
 drivers/hid/hid-quirks.c | 33 +++++++++++++++++++++++++++++++++
 include/linux/hid.h      |  1 +
 3 files changed, 47 insertions(+)