Sapd / HeadsetControl

Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro) in Linux and MacOSX
GNU General Public License v3.0
1.47k stars 178 forks source link

Fix: Add ID for Arctis Nova 7X revision #352

Closed rpbaptist closed 5 months ago

rpbaptist commented 5 months ago

Changes made

The ID for Arctis Nova 7X seems to be incorrect.

❯ headsetcontrol -b
No supported device found

❯ headsetcontrol --dev -- --list --device 0x1038:0x2258
Device Found
  VendorID: 0x1038
 ProductID: 0x2258
  path: /dev/hidraw7
  serial_number: 
  Manufacturer: SteelSeries
  Product:      Arctis Nova 7X
  Interface:    3
  Usage-Page: 0xffc0 Usageid: 0x1

Device Found
  VendorID: 0x1038
 ProductID: 0x2258
  path: /dev/hidraw8
  serial_number: 
  Manufacturer: SteelSeries
  Product:      Arctis Nova 7X
  Interface:    4
  Usage-Page: 0xc Usageid: 0x1

Device Found
  VendorID: 0x1038
 ProductID: 0x2258
  path: /dev/hidraw9
  serial_number: 
  Manufacturer: SteelSeries
  Product:      Arctis Nova 7X
  Interface:    5
  Usage-Page: 0xff00 Usageid: 0x1

After changing the ID and recompiling and installing:

❯ headsetcontrol -b
Found SteelSeries Arctis Nova 7 (Arctis Nova 7X)!

Battery:
    Status: BATTERY_AVAILABLE
    Level: 100%

Checklist

Sapd commented 5 months ago

There seems to be multiple revisions/ids of the same device: https://github.com/Sapd/HeadsetControl/pull/233 So instead of replacing it you will probably have to add yours.

rpbaptist commented 5 months ago

There seems to be multiple revisions/ids of the same device: #233 So instead of replacing it you will probably have to add yours.

Thanks. I gave it a shot by simply adding _v2 to it. All seems to be in order, but I'm not familiar with the code here, so I might be overlooking something.

Found SteelSeries Arctis Nova 7 (Arctis Nova 7X)!

Battery:
    Status: BATTERY_AVAILABLE
    Level: 100%