Skip to content

Commit 6ea2a6f

Browse files
stuarthayhurstJiri Kosina
authored andcommitted
HID: corsair-void: Add Corsair Void headset family driver
Introduce a driver for the Corsair Void family of headsets, supporting: - Battery reporting (power_supply) - Sidetone setting support - Physical microphone location reporting - Headset and receiver firmware version reporting - Built-in alert triggering - USB wireless_status Tested with a Void Pro Wireless, Void Elite Wireless and a Void Elite Wired Signed-off-by: Stuart Hayhurst <stuart.a.hayhurst@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent f23aa4c commit 6ea2a6f

4 files changed

Lines changed: 871 additions & 1 deletion

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/fw_version_headset
2+
Date: January 2024
3+
KernelVersion: 6.13
4+
Contact: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
5+
Description: (R) The firmware version of the headset
6+
* Returns -ENODATA if no version was reported
7+
8+
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/fw_version_receiver
9+
Date: January 2024
10+
KernelVersion: 6.13
11+
Contact: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
12+
Description: (R) The firmware version of the receiver
13+
14+
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/microphone_up
15+
Date: July 2023
16+
KernelVersion: 6.13
17+
Contact: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
18+
Description: (R) Get the physical position of the microphone
19+
* 1 -> Microphone up
20+
* 0 -> Microphone down
21+
22+
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/send_alert
23+
Date: July 2023
24+
KernelVersion: 6.13
25+
Contact: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
26+
Description: (W) Play a built-in notification from the headset (0 / 1)
27+
28+
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/set_sidetone
29+
Date: December 2023
30+
KernelVersion: 6.13
31+
Contact: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
32+
Description: (W) Set the sidetone volume (0 - sidetone_max)
33+
34+
What: /sys/bus/hid/drivers/hid-corsair-void/<dev>/sidetone_max
35+
Date: July 2024
36+
KernelVersion: 6.13
37+
Contact: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
38+
Description: (R) Report the maximum sidetone volume

drivers/hid/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,16 @@ config HID_CHICONY
213213
config HID_CORSAIR
214214
tristate "Corsair devices"
215215
depends on USB_HID && LEDS_CLASS
216+
select POWER_SUPPLY
216217
help
217218
Support for Corsair devices that are not fully compliant with the
218219
HID standard.
220+
Support for Corsair Void headsets.
219221

220222
Supported devices:
221223
- Vengeance K90
222224
- Scimitar PRO RGB
225+
- Corsair Void headsets
223226

224227
config HID_COUGAR
225228
tristate "Cougar devices"

drivers/hid/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ obj-$(CONFIG_HID_BIGBEN_FF) += hid-bigbenff.o
3838
obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
3939
obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
4040
obj-$(CONFIG_HID_CMEDIA) += hid-cmedia.o
41-
obj-$(CONFIG_HID_CORSAIR) += hid-corsair.o
41+
obj-$(CONFIG_HID_CORSAIR) += hid-corsair.o hid-corsair-void.o
4242
obj-$(CONFIG_HID_COUGAR) += hid-cougar.o
4343
obj-$(CONFIG_HID_CP2112) += hid-cp2112.o
4444
obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o

0 commit comments

Comments
 (0)