Support for Unifying receiver c52b broken
Created by: doctor64
Information
- Solaar version: 1.0.1, git commit id commit 77e21a0b
- Distribution: Ubuntu 19.10
- Kernel version (ex.
uname -srmo
):Linux 5.3.0-26-generic x86_64 GNU/Linux
- Output of
solaar show
:
bin/solaar show
Exception AttributeError: "'Receiver' object has no attribute '_devices'" in <bound method Receiver.__del__ of <UnifyingReceiver(/dev/hidraw3,3)>> ignored
solaar: error: Logitech receiver not found
Describe the bug Current version from git stop recognize receiver 046d:c52b. See attached logs
To Reproduce Steps to reproduce the behavior:
- start solaar, both cli or gui
- See error in cli, gui version starts but doesn't display receiver
Additional context
lsusb
Bus 002 Device 003: ID 05e3:0616 Genesys Logic, Inc. hub
Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 006: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 023: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 003: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 001 Device 010: ID 09da:9090 A4Tech Co., Ltd. XL-730K / XL-750BK / XL-755BK Mice
Bus 001 Device 009: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 001 Device 007: ID 8086:0808 Intel Corp. USB PnP Sound Device
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bin/solaar -dd show
21:53:15,101 DEBUG [MainThread] logitech_receiver.base: (3) <= w[10 FF 83B5 030000]
21:53:15,102 DEBUG [MainThread] logitech_receiver.base: (3) => r[11 FF 83B5 034A8A9C110A06090000000000000000]
21:53:15,103 DEBUG [MainThread] logitech_receiver.base: (3) <= w[10 FF 80B2 000000]
21:53:15,103 ERROR [MainThread] logitech_receiver.base: write failed, assuming handle 3 no longer available
21:53:15,103 ERROR [MainThread] logitech_receiver.receiver: open DeviceInfo(path=u'/dev/hidraw3', vendor_id=u'046d', product_id=u'c52b', serial=u'', release='1207', manufacturer='Logitech', product='USB Receiver', interface=2, driver=u'logitech-djreceiver')
Traceback (most recent call last):
File "/home/doctor64/Projects/Solaar/lib/logitech_receiver/receiver.py", line 531, in open
return Receiver(handle, device_info)
File "/home/doctor64/Projects/Solaar/lib/logitech_receiver/receiver.py", line 359, in __init__
self.may_unpair = self.write_register(_R.receiver_pairing) is None
File "/home/doctor64/Projects/Solaar/lib/logitech_receiver/hidpp10.py", line 149, in write_register
return device.request(request_id, *value)
File "/home/doctor64/Projects/Solaar/lib/logitech_receiver/receiver.py", line 444, in request
return _base.request(self.handle, 0xFF, request_id, *params)
File "/home/doctor64/Projects/Solaar/lib/logitech_receiver/base.py", line 341, in request
write(ihandle, devnumber, request_data)
File "/home/doctor64/Projects/Solaar/lib/logitech_receiver/base.py", line 171, in write
raise NoReceiver(reason=reason)
NoReceiver: {'reason': OSError(32, 'Broken pipe')}
Exception AttributeError: "'Receiver' object has no attribute '_devices'" in <bound method Receiver.__del__ of <UnifyingReceiver(/dev/hidraw3,3)>> ignored
21:53:15,103 DEBUG [MainThread] solaar.cli: [/dev/hidraw3] => None
solaar: error: Logitech receiver not found