Skip to content

Add support for common USB HID headset features

Maxim Mikityanskiy linux-input linux-leds lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6HID: hid-input: Add offhook and ring LEDs for headsetsdrivers/hid/hid-input.c drivers/input/input-leds.c include/uapi/linux/input-event-codes.h+6 -08 replies
2/6HID: hid-input: Add phone hook and mic mute buttons for headsetsdrivers/hid/hid-input.c include/uapi/linux/input-event-codes.h+148 -00 replies
3/6HID: plantronics: Expose headset LEDsdrivers/hid/hid-plantronics.c+4 -00 replies
4/6HID: plantronics: Expose headset telephony buttonsdrivers/hid/hid-plantronics.c+2 -00 replies
5/6HID: hid-input: Update LEDs in all HID reportsdrivers/hid/hid-input.c+30 -110 replies
6/6HID: jabra: Change mute LED state to avoid missing key press eventsdrivers/hid/hid-jabra.c+35 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Add support for common USB HID headset features

This patch series extends hid-input to support features commonly present in USB HID headsets:

1. Mic mute button and LED.

2. Answer/hangup button and ring/offhook LED(s).

These buttons and LEDs are exposed using standard event device interfaces. It allows the VoIP applications in userspace to use the new functionality in a generic device-independent fashion.

This series also contains patches for hid-plantronics and hid-jabra to expose the new functionality and work around some hardware quirks, and a fix to hid-input for an issue that prevents the new LED functionality to work with certain headsets.

Although checkpatch compains about a few lines, they preserve the same formatting that already exists in hid-input.c.

Maxim Mikityanskiy (6):
HID: hid-input: Add offhook and ring LEDs for headsets
HID: hid-input: Add phone hook and mic mute buttons for headsets
HID: plantronics: Expose headset LEDs
HID: plantronics: Expose headset telephony buttons
HID: hid-input: Update LEDs in all HID reports
HID: jabra: Change mute LED state to avoid missing key press events

 drivers/hid/hid-input.c                | 183 +++++++++++++++++++++++--
 drivers/hid/hid-jabra.c                |  35 +++++
 drivers/hid/hid-plantronics.c          |   6 +
 drivers/input/input-leds.c             |   2 +
 include/uapi/linux/input-event-codes.h |  10 ++
 5 files changed, 225 insertions(+), 11 deletions(-)
Signature · 1 line
2.32.0