Thread (2 messages) 2 messages, 1 author, 2021-07-19

Re: [PATCH v3] HID: cmedia: add support for HS-100B mute button

flat view

From: Thomas Weißschuh <linux@weissschuh.net>
Date: 2021-07-19 11:25:06
Also in: lkml

On Mo, 2021-07-19T13:09+0200, Thomas Weißschuh wrote:
These chips report mute button events in bit 4 of their report without
it being part of the report descriptor.
Use a custom descriptor that maps this bit.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
v1: https://lore.kernel.org/linux-input/a769ae40-6d0c-47c4-803f-2c8dbc362f24@t-8ch.de/ (local)

v1 -> v2:
 * Merged into the existing cmedia driver instead of creating a dedicated
   driver.

v2: https://lore.kernel.org/linux-input/20210716160659.154779-1-linux@weissschuh.net/ (local)

v2 -> v3:
 * Fixed cosmetic checkpatch warnings
 * CC-ed Ben Chen who is the original author of hid-cmedia.c

 drivers/hid/Kconfig      |  5 +-
 drivers/hid/hid-cmedia.c | 99 +++++++++++++++++++++++++++++++++++-----
 drivers/hid/hid-ids.h    |  1 +
 drivers/hid/hid-quirks.c |  1 +
 4 files changed, 93 insertions(+), 13 deletions(-)
FYI:
The Mail to Ben bounced, so we will probably have to do without his review.

Thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help