"show" tracebacks on G935 headset
Created by: hadess
Using current git version on a Logitech G935 headset:
$ ./bin/solaar -D /dev/hidraw5 --debug show
2022-12-05 17:31:27,905,905 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046D PID 00000A87: No module named 'hid_parser'
2022-12-05 17:31:27,906,906 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046D PID 0000C52B: No module named 'hid_parser'
2022-12-05 17:31:27,907,907 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0005 VID 0000046D PID 0000B02A: No module named 'hid_parser'
solaar version 1.1.7-37-g7874886
USB and Bluetooth Devices
1: G935 Gaming Headset
Device path : /dev/hidraw5
USB id : 046d:0A87
Codename : G935 Headset
Kind : headset
Protocol : HID++ 4.2
Serial number:
Model ID: 000000000A87
Unit ID: FFFFFFFF
Firmware: U1 29.00.B0012
Supports 9 HID++ 2.0 features:
2022-12-05 17:31:27,978,978 ERROR [MainThread] logitech_receiver.base: (4) device 255 error on feature request {0609}: 5 = logitech internal
Traceback (most recent call last):
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/settings_templates.py", line 1250, in check_feature
detected = sclass.build(device)
^^^^^^^^^^^^^^^^^^^^
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/settings.py", line 233, in build
validator = validator_class.build(cls, device, **cls.validator_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/settings_templates.py", line 1177, in build
data = device.feature_request(_F.EQUALIZER, 0x00)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/device.py", line 443, in feature_request
return _hidpp20.feature_request(self, feature, function, *params, no_reply=no_reply)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/hidpp20.py", line 1126, in feature_request
return device.request((feature_index << 8) + (function & 0xFF), *params, no_reply=no_reply)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/device.py", line 431, in request
return _base.request(
^^^^^^^^^^^^^^
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/base.py", line 460, in request
raise _hidpp20.FeatureCallError(number=devnumber, request=request_id, error=error, params=params)
logitech_receiver.hidpp20.FeatureCallError: {'number': 255, 'request': 1545, 'error': 5, 'params': b''}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hadess/Projects/jhbuild/Solaar/lib/logitech_receiver/common.py", line 254, in __getattr__
return super().__getattr__(k)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'super' object has no attribute '__getattr__'. Did you mean: '__setattr__'?
There's more errors after that, with expections during exception handling.
This is the output I got from the tools at https://github.com/cvuchener/hidpp:
$ src/tools/hidpp-list-features /dev/hidraw5
Logitech G935 Gaming Headset (046d:0a87) is a HID++ 4.2 device
Feature 0x01: [0x0001] Feature set
Feature 0x02: [0x0003] Device FW version
Feature 0x03: [0x0005] Device name
Feature 0x04: [0x8070] Color LED effects
Feature 0x05: [0x8010] G-key
Feature 0x06: [0x8310] Equalizer
Feature 0x07: [0x8300] Sidetone
Feature 0x08: [0x1f20] ADC Measurement
Bisected to ec0e304f