error writing gestures feature
Created by: rathann
Information
- Solaar version (
solaar --version
orgit describe --tags
if cloned from this repository):1.0.7
- Distribution:
Fedora 35
- Kernel version (ex.
uname -srmo
):5.14.14-300.fc35.x86_64
- Output of
solaar show
:
N/A, will provide when the original reporter responds
Describe the bug A Fedora user reported getting an exception in solaar. No reproduction steps provided so far.
Truncated backtrace:
base.py:458:request:logitech_receiver.hidpp20.FeatureCallError: {'number': 255, 'request': 3886, 'error': 2, 'params': b'\x01\x01\x03\x03'}
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/solaar/listener.py", line 391, in _process_receiver_event
_start(device_info)
File "/usr/lib/python3.10/site-packages/solaar/listener.py", line 294, in _start
rl = ReceiverListener(receiver, _status_callback)
File "/usr/lib/python3.10/site-packages/solaar/listener.py", line 84, in __init__
receiver.status.changed(True)
File "/usr/lib/python3.10/site-packages/logitech_receiver/status.py", line 310, in changed
_settings.apply_all_settings(d)
File "/usr/lib/python3.10/site-packages/logitech_receiver/settings.py", line 1213, in apply_all_settings
s.apply()
File "/usr/lib/python3.10/site-packages/logitech_receiver/settings.py", line 190, in apply
self.write(value, save=False)
File "/usr/lib/python3.10/site-packages/logitech_receiver/settings.py", line 471, in write
reply = self._rw.write(self._device, b)
File "/usr/lib/python3.10/site-packages/logitech_receiver/settings.py", line 563, in write
reply = device.feature_request(self.feature, self.write_fnid, self.prefix, data_bytes, no_reply=self.no_reply)
File "/usr/lib/python3.10/site-packages/logitech_receiver/device.py", line 451, in feature_request
return _hidpp20.feature_request(self, feature, function, *params, no_reply=no_reply)
File "/usr/lib/python3.10/site-packages/logitech_receiver/hidpp20.py", line 1028, in feature_request
return device.request((feature_index << 8) + (function & 0xFF), *params, no_reply=no_reply)
File "/usr/lib/python3.10/site-packages/logitech_receiver/device.py", line 439, in request
return _base.request(
File "/usr/lib/python3.10/site-packages/logitech_receiver/base.py", line 458, in request
raise _hidpp20.FeatureCallError(number=devnumber, request=request_id, error=error, params=params)
logitech_receiver.hidpp20.FeatureCallError: {'number': 255, 'request': 3886, 'error': 2, 'params': b'\x01\x01\x03\x03'}
Local variables in innermost frame:
handle: 28
devnumber: 255
request_id: 3886
no_reply: False
return_error: False
long_message: True
protocol: 4.5
params: b'\x01\x01\x03\x03'
timeout: 0.9
request_data: b'\x0f.\x01\x01\x03\x03'
ihandle: 28
notifications_hook: None
request_started: 1636131619.2970185
delta: 0.014763593673706055
reply: (17, 255, b'\xff\x0f.\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
report_id: 17
reply_devnumber: 255
reply_data: b'\xff\x0f.\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
error: 2
To Reproduce Steps to reproduce the behavior: N/A, I'll add them when the original reporter responds.
Additional context Downstream bug report 2020706.