[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210703220202.5637-1-maxtram95@gmail.com>
Date: Sun, 4 Jul 2021 01:01:56 +0300
From: Maxim Mikityanskiy <maxtram95@...il.com>
To: Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Daniel Kurtz <djkurtz@...omium.org>,
Oliver Neukum <oneukum@...e.de>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Maxim Mikityanskiy <maxtram95@...il.com>
Subject: [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(-)
--
2.32.0
Powered by blists - more mailing lists