Bug 1942301

Summary: [abrt] solaar: request(): base.py:428:request:logitech_receiver.hidpp20.FeatureCallError: {'number': 0, 'request': 3887, 'error': 2, 'params': b'\x01\x01\x03\x01'}
Product: [Fedora] Fedora Reporter: Kristian Wrang <kristian.wrang>
Component: solaarAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: blu2lz, dominik, j, richardfearn, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/aa72767ecfdb44f4076455f99246718a49047722
Whiteboard: abrt_hash:ae30772bca822bb034062188c50cedb9ffab9df6;VARIANT_ID=workstation;
Fixed In Version: solaar-1.0.6-1.fc34 solaar-1.0.6-1.fc33 solaar-1.0.6-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-14 17:50:09 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 Kristian Wrang 2021-03-24 05:31:24 UTC
Description of problem:
1. Use PC normally with MX Master connected via Bluetooth
2. Switch device selector on MX Master to another paired machine (a Windows PC, a Mac, does not seem to make a difference)
3. After using other machine, switch device on MX Master back to Fedora PC
-> Crash

Version-Release number of selected component:
solaar-1.0.4-3.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app-gnome-solaar-2086.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.9.2-1.fc33.x86_64
kernel:         5.10.23-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
base.py:428:request:logitech_receiver.hidpp20.FeatureCallError: {'number': 0, 'request': 3887, 'error': 2, 'params': b'\x01\x01\x03\x01'}

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/solaar/listener.py", line 377, in _process_receiver_event
    _start(device_info)
  File "/usr/lib/python3.9/site-packages/solaar/listener.py", line 286, in _start
    receiver.status.changed(True)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/status.py", line 308, in changed
    s.apply()
  File "/usr/lib/python3.9/site-packages/logitech_receiver/settings.py", line 181, in apply
    self.write(value)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/settings.py", line 457, in write
    reply = self._rw.write(self._device, b)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/settings.py", line 543, in write
    reply = device.feature_request(self.feature, self.write_fnid, data_bytes, no_reply=self.no_reply)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/device.py", line 435, in feature_request
    return _hidpp20.feature_request(self, feature, function, *params, no_reply=no_reply)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/hidpp20.py", line 1019, in feature_request
    return device.request((feature_index << 8) + (function & 0xFF), *params, no_reply=no_reply)
  File "/usr/lib/python3.9/site-packages/logitech_receiver/device.py", line 424, in request
    return _base.request(
  File "/usr/lib/python3.9/site-packages/logitech_receiver/base.py", line 428, in request
    raise _hidpp20.FeatureCallError(number=devnumber, request=request_id, error=error, params=params)
logitech_receiver.hidpp20.FeatureCallError: {'number': 0, 'request': 3887, 'error': 2, 'params': b'\x01\x01\x03\x01'}

Local variables in innermost frame:
handle: <_ThreadedHandle(/dev/hidraw5)>
devnumber: 0
request_id: 3887
no_reply: False
return_error: False
long_message: True
params: b'\x01\x01\x03\x01'
timeout: 4
request_data: b'\x0f/\x01\x01\x03\x01'
ihandle: 26
notifications_hook: None
request_started: 1616411042.8927188
delta: 0
reply: (17, 0, b'\xff\x0f/\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
report_id: 17
reply_devnumber: 0
reply_data: b'\xff\x0f/\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
error: 2

Comment 1 Kristian Wrang 2021-03-24 05:31:27 UTC
Created attachment 1765814 [details]
File: backtrace

Comment 2 Kristian Wrang 2021-03-24 05:31:28 UTC
Created attachment 1765815 [details]
File: cpuinfo

Comment 3 Kristian Wrang 2021-03-24 05:31:29 UTC
Created attachment 1765816 [details]
File: environ

Comment 4 Kristian Wrang 2021-03-24 05:31:31 UTC
Created attachment 1765817 [details]
File: mountinfo

Comment 5 Kristian Wrang 2021-03-24 05:31:32 UTC
Created attachment 1765818 [details]
File: namespaces

Comment 6 Kristian Wrang 2021-03-24 05:31:33 UTC
Created attachment 1765819 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2021-03-24 10:17:10 UTC
Please retry with 1.0.5 version from updates-testing:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-29e46f692b

Comment 8 Dominik 'Rathann' Mierzejewski 2021-05-11 22:58:29 UTC
*** Bug 1926998 has been marked as a duplicate of this bug. ***

Comment 9 Fedora Update System 2021-05-11 23:17:43 UTC
FEDORA-2021-5ac5f16b04 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5ac5f16b04

Comment 10 Fedora Update System 2021-05-11 23:17:53 UTC
FEDORA-2021-2334108276 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2334108276

Comment 11 Fedora Update System 2021-05-11 23:18:01 UTC
FEDORA-2021-b0a92f8297 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b0a92f8297

Comment 12 Fedora Update System 2021-05-12 06:13:26 UTC
FEDORA-2021-5ac5f16b04 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-5ac5f16b04`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5ac5f16b04

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

Comment 13 Fedora Update System 2021-05-12 06:50:27 UTC
FEDORA-2021-2334108276 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2334108276`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2334108276

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

Comment 14 Fedora Update System 2021-05-12 07:06:01 UTC
FEDORA-2021-b0a92f8297 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-b0a92f8297`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b0a92f8297

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

Comment 15 Fedora Update System 2021-05-14 17:50:09 UTC
FEDORA-2021-b0a92f8297 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2021-05-15 00:55:24 UTC
FEDORA-2021-2334108276 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2021-05-20 01:27:07 UTC
FEDORA-2021-5ac5f16b04 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.