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: NEW --- 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: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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