Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] HID: steelseries: Add support for Arctis 7 (2018)
@ 2026-09-01 20:30 Erik Håkansson
  2026-09-11 15:23 ` Jiri Kosina
  2026-11-21 11:11 ` Michal Pecio
  0 siblings, 2 replies; 4+ messages in thread
From: Erik Håkansson @ 2026-09-01 20:30 UTC (permalink / raw)
  To: jikos; +Cc: bentiss, linux-input, linux-kernel, Erik Håkansson

The headset reports connection and battery status on HID interface
5. When the device is disconnected, ignore incoming battery
reports as they will incorrectly report battery level 0.

Clamp overreported battery values to 100% and add USB ID 1038:12ad
to the driver's device tables.

Signed-off-by: Erik Håkansson <erikhakan@gmail.com>
---
Information available online suggests that at least two other Arctis 7
revisions (2017 and 2019) exist, with different device IDs.  Without
access to those devices, their protocol compatibility cannot be
verified, so this patch only adds support for the 2018 model.

 drivers/hid/Kconfig                  |  3 +-
 drivers/hid/hid-ids.h                |  1 +
 drivers/hid/hid-quirks.c             |  1 +
 drivers/hid/hid-steelseries-arctis.c | 44 ++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index aa7fa11a0197..06f7c35b619f 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1210,7 +1210,8 @@ config HID_STEELSERIES
 	depends on USB_HID
 	help
 	Support for Steelseries SRW-S1 steering wheel, and the Steelseries
-	Arctis 1 Wireless for XBox headset.
+	Arctis 1 Wireless for XBox, Arctis 7 (2018), Arctis 9, and Arctis
+	Nova headsets.
 
 config HID_SUNPLUS
 	tristate "Sunplus wireless desktop"
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 341bf587863b..1867f480ebc0 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -1394,6 +1394,7 @@
 #define USB_VENDOR_ID_STEELSERIES	0x1038
 #define USB_DEVICE_ID_STEELSERIES_SRWS1	0x1410
 #define USB_DEVICE_ID_STEELSERIES_ARCTIS_1_X	0x12b6
+#define USB_DEVICE_ID_STEELSERIES_ARCTIS_7_2018	0x12ad
 #define USB_DEVICE_ID_STEELSERIES_ARCTIS_9	0x12c2
 #define USB_DEVICE_ID_STEELSERIES_ARCTIS_NOVA_5_X	0x2253
 #define USB_DEVICE_ID_STEELSERIES_ARCTIS_NOVA_7	0x2202
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index 8a0b51d47040..4862d7356120 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -751,6 +751,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
 #if IS_ENABLED(CONFIG_HID_STEELSERIES)
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_SRWS1) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_ARCTIS_1_X) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_ARCTIS_7_2018) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_ARCTIS_9) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_ARCTIS_NOVA_5_X) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_ARCTIS_NOVA_7) },
diff --git a/drivers/hid/hid-steelseries-arctis.c b/drivers/hid/hid-steelseries-arctis.c
index 23fb0cebd72a..fa33fbd94889 100644
--- a/drivers/hid/hid-steelseries-arctis.c
+++ b/drivers/hid/hid-steelseries-arctis.c
@@ -101,6 +101,19 @@ static int steelseries_arctis_1_request_status(struct hid_device *hdev)
 	return steelseries_send_output_report(hdev, data, sizeof(data));
 }
 
+static int steelseries_arctis_7_2018_request_status(struct hid_device *hdev)
+{
+	const u8 connection[] = { 0x06, 0x14 };
+	const u8 battery[] = { 0x06, 0x18 };
+	int ret;
+
+	ret = steelseries_send_output_report(hdev, connection, sizeof(connection));
+	if (ret)
+		return ret;
+
+	return steelseries_send_output_report(hdev, battery, sizeof(battery));
+}
+
 static int steelseries_arctis_9_request_status(struct hid_device *hdev)
 {
 	const u8 data[] = { 0x00, 0x20 };
@@ -152,6 +165,27 @@ static void steelseries_arctis_1_parse_status(struct steelseries_device *sd,
 	sd->battery_capacity = data[3];
 }
 
+static void steelseries_arctis_7_2018_parse_status(struct steelseries_device *sd,
+						      u8 *data, int size)
+{
+	if (size < 3 || data[0] != 0x06)
+		return;
+
+	switch (data[1]) {
+	case 0x14:
+		/* 0x03 means that the headset is connected to the transmitter. */
+		sd->headset_connected = data[2] == 0x03;
+		break;
+	case 0x18:
+		if (!sd->headset_connected)
+			break;
+
+		/* The Arctis 7 sometimes overreports battery. Cap to 100. */
+		sd->battery_capacity = steelseries_map_capacity(data[2], 0, 100);
+		break;
+	}
+}
+
 static void steelseries_arctis_9_parse_status(struct steelseries_device *sd,
 					      u8 *data, int size)
 {
@@ -232,6 +266,13 @@ static const struct steelseries_device_info arctis_1_info = {
 	.parse_status = steelseries_arctis_1_parse_status,
 };
 
+static const struct steelseries_device_info arctis_7_2018_info = {
+	.sync_interface = 5,
+	.capabilities = SS_CAP_BATTERY,
+	.request_status = steelseries_arctis_7_2018_request_status,
+	.parse_status = steelseries_arctis_7_2018_parse_status,
+};
+
 static const struct steelseries_device_info arctis_9_info = {
 	.sync_interface = 0,
 	.capabilities = SS_CAP_BATTERY,
@@ -653,6 +694,9 @@ static const struct hid_device_id steelseries_arctis_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES,
 			 USB_DEVICE_ID_STEELSERIES_ARCTIS_1_X),
 	  .driver_data = (unsigned long)&arctis_1_info },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES,
+			 USB_DEVICE_ID_STEELSERIES_ARCTIS_7_2018),
+	  .driver_data = (unsigned long)&arctis_7_2018_info },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES,
 			 USB_DEVICE_ID_STEELSERIES_ARCTIS_9),
 	  .driver_data = (unsigned long)&arctis_9_info },

base-commit: 786262be6048deab760f68c8acc2c85607165894
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] HID: steelseries: Add support for Arctis 7 (2018)
  2026-09-01 20:30 [PATCH] HID: steelseries: Add support for Arctis 7 (2018) Erik Håkansson
@ 2026-09-11 15:23 ` Jiri Kosina
  2026-11-21 11:11 ` Michal Pecio
  1 sibling, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2026-09-11 15:23 UTC (permalink / raw)
  To: Erik Håkansson; +Cc: bentiss, linux-input, linux-kernel

On Tue, 1 Sep 2026, Erik Håkansson wrote:

> The headset reports connection and battery status on HID interface
> 5. When the device is disconnected, ignore incoming battery
> reports as they will incorrectly report battery level 0.
> 
> Clamp overreported battery values to 100% and add USB ID 1038:12ad
> to the driver's device tables.
> 
> Signed-off-by: Erik Håkansson <erikhakan@gmail.com>
> ---
> Information available online suggests that at least two other Arctis 7
> revisions (2017 and 2019) exist, with different device IDs.  Without
> access to those devices, their protocol compatibility cannot be
> verified, so this patch only adds support for the 2018 model.

Thanks, applied.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] HID: steelseries: Add support for Arctis 7 (2018)
  2026-09-01 20:30 [PATCH] HID: steelseries: Add support for Arctis 7 (2018) Erik Håkansson
  2026-09-11 15:23 ` Jiri Kosina
@ 2026-11-21 11:11 ` Michal Pecio
  2026-11-22 18:32   ` Erik Håkansson
  1 sibling, 1 reply; 4+ messages in thread
From: Michal Pecio @ 2026-11-21 11:11 UTC (permalink / raw)
  To: erikhakan, bentiss, jikos; +Cc: linux-input, linux-kernel

> The headset reports connection and battery status on HID interface
> 5. When the device is disconnected, ignore incoming battery
> reports as they will incorrectly report battery level 0.
> 
> Clamp overreported battery values to 100% and add USB ID 1038:12ad
> to the driver's device tables.
> 
> Signed-off-by: Erik Håkansson <erikhakan@gmail.com>
> ---
> Information available online suggests that at least two other Arctis 7
> revisions (2017 and 2019) exist, with different device IDs.  Without
> access to those devices, their protocol compatibility cannot be
> verified, so this patch only adds support for the 2018 model.

Hi,

It seems that adding this ID here (or some other change?) has caused
regression on some hardware, reported in bugzilla:

https://bugzilla.kernel.org/show_bug.cgi?id=222298

URB status -75 is -EOVERFLOW: URB buffer too small for data returned
by the device or the device babbled (exceeded wMaxPacketSize).

Regards,
Michal

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] HID: steelseries: Add support for Arctis 7 (2018)
  2026-11-21 11:11 ` Michal Pecio
@ 2026-11-22 18:32   ` Erik Håkansson
  0 siblings, 0 replies; 4+ messages in thread
From: Erik Håkansson @ 2026-11-22 18:32 UTC (permalink / raw)
  To: bentiss, jikos, Michal Pecio; +Cc: linux-input, linux-kernel

Hi!

> URB status -75 is -EOVERFLOW: URB buffer too small for data returned
> by the device or the device babbled (exceeded wMaxPacketSize).

I can't reproduce this locally, neither with or without USB hub.

But it seems someone else is reporting the same on Bazzite:
https://github.com/ublue-os/bazzite/issues/6344

It seems the hub itself reports that the port is disabled, both in this report 
and in the bazzite report:

"Nov 19 20:47:58 [REDACTED HOSTNAME] kernel: usb 4-1-port4: disabled by hub 
(EMI?), re-enabling..."

"Nov 15 16:05:59 [REDACTED HOSTNAME] kernel: usb usb1-port2: disabled by hub 
(EMI?), re-enabling..."

I was also contacted by someone privately regarding a completely different 
issue, where the dongle sent incorrect battery responses by reusing the buffer 
for the connect response, which caused the battery response to look like there 
was only 3% left.
After digging around on the internet, I found that someone else had already 
found that on Windows, the Steelseries software waits 10ms between requests so 
I submitted a fix for that here:
https://lore.kernel.org/all/20261024-feature-arctis7-v1-1-583951aa6583@gmail.com/

That too was on CachyOS. I'm on Fedora.

It seems like we simply sent the second request too fast, triggering a bug in 
the firmware. 
Anyway, I have a hard time figuring out what might cause this, and why I can't 
reproduce it. From logs it seems I have the same firmware version as the bug 
reporter.
Any suggestions on how to go forward?

Cheers,
Erik

On Saturday, 21 November 2026 12:11:29 Central European Standard Time Michal 
Pecio wrote:
> > The headset reports connection and battery status on HID interface
> > 5. When the device is disconnected, ignore incoming battery
> > reports as they will incorrectly report battery level 0.
> > 
> > Clamp overreported battery values to 100% and add USB ID 1038:12ad
> > to the driver's device tables.
> > 
> > Signed-off-by: Erik Håkansson <erikhakan@gmail.com>
> > ---
> > Information available online suggests that at least two other Arctis 7
> > revisions (2017 and 2019) exist, with different device IDs.  Without
> > access to those devices, their protocol compatibility cannot be
> > verified, so this patch only adds support for the 2018 model.
> 
> Hi,
> 
> It seems that adding this ID here (or some other change?) has caused
> regression on some hardware, reported in bugzilla:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=222298
> 
> URB status -75 is -EOVERFLOW: URB buffer too small for data returned
> by the device or the device babbled (exceeded wMaxPacketSize).
> 
> Regards,
> Michal





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-22 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-01 20:30 [PATCH] HID: steelseries: Add support for Arctis 7 (2018) Erik Håkansson
2026-09-11 15:23 ` Jiri Kosina
2026-11-21 11:11 ` Michal Pecio
2026-11-22 18:32   ` Erik Håkansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox