Bug 2232669

Summary: [abrt] solaar: read(): base.py:274:_read:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}
Product: [Fedora] Fedora Reporter: ahmadrg49
Component: solaarAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: dominik, j, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/fd43b1428317b67350e689b909dcc006c78f4c6a
Whiteboard: abrt_hash:5125e86e50a407199b52cb91618b35c8b46f7dea;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-15 12:21:15 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 ahmadrg49 2023-08-17 20:21:49 UTC
Description of problem:
Unpredictable, while doing my usual work/studying the keyboard logitch mx keys mini stops working, while the mouse which is connected through dongle keeps working

Version-Release number of selected component:
solaar-1.1.9-1.fc37

Additional info:
reporter:       libreport-2.17.11
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-solaar-1623.scope
cmdline:        /usr/bin/python3 -sP /usr/bin/solaar --window=hide
crash_function: read
exception_type: OSError
executable:     /usr/bin/solaar
interpreter:    python3-3.11.4-1.fc37.x86_64
kernel:         6.4.7-100.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
base.py:274:_read:logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 270, in _read
    data = _hid.read(int(handle), _MAX_READ_SIZE, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/hidapi/udev.py", line 402, in read
    data = _os.read(device_handle, bytes_count)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 5] Input/output error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/solaar/ui/__init__.py", line 196, in _status_changed
    window.update(device, need_popup, refresh)
  File "/usr/lib/python3.11/site-packages/solaar/ui/window.py", line 859, in update
    if device.kind is None:  # receiver
       ^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/device.py", line 254, in kind
    kind = _hidpp20.get_kind(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/hidpp20.py", line 1184, in get_kind
    kind = feature_request(device, FEATURE.DEVICE_NAME, 0x20)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/hidpp20.py", line 1126, in feature_request
    return device.request((feature_index << 8) + (function & 0xFF), *params, no_reply=no_reply)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/device.py", line 435, in request
    return _base.request(
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 438, in request
    reply = _read(handle, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/logitech_receiver/base.py", line 274, in _read
    raise NoReceiver(reason=reason)
logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')}

Local variables in innermost frame:
handle: <_ThreadedHandle(/dev/hidraw2)>
timeout: 900

Potential duplicate: bug 2195911

Comment 1 ahmadrg49 2023-08-17 20:21:53 UTC
Created attachment 1983912 [details]
File: backtrace

Comment 2 ahmadrg49 2023-08-17 20:21:54 UTC
Created attachment 1983913 [details]
File: cpuinfo

Comment 3 ahmadrg49 2023-08-17 20:21:56 UTC
Created attachment 1983914 [details]
File: environ

Comment 4 ahmadrg49 2023-08-17 20:21:58 UTC
Created attachment 1983915 [details]
File: mountinfo

Comment 5 ahmadrg49 2023-08-17 20:21:59 UTC
Created attachment 1983916 [details]
File: namespaces

Comment 6 ahmadrg49 2023-08-17 20:22:00 UTC
Created attachment 1983917 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2023-09-25 08:46:26 UTC
Thanks for the report. Please check if you can reproduce this with 1.1.10 (https://bodhi.fedoraproject.org/updates/FEDORA-2023-8e6e9ec705).

Comment 8 Aoife Moloney 2023-11-23 01:49:18 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Aoife Moloney 2024-01-15 12:21:15 UTC
Fedora Linux 37 entered end-of-life (EOL) status on 2023-12-05.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Red Hat Bugzilla 2024-05-15 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days