lkml.org 
[lkml]   [2021]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] Add support for common USB HID headset features
Date
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(-)

--
2.32.0

\
 
 \ /
  Last update: 2021-07-04 00:03    [W:0.100 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site