linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/1] HID: allow specifying quirks params for hid-core
@ 2023-06-15 21:00 Marco Morandini
  0 siblings, 0 replies; only message in thread
From: Marco Morandini @ 2023-06-15 21:00 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, linux-input

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(+)

-- 
2.41.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-15 21:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-15 21:00 [PATCH RFC 0/1] HID: allow specifying quirks params for hid-core Marco Morandini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).