Bug 2020706

Summary: [abrt] solaar: request(): base.py:458:request:logitech_receiver.hidpp20.FeatureCallError: {'number': 255, 'request': 3886, 'error': 2, 'params': b'\x01\x01\x03\x03'}
Product: [Fedora] Fedora Reporter: Mircea Vutcovici <mircea.vutcovici>
Component: solaarAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: dominik, j, richardfearn, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/86446aadc9b9682467bed3dbc281a2c42743d004
Whiteboard: abrt_hash:9b78f074ed368179260aeea2a0d9dffff38bb6a7;VARIANT_ID=workstation;
Fixed In Version: 1.1.0-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-06 11:47:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Mircea Vutcovici 2021-11-05 17:01:02 UTC
Version-Release number of selected component:
solaar-1.0.7-1.fc35

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-solaar-6869.scope
cmdline:        /usr/bin/python3 -s /usr/bin/solaar --window=hide
crash_function: request
exception_type: logitech_receiver.hidpp20.FeatureCallError
executable:     /usr/bin/solaar
interpreter:    python3-3.10.0-1.fc35.x86_64
kernel:         5.14.14-300.fc35.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

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

Comment 1 Mircea Vutcovici 2021-11-05 17:01:04 UTC
Created attachment 1840239 [details]
File: backtrace

Comment 2 Mircea Vutcovici 2021-11-05 17:01:06 UTC
Created attachment 1840240 [details]
File: cpuinfo

Comment 3 Mircea Vutcovici 2021-11-05 17:01:07 UTC
Created attachment 1840241 [details]
File: environ

Comment 4 Mircea Vutcovici 2021-11-05 17:01:08 UTC
Created attachment 1840242 [details]
File: mountinfo

Comment 5 Mircea Vutcovici 2021-11-05 17:01:09 UTC
Created attachment 1840243 [details]
File: namespaces

Comment 6 Mircea Vutcovici 2021-11-05 17:01:11 UTC
Created attachment 1840244 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2021-11-05 20:36:38 UTC
Thanks for the report! Please provide the output of `solaar show`. Can you describe what you were doing when this error occurred? Is it reproducible?

Comment 8 Dominik 'Rathann' Mierzejewski 2021-11-08 14:13:05 UTC
Upstream cannot fix this without `solaar show` output with the device connected and active, please provide.

Comment 9 Dominik 'Rathann' Mierzejewski 2021-11-08 14:13:33 UTC
Please attach the contents of ~/.config/solaar/config.json as well.

Comment 10 Dominik 'Rathann' Mierzejewski 2021-11-11 14:46:32 UTC
*** Bug 2021996 has been marked as a duplicate of this bug. ***

Comment 11 Dominik 'Rathann' Mierzejewski 2021-11-18 13:57:25 UTC
Upstream developer requested your direct involvement to fix this. Could you subscribe to the upstream bug report and respond there directly?

https://github.com/pwr-Solaar/Solaar/issues/1318#issuecomment-972865342

Comment 12 Dominik 'Rathann' Mierzejewski 2021-11-22 22:03:54 UTC
*** Bug 2025569 has been marked as a duplicate of this bug. ***

Comment 13 Dominik 'Rathann' Mierzejewski 2021-11-22 22:10:28 UTC
Thanks for responding upstream!

Comment 14 Fedora Update System 2021-11-30 11:46:17 UTC
FEDORA-2021-e2193fb014 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e2193fb014

Comment 15 Fedora Update System 2021-11-30 11:46:23 UTC
FEDORA-2021-ae6f489c2c has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ae6f489c2c

Comment 16 Fedora Update System 2021-12-01 01:36:49 UTC
FEDORA-2021-e2193fb014 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e2193fb014`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e2193fb014

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2021-12-01 01:56:20 UTC
FEDORA-2021-ae6f489c2c has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ae6f489c2c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ae6f489c2c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2021-12-02 01:15:21 UTC
FEDORA-2021-e2193fb014 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2021-12-10 01:10:44 UTC
FEDORA-2021-ae6f489c2c has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.