Commit 6ea2a6fd authored by Stuart Hayhurst's avatar Stuart Hayhurst Committed by Jiri Kosina
Browse files

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: default avatarStuart Hayhurst <stuart.a.hayhurst@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent f23aa4c0
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
What:		/sys/bus/hid/drivers/hid-corsair-void/<dev>/fw_version_headset
Date:		January 2024
KernelVersion:	6.13
Contact:	Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Description:	(R) The firmware version of the headset
			* Returns -ENODATA if no version was reported

What:		/sys/bus/hid/drivers/hid-corsair-void/<dev>/fw_version_receiver
Date:		January 2024
KernelVersion:	6.13
Contact:	Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Description:	(R) The firmware version of the receiver

What:		/sys/bus/hid/drivers/hid-corsair-void/<dev>/microphone_up
Date:		July 2023
KernelVersion:	6.13
Contact:	Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Description:	(R) Get the physical position of the microphone
			* 1 -> Microphone up
			* 0 -> Microphone down

What:		/sys/bus/hid/drivers/hid-corsair-void/<dev>/send_alert
Date:		July 2023
KernelVersion:	6.13
Contact:	Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Description:	(W) Play a built-in notification from the headset (0 / 1)

What:		/sys/bus/hid/drivers/hid-corsair-void/<dev>/set_sidetone
Date:		December 2023
KernelVersion:	6.13
Contact:	Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Description:	(W) Set the sidetone volume (0 - sidetone_max)

What:		/sys/bus/hid/drivers/hid-corsair-void/<dev>/sidetone_max
Date:		July 2024
KernelVersion:	6.13
Contact:	Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Description:	(R) Report the maximum sidetone volume
+3 −0
Original line number Diff line number Diff line
@@ -213,13 +213,16 @@ config HID_CHICONY
config HID_CORSAIR
	tristate "Corsair devices"
	depends on USB_HID && LEDS_CLASS
	select POWER_SUPPLY
	help
	Support for Corsair devices that are not fully compliant with the
	HID standard.
	Support for Corsair Void headsets.

	Supported devices:
	- Vengeance K90
	- Scimitar PRO RGB
	- Corsair Void headsets

config HID_COUGAR
	tristate "Cougar devices"
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ obj-$(CONFIG_HID_BIGBEN_FF) += hid-bigbenff.o
obj-$(CONFIG_HID_CHERRY)	+= hid-cherry.o
obj-$(CONFIG_HID_CHICONY)	+= hid-chicony.o
obj-$(CONFIG_HID_CMEDIA)	+= hid-cmedia.o
obj-$(CONFIG_HID_CORSAIR)	+= hid-corsair.o
obj-$(CONFIG_HID_CORSAIR)	+= hid-corsair.o hid-corsair-void.o
obj-$(CONFIG_HID_COUGAR)	+= hid-cougar.o
obj-$(CONFIG_HID_CP2112)	+= hid-cp2112.o
obj-$(CONFIG_HID_CYPRESS)	+= hid-cypress.o
+829 −0

File added.

Preview size limit exceeded, changes collapsed.