pwr-Solaar / Solaar

Linux device manager for Logitech devices
https://pwr-solaar.github.io/Solaar
GNU General Public License v2.0
5.54k stars 410 forks source link

MX Vertical gradually looses features over time when switching how the device is connected! #1628

Closed VorpalBlade closed 2 years ago

VorpalBlade commented 2 years ago

Information

``` Solaar version 1.1.3 USB and Bluetooth Devices 1: MX Vertical Wireless Mouse Device path : /dev/hidraw0 USB id : 046d:B020 Codename : MX Vertical Kind : mouse Protocol : HID++ 4.5 Serial number: Model ID: B020407BC08A Unit ID: 70926049 Bootloader: BOT 78.00.B0009 Firmware: MPM 16.00.B0009 Other: Supports 30 HID++ 2.0 features: 0: ROOT {0000} 1: FEATURE SET {0001} 2: DEVICE FW VERSION {0003} Firmware: Bootloader BOT 78.00.B0009 AAE28E5B17FF Firmware: Firmware MPM 16.00.B0009 B0208E5B17FF Firmware: Other Unit ID: 70926049 Model ID: B020407BC08A Transport IDs: {'btleid': 'B020', 'wpid': '407B', 'usbid': 'C08A'} 3: DEVICE NAME {0005} Name: MX Vertical Advanced Ergonomic Mouse Kind: mouse 4: WIRELESS DEVICE STATUS {1D4B} 5: RESET {0020} 6: CRYPTO ID {0021} 7: DEVICE FRIENDLY NAME {0007} Friendly Name: MX Vertical 8: BATTERY STATUS {1000} Battery: 90%, discharging, next level 50%. 9: unknown:1002 {1002} 10: REPROG CONTROLS V4 {1B04} 11: PERSISTENT REMAPPABLE ACTION {1C00} 12: CHANGE HOST {1814} 13: HOSTS INFO {1815} Host 0 (unpaired): minerva Host 1 (unpaired): theseus Host 2 (unpaired): athena 14: XY STATS {2250} 15: unknown:18B1 {18B1} internal, hidden 16: VERTICAL SCROLLING {2100} Roller type: standard Ratchet per turn: 24 Scroll lines: 0 17: LOWRES WHEEL {2130} Wheel Reports: HID Scroll Wheel Diversion (saved): False Scroll Wheel Diversion : False 18: ADJUSTABLE DPI {2201} 19: unknown:1803 {1803} internal, hidden 20: CONFIG DEVICE PROPS {1806} internal, hidden 21: unknown:1813 {1813} internal, hidden 22: OOBSTATE {1805} internal, hidden 23: unknown:1830 {1830} internal, hidden 24: unknown:18A1 {18A1} internal, hidden 25: unknown:1E00 {1E00} hidden 26: unknown:1EB0 {1EB0} internal, hidden 27: unknown:1E22 {1E22} internal, hidden 28: unknown:1861 {1861} internal, hidden 29: unknown:18C0 {18C0} internal, hidden Has 7 reprogrammable keys: 0: Left Button , default: Left Click => Left Click mse, reprogrammable, analytics key events, pos:0, group:1, group mask:g1 reporting: default 1: Right Button , default: Right Click => Right Click mse, reprogrammable, analytics key events, pos:0, group:1, group mask:g1 reporting: default 2: Middle Button , default: Mouse Middle Button => Mouse Middle Button mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: default 3: Back Button , default: Mouse Back Button => Mouse Back Button mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: default 4: Forward Button , default: Mouse Forward Button => Mouse Forward Button mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: default 5: DPI Switch , default: DPI Switch => DPI Switch mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: default 6: Virtual Gesture Button , default: Virtual Gesture Button => Virtual Gesture Button divertable, virtual, raw XY, force raw XY, pos:0, group:3, group mask:empty reporting: default Has 6 persistent remappable keys: 0: Left Button => Mouse Button: Mouse Button Left 1: Right Button => Mouse Button: Mouse Button Right 2: Middle Button => Mouse Button: Mouse Button Middle 3: Back Button => Mouse Button: Mouse Button Back 4: Forward Button => Mouse Button: Mouse Button Forward 5: unknown:0000 => None Battery: 90%, discharging, next level 50%. ```
``` CONTENTS HERE ```
```console $ solaar -dd 4s 11:41:42,521 INFO [MainThread] root: language en_GB (UTF-8), translations path /usr/share/locale 11:41:42,730 INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up 11:41:42,756 INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events 11:41:42,765 INFO [MainThread] solaar.ui.notify: starting desktop notifications 11:41:42,830 INFO [MainThread] solaar.listener: starting receiver listening threads 11:41:42,840 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw4', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 11:41:42,840 INFO [MainThread] logitech_receiver.base: New lock 14 11:41:43,217 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 11:41:43,722 INFO [MainThread] logitech_receiver.status: pushing device settings [] 11:41:43,745 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 11:41:43,745 INFO [ReceiverListener:hidraw4] logitech_receiver.listener: started with (14) 11:41:43,745 INFO [ReceiverListener:hidraw4] solaar.listener: : notifications listener has started (14) 11:41:43,745 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 11:43:44,871 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 11:43:45,357 WARNING [ReceiverListener:hidraw4] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw4)> no longer available 11:43:45,358 WARNING [ReceiverListener:hidraw4] logitech_receiver.listener: receiver disconnected 11:43:45,358 INFO [ReceiverListener:hidraw4] solaar.listener: : notifications listener has stopped 11:43:46,017 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='C08A', serial='70926049B2A56F79', release=None, manufacturer=None, product=None, interface=2, driver='hid-generic', bus_id=3, isDevice=True) 11:43:46,074 INFO [MainThread] logitech_receiver.base: New lock 22 11:43:46,093 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) 11:43:46,105 INFO [MainThread] logitech_receiver.status: pushing device settings [] 11:43:46,109 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) initialization 11:43:46,109 INFO [ReceiverListener:hidraw3] logitech_receiver.listener: started with (22) 11:43:46,110 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has started (22) 11:43:46,110 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 11:44:11,092 WARNING [ReceiverListener:hidraw3] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw3)> no longer available 11:44:11,093 WARNING [ReceiverListener:hidraw3] logitech_receiver.listener: receiver disconnected 11:44:11,093 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has stopped 11:44:12,796 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw0', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 11:44:12,796 INFO [MainThread] logitech_receiver.base: New lock 23 11:44:14,506 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 11:44:14,574 INFO [MainThread] logitech_receiver.status: pushing device settings [] 11:44:14,596 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 11:44:14,597 INFO [ReceiverListener:hidraw0] logitech_receiver.listener: started with (23) 11:44:14,597 INFO [ReceiverListener:hidraw0] solaar.listener: : notifications listener has started (23) 11:44:14,597 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 11:44:30,241 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw1', vendor_id='046D', product_id='C52B', serial='', release=None, manufacturer=None, product=None, interface=2, driver='logitech-djreceiver', bus_id=3, isDevice=None) 11:44:30,241 INFO [MainThread] logitech_receiver.base: New lock 24 11:44:30,249 INFO [ReceiverListener:hidraw1] logitech_receiver.listener: started with (24) 11:44:30,250 INFO [ReceiverListener:hidraw1] solaar.listener: : notifications listener has started (24) 11:44:30,250 INFO [ReceiverListener:hidraw1] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw1)> 11:44:30,253 INFO [ReceiverListener:hidraw1] logitech_receiver.receiver: : receiver notifications enabled => ('wireless', 'software present') 11:44:30,257 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, No paired devices. (0) 11:44:30,269 INFO [ReceiverListener:hidraw1] logitech_receiver.receiver: : found new device 1 (407B) 11:44:30,269 INFO [ReceiverListener:hidraw1] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 11:44:30,271 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, 1 paired device. (0) 11:44:30,271 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired offline, {'LINK ENCRYPTED': True} (0) 11:44:30,764 WARNING [ReceiverListener:hidraw0] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw0)> no longer available 11:44:30,764 WARNING [ReceiverListener:hidraw0] logitech_receiver.listener: receiver disconnected 11:44:30,765 INFO [ReceiverListener:hidraw0] solaar.listener: : notifications listener has stopped 11:44:30,795 INFO [ReceiverListener:hidraw1] solaar.listener: connection Notification(10,1,41,04,A27B40) for (mouse) 11:44:30,796 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, 1 paired device. (0) 11:44:30,797 INFO [ReceiverListener:hidraw1] logitech_receiver.base: New lock 25 11:44:31,834 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw6', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 11:44:31,834 INFO [MainThread] logitech_receiver.base: New lock 26 11:44:32,104 WARNING [MainThread] logitech_receiver.base: read failed, assuming handle 26 no longer available 11:44:32,105 ERROR [MainThread] solaar.ui: error: nodevice /dev/hidraw6 11:44:34,780 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming handle 25 no longer available 11:44:34,781 ERROR [ReceiverListener:hidraw1] logitech_receiver.listener: processing Notification(10,1,41,04,A27B40) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/logitech_receiver/base.py", line 266, in _read data = _hid.read(int(handle), _MAX_READ_SIZE, timeout) File "/usr/lib/python3.10/site-packages/hidapi/udev.py", line 371, 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.10/site-packages/logitech_receiver/listener.py", line 188, in run self._notifications_callback(n) File "/usr/lib/python3.10/site-packages/solaar/listener.py", line 264, in _notifications_handler _notifications.process(dev, n) File "/usr/lib/python3.10/site-packages/logitech_receiver/notifications.py", line 60, in process return _process_device_notification(device, status, notification) File "/usr/lib/python3.10/site-packages/logitech_receiver/notifications.py", line 178, in _process_device_notification return _process_hidpp10_notification(device, status, n) File "/usr/lib/python3.10/site-packages/logitech_receiver/notifications.py", line 288, in _process_hidpp10_notification status.changed(active=link_established) File "/usr/lib/python3.10/site-packages/logitech_receiver/status.py", line 301, in changed self.read_battery(timestamp) File "/usr/lib/python3.10/site-packages/logitech_receiver/status.py", line 256, in read_battery battery = _hidpp20.get_battery(d) File "/usr/lib/python3.10/site-packages/logitech_receiver/hidpp20.py", line 1274, in get_battery battery = feature_request(device, FEATURE.BATTERY_STATUS) File "/usr/lib/python3.10/site-packages/logitech_receiver/hidpp20.py", line 1159, in feature_request if feature in device.features: File "/usr/lib/python3.10/site-packages/logitech_receiver/hidpp20.py", line 328, in __contains__ reply = self.device.request(0x0000, _pack('!H', ivalue)) File "/usr/lib/python3.10/site-packages/logitech_receiver/device.py", line 400, in request return _base.request( File "/usr/lib/python3.10/site-packages/logitech_receiver/base.py", line 434, in request reply = _read(handle, timeout) File "/usr/lib/python3.10/site-packages/logitech_receiver/base.py", line 270, in _read raise NoReceiver(reason=reason) logitech_receiver.base.NoReceiver: {'reason': OSError(5, 'Input/output error')} 11:44:34,785 INFO [ReceiverListener:hidraw1] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 11:44:34,785 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True} (0) connected 11:44:34,785 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,786 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,787 INFO [ReceiverListener:hidraw1] solaar.listener: connection Notification(10,1,41,04,627B40) for (mouse) 11:44:34,787 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, 1 paired device. (0) 11:44:34,787 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired offline, {} (0) 11:44:34,788 INFO [ReceiverListener:hidraw1] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 11:44:34,788 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired offline, {} (0) disconnected 11:44:34,799 INFO [ReceiverListener:hidraw1] solaar.listener: connection Notification(10,1,41,04,A27B40) for (mouse) 11:44:34,799 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, 1 paired device. (0) 11:44:34,799 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,799 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,800 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,800 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,800 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,800 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,800 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,800 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,801 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,801 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,801 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,802 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,806 INFO [ReceiverListener:hidraw1] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'lowres-smooth-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'dpi', 'dpi-sliding', 'speed-change', 'mouse-gestures', 'backlight', 'backlight-timed', 'fn-swap', 'reprogrammable-keys', 'persistent-remappable-keys', 'divert-keys', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'change-host', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'hires-scroll-mode', 'lowres-scroll-mode'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 11:44:34,806 INFO [ReceiverListener:hidraw1] logitech_receiver.status: pushing device settings [] 11:44:34,806 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True} (0) 11:44:34,807 INFO [ReceiverListener:hidraw1] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 11:44:34,807 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True} (0) connected 11:44:34,808 ERROR [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,808 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: device or receiver disconnected 11:44:34,808 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,808 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 11:44:34,808 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,808 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 11:44:34,809 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,809 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 11:44:34,809 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 25 no longer available 11:44:34,809 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 11:44:34,810 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw1)> no longer available 11:44:34,810 WARNING [ReceiverListener:hidraw1] logitech_receiver.listener: receiver disconnected 11:44:34,810 INFO [ReceiverListener:hidraw1] solaar.listener: : notifications listener has stopped 11:44:41,059 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw1', vendor_id='046D', product_id='C52B', serial='', release=None, manufacturer=None, product=None, interface=2, driver='logitech-djreceiver', bus_id=3, isDevice=None) 11:44:41,067 INFO [ReceiverListener:hidraw1] logitech_receiver.listener: started with (24) 11:44:41,067 INFO [ReceiverListener:hidraw1] solaar.listener: : notifications listener has started (24) 11:44:41,067 INFO [ReceiverListener:hidraw1] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw1)> 11:44:41,075 INFO [ReceiverListener:hidraw1] logitech_receiver.receiver: : receiver notifications enabled => ('wireless', 'software present') 11:44:41,079 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, No paired devices. (0) 11:44:41,097 INFO [ReceiverListener:hidraw1] logitech_receiver.receiver: : found new device 1 (407B) 11:44:41,097 INFO [ReceiverListener:hidraw1] solaar.listener: connection Notification(10,1,41,04,B27B40) for (mouse) 11:44:41,099 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : present, 1 paired device. (0) 11:44:41,209 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 11:44:41,257 INFO [ReceiverListener:hidraw1] logitech_receiver.device: : unitId 70926049 does not match serial 62F21F16 11:44:41,257 INFO [ReceiverListener:hidraw1] logitech_receiver.status: pushing device settings [] 11:44:41,257 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 11:44:41,258 INFO [ReceiverListener:hidraw1] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) ```

Describe the bug When connecting the MX Vertical using the unifying reciever I get lots of settings. I also get these if I use a USB cable.

When I paired and connected with bluetooth I only got the "scroll wheel direction" setting!

Even worse, when I reconnected it via the unifying receiver, all settings are gone! This appears to be persistent until I deleted the _absent key in the Solaar config.

After deleting the _absent key and restarting solaar all settings were back. I then tested to connect via USB and the settings for "Persistent key/Button mapping" and "Key/Button diversion" disappeared, but only for bluetooth. Removing the _absent key brought back that setting again.

To Reproduce Steps to reproduce the behavior:

  1. Switch connection methods back and forth. This is not unreasonable, I need to switch to USB sometimes to charge the mouse!

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I use KDE on X11, not wayland, if that matters.

pfps commented 2 years ago

It is odd that you have all these warnings and error only on bluetooth. Does this happen every time?

Running Solaar from this repository should help in that there is a change to how settings are detected - if there is a value for the setting (i.e., the setting has been detected in the past) then the setting is tried even if it is in _absent.

So try running Solaar from this repository. See whether when not on bluetooth the settings do not disappear. Try running on bluetooth and see whether you still have all the errors and warnings.

VorpalBlade commented 2 years ago

The problem does not seem to be reliably reproducible, apart from "I then tested to connect via USB and the settings for "Persistent key/Button mapping" and "Key/Button diversion" disappeared". However now they are removed from all forms of connections, not just bluetooth and usb.

It seems that the main loss of settings were related to pairing the device, when I switch quickly after that features do not often disappear. That might be something to investigate as well.

I also managed to get the GUI of solaar to completely freeze, when the pairing with the unifying receiver was selected and I switched to bluetooth. This is not reliably reproducible either! Here is what the frozen GUI looks like, nothing is clickable: image

I had been testing cycling back and forth between the unifying receiver and bluetooth several times prior to this. Here is the console log but I don't see anything relevant in it:

```console $ ❯ solaar -dd 37m 14s 12:29:28,130 INFO [MainThread] root: language en_GB (UTF-8), translations path /usr/share/locale 12:29:28,340 INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up 12:29:28,373 INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events 12:29:28,378 INFO [MainThread] solaar.ui.notify: starting desktop notifications 12:29:28,433 INFO [MainThread] solaar.listener: starting receiver listening threads 12:29:28,444 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw0', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 12:29:28,444 INFO [MainThread] logitech_receiver.base: New lock 14 12:29:28,742 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 12:29:29,968 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , , ] 12:29:30,034 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 12:29:30,362 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 12:29:30,363 INFO [ReceiverListener:hidraw0] logitech_receiver.listener: started with (14) 12:29:30,363 INFO [ReceiverListener:hidraw0] solaar.listener: : notifications listener has started (14) 12:29:30,363 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:27:19,654 WARNING [ReceiverListener:hidraw0] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw0)> no longer available 13:27:19,654 WARNING [ReceiverListener:hidraw0] logitech_receiver.listener: receiver disconnected 13:27:19,654 INFO [ReceiverListener:hidraw0] solaar.listener: : notifications listener has stopped 13:27:21,916 INFO [MainThread] solaar.upower: received resume event 13:27:21,916 INFO [MainThread] solaar.listener: ping all devices when resuming 13:27:26,461 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw1', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 13:27:26,462 INFO [MainThread] logitech_receiver.base: New lock 22 13:27:27,069 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:27:28,172 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , , ] 13:27:28,254 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:27:28,678 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 13:27:28,678 INFO [ReceiverListener:hidraw1] logitech_receiver.listener: started with (22) 13:27:28,679 INFO [ReceiverListener:hidraw1] solaar.listener: : notifications listener has started (22) 13:27:28,679 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:07,357 INFO [ReceiverListener:hidraw1] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:07,822 WARNING [ReceiverListener:hidraw1] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw1)> no longer available 13:34:07,822 WARNING [ReceiverListener:hidraw1] logitech_receiver.listener: receiver disconnected 13:34:07,823 INFO [ReceiverListener:hidraw1] solaar.listener: : notifications listener has stopped 13:34:08,558 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw5', vendor_id='046D', product_id='C08A', serial='70926049B2A56F79', release=None, manufacturer=None, product=None, interface=2, driver='hid-generic', bus_id=3, isDevice=True) 13:34:08,615 INFO [MainThread] logitech_receiver.base: New lock 23 13:34:08,634 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) 13:34:08,745 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:34:08,745 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 13:34:08,759 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:34:08,810 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) initialization 13:34:08,811 INFO [ReceiverListener:hidraw5] logitech_receiver.listener: started with (23) 13:34:08,811 INFO [ReceiverListener:hidraw5] solaar.listener: : notifications listener has started (23) 13:34:08,811 INFO [ReceiverListener:hidraw5] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:26,823 WARNING [ReceiverListener:hidraw5] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw5)> no longer available 13:34:26,824 WARNING [ReceiverListener:hidraw5] logitech_receiver.listener: receiver disconnected 13:34:26,824 INFO [ReceiverListener:hidraw5] solaar.listener: : notifications listener has stopped 13:34:27,052 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 13:34:27,053 INFO [MainThread] logitech_receiver.base: New lock 24 13:34:28,598 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:34:29,193 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 13:34:29,265 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:34:29,610 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 13:34:29,610 INFO [ReceiverListener:hidraw3] logitech_receiver.listener: started with (24) 13:34:29,610 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has started (24) 13:34:29,610 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:33,818 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:34,441 WARNING [ReceiverListener:hidraw3] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw3)> no longer available 13:34:34,442 WARNING [ReceiverListener:hidraw3] logitech_receiver.listener: receiver disconnected 13:34:34,442 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has stopped 13:34:35,026 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw7', vendor_id='046D', product_id='C08A', serial='70926049B2A56F79', release=None, manufacturer=None, product=None, interface=2, driver='hid-generic', bus_id=3, isDevice=True) 13:34:35,081 INFO [MainThread] logitech_receiver.base: New lock 25 13:34:35,102 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) 13:34:35,202 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 13:34:35,218 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:34:35,270 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) initialization 13:34:35,271 INFO [ReceiverListener:hidraw7] logitech_receiver.listener: started with (25) 13:34:35,271 INFO [ReceiverListener:hidraw7] solaar.listener: : notifications listener has started (25) 13:34:35,271 INFO [ReceiverListener:hidraw7] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:42,528 WARNING [ReceiverListener:hidraw7] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw7)> no longer available 13:34:42,529 WARNING [ReceiverListener:hidraw7] logitech_receiver.listener: receiver disconnected 13:34:42,529 INFO [ReceiverListener:hidraw7] solaar.listener: : notifications listener has stopped 13:34:42,756 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw4', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 13:34:42,757 INFO [MainThread] logitech_receiver.base: New lock 26 13:34:44,416 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:34:45,192 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 13:34:45,258 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:34:45,631 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 13:34:45,632 INFO [ReceiverListener:hidraw4] logitech_receiver.listener: started with (26) 13:34:45,632 INFO [ReceiverListener:hidraw4] solaar.listener: : notifications listener has started (26) 13:34:45,632 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:51,897 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:34:52,378 WARNING [ReceiverListener:hidraw4] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw4)> no longer available 13:34:52,378 WARNING [ReceiverListener:hidraw4] logitech_receiver.listener: receiver disconnected 13:34:52,379 INFO [ReceiverListener:hidraw4] solaar.listener: : notifications listener has stopped 13:34:53,065 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw9', vendor_id='046D', product_id='C08A', serial='70926049B2A56F79', release=None, manufacturer=None, product=None, interface=2, driver='hid-generic', bus_id=3, isDevice=True) 13:34:53,125 INFO [MainThread] logitech_receiver.base: New lock 27 13:34:53,146 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) 13:34:53,250 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 13:34:53,261 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:34:53,314 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) initialization 13:34:53,315 INFO [ReceiverListener:hidraw9] logitech_receiver.listener: started with (27) 13:34:53,315 INFO [ReceiverListener:hidraw9] solaar.listener: : notifications listener has started (27) 13:34:53,316 INFO [ReceiverListener:hidraw9] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 13:35:59,419 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw10', vendor_id='046D', product_id='C52B', serial='', release=None, manufacturer=None, product=None, interface=2, driver='logitech-djreceiver', bus_id=3, isDevice=None) 13:35:59,419 INFO [MainThread] logitech_receiver.base: New lock 28 13:35:59,428 INFO [ReceiverListener:hidraw10] logitech_receiver.listener: started with (28) 13:35:59,429 INFO [ReceiverListener:hidraw10] solaar.listener: : notifications listener has started (28) 13:35:59,429 INFO [ReceiverListener:hidraw10] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw10)> 13:35:59,432 INFO [ReceiverListener:hidraw10] logitech_receiver.receiver: : receiver notifications enabled => ('wireless', 'software present') 13:35:59,436 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : present, No paired devices. (0) 13:35:59,445 INFO [ReceiverListener:hidraw10] logitech_receiver.receiver: : found new device 1 (407B) 13:35:59,445 INFO [ReceiverListener:hidraw10] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 13:35:59,446 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : present, 1 paired device. (0) 13:35:59,446 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired offline, {'LINK ENCRYPTED': True} (0) 13:36:02,146 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw9)> no longer available 13:36:02,147 WARNING [ReceiverListener:hidraw9] logitech_receiver.listener: receiver disconnected 13:36:02,147 INFO [ReceiverListener:hidraw9] solaar.listener: : notifications listener has stopped 13:36:03,159 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw6', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 13:36:03,160 INFO [MainThread] logitech_receiver.base: New lock 30 13:36:03,268 WARNING [MainThread] logitech_receiver.base: read failed, assuming handle 30 no longer available 13:36:03,269 ERROR [MainThread] solaar.ui: error: nodevice /dev/hidraw6 13:36:03,289 INFO [ReceiverListener:hidraw10] solaar.listener: connection Notification(10,1,41,04,A27B40) for (mouse) 13:36:03,290 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : present, 1 paired device. (0) 13:36:03,291 INFO [ReceiverListener:hidraw10] logitech_receiver.base: New lock 29 13:36:03,390 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:36:03,415 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:36:03,415 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 13:36:03,416 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) connected 13:36:07,510 WARNING [MainThread] logitech_receiver.base: timeout (4.07/4.00) on device 1 request {0208} params [] 13:36:07,534 INFO [MainThread] logitech_receiver.device: : unitId 70926049 does not match serial 62F21F16 13:36:08,115 INFO [ReceiverListener:hidraw10] logitech_receiver.status: pushing device settings [, , , , , , ] 13:36:08,167 INFO [ReceiverListener:hidraw10] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:36:08,510 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 13:36:08,512 INFO [ReceiverListener:hidraw10] logitech_receiver.status: pushing device settings [, , , , , , ] 13:36:08,568 INFO [ReceiverListener:hidraw10] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:36:08,880 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 13:36:08,884 INFO [ReceiverListener:hidraw10] solaar.listener: connection Notification(10,1,41,04,627B40) for (mouse) 13:36:08,884 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : present, 1 paired device. (0) 13:36:08,886 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) 13:36:08,887 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 13:36:08,887 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) disconnected 13:36:08,898 INFO [ReceiverListener:hidraw10] solaar.listener: connection Notification(10,1,41,04,A27B40) for (mouse) 13:36:08,899 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : present, 1 paired device. (0) 13:36:08,920 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:36:08,921 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:36:08,921 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 13:36:08,921 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) connected 13:36:08,922 INFO [ReceiverListener:hidraw10] logitech_receiver.status: pushing device settings [, , , , , , ] 13:36:08,977 INFO [ReceiverListener:hidraw10] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:36:09,292 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 13:36:09,294 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) 13:36:09,295 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) 13:36:09,297 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) 13:40:12,987 INFO [ReceiverListener:hidraw10] solaar.listener: connection Notification(10,1,41,04,627B40) for (mouse) 13:40:12,987 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : present, 1 paired device. (0) 13:40:12,988 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) 13:40:12,989 INFO [ReceiverListener:hidraw10] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 13:40:12,990 INFO [ReceiverListener:hidraw10] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) disconnected 13:40:13,380 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw8', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 13:40:13,380 INFO [MainThread] logitech_receiver.base: New lock 31 13:40:14,542 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 13:40:15,105 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 13:40:15,159 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-mode', 'thumb-scroll-invert', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'divert-crown', 'crown-smooth', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'persistent-remappable-keys'], '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3000, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}}] to /home/arvid/.config/solaar/config.yaml 13:40:15,960 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 13:40:15,960 INFO [ReceiverListener:hidraw8] logitech_receiver.listener: started with (31) 13:40:15,960 INFO [ReceiverListener:hidraw8] solaar.listener: : notifications listener has started (31) 13:40:15,960 INFO [ReceiverListener:hidraw8] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) ```

I will try the upstream repo (I guess there are some recent changes that are relevant?) Is it possible to just run from the git repo or does it need installing, if the latter I will try to solaar-git package from AUR (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=solaar-git).

VorpalBlade commented 2 years ago

Another weird thing happened, with no receiver plugged into the laptop (it had been plugged in about 10 seconds earlier, and had been plugged in for several minutes working correctly, so this was not a case of plug in and immediately unplug or something like that), I got this popup: image

$ ls /dev/hidraw9
ls: cannot access '/dev/hidraw9': No such file or directory

So that popup seems a big bugged?

Note: This is not yet on the latest git version.

pfps commented 2 years ago

If you have Solaar installed you can then just clone from this repository and from that directory run bin/solaar. No further installation required.

pfps commented 2 years ago

The error popup is, I think, due to a different bug in Solaar that is fixed in the repository. Solaar used to not close all accesses to devices, which left phantom or zombine device nodes hanging around. Running from this repository should fix the problem.

pfps commented 2 years ago

The cause of your issue is likely that Solaar is accessing the device before it is completely set up. Bluetooth devices might take longer to set up or Solaar may get access to them earlier. The problem might be specific to the MX Vertical (which I won't have access to for several months). But I want to see whether the problem also exists in the version of Solaar from this repository, as it might be that the fix to the zombie device nodes might have fixed this issue.

VorpalBlade commented 2 years ago

I ran bin/solaar in the repo (I presume it set any required PYTHONPATH etc?)

This is what it first looked like: image

As soon as I connect to USB, one option is gone: image

And now I got into a mode where I'm connect via BT but Solaar does not see the it?

``` 15:21:35,237 INFO [MainThread] root: language en_GB (UTF-8), translations path None 15:21:35,435 INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up 15:21:35,452 INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events 15:21:35,457 INFO [MainThread] solaar.ui.notify: starting desktop notifications 15:21:35,509 INFO [MainThread] solaar.listener: starting receiver listening threads 15:21:35,516 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw0', vendor_id='046D', product_id='C52B', serial='', release=None, manufacturer=None, product=None, interface=2, driver='logitech-djreceiver', bus_id=3, isDevice=None) 15:21:35,516 INFO [MainThread] logitech_receiver.base: New lock 13 15:21:35,525 INFO [ReceiverListener:hidraw0] logitech_receiver.listener: started with (13) 15:21:35,525 INFO [ReceiverListener:hidraw0] solaar.listener: : notifications listener has started (13) 15:21:35,525 INFO [ReceiverListener:hidraw0] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw0)> 15:21:35,530 INFO [ReceiverListener:hidraw0] logitech_receiver.receiver: : receiver notifications enabled => ('wireless', 'software present') 15:21:35,532 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 15:21:35,532 INFO [MainThread] logitech_receiver.base: New lock 14 15:21:35,535 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, No paired devices. (0) 15:21:35,541 INFO [ReceiverListener:hidraw0] logitech_receiver.receiver: : found new device 1 (407B) 15:21:35,541 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 15:21:35,543 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:21:35,543 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'LINK ENCRYPTED': True} (0) 15:21:35,845 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:21:37,801 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:21:37,801 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:21:37,872 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:21:38,219 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 15:21:38,219 INFO [ReceiverListener:hidraw3] logitech_receiver.listener: started with (14) 15:21:38,220 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has started (14) 15:21:38,220 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 15:22:29,701 WARNING [ReceiverListener:hidraw3] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw3)> no longer available 15:22:29,702 WARNING [ReceiverListener:hidraw3] logitech_receiver.listener: receiver disconnected 15:22:29,702 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has stopped 15:22:29,719 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,B27B40) for (mouse) 15:22:29,720 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:22:29,720 INFO [ReceiverListener:hidraw0] logitech_receiver.base: New lock 15 15:22:29,825 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:22:29,849 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:22:29,850 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 15:22:29,850 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) connected 15:22:31,570 INFO [ReceiverListener:hidraw0] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:22:31,620 INFO [ReceiverListener:hidraw0] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:22:31,955 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 15:22:31,956 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 15:22:31,956 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:22:31,957 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) 15:22:31,957 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 15:22:31,957 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) disconnected 15:22:31,967 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,B27B40) for (mouse) 15:22:31,968 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:22:31,987 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:22:31,988 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:22:31,988 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 15:22:31,988 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) connected 15:22:31,989 INFO [ReceiverListener:hidraw0] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:22:32,041 INFO [ReceiverListener:hidraw0] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:22:32,351 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 15:22:34,117 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 15:22:34,118 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:22:34,119 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) 15:22:34,120 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 15:22:34,121 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) disconnected 15:22:34,536 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 15:22:36,044 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:22:37,473 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:22:37,529 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:22:37,844 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 15:22:37,845 INFO [ReceiverListener:hidraw3] logitech_receiver.listener: started with (14) 15:22:37,845 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has started (14) 15:22:37,846 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 15:22:52,538 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 15:22:53,021 WARNING [ReceiverListener:hidraw3] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw3)> no longer available 15:22:53,021 WARNING [ReceiverListener:hidraw3] logitech_receiver.listener: receiver disconnected 15:22:53,021 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has stopped 15:22:53,753 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw5', vendor_id='046D', product_id='C08A', serial='70926049B2A56F79', release=None, manufacturer=None, product=None, interface=2, driver='hid-generic', bus_id=3, isDevice=True) 15:22:53,825 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) 15:22:53,930 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , ] 15:22:53,947 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:22:53,997 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None} (0) initialization 15:22:53,998 INFO [ReceiverListener:hidraw5] logitech_receiver.listener: started with (14) 15:22:53,999 INFO [ReceiverListener:hidraw5] solaar.listener: : notifications listener has started (14) 15:22:53,999 INFO [ReceiverListener:hidraw5] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': NamedInt(50, 'good'), 'BATTERY STATUS': NamedInt(1, 'recharging'), 'BATTERY NEXT LEVEL': 0, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': True, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 15:23:54,876 WARNING [ReceiverListener:hidraw5] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw5)> no longer available 15:23:54,881 WARNING [ReceiverListener:hidraw5] logitech_receiver.listener: receiver disconnected 15:23:54,882 INFO [ReceiverListener:hidraw5] solaar.listener: : notifications listener has stopped 15:23:56,386 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 15:23:56,497 WARNING [MainThread] logitech_receiver.base: read failed, assuming handle 14 no longer available 15:23:56,498 ERROR [MainThread] solaar.ui: error: nodevice /dev/hidraw3 15:23:56,546 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,B27B40) for (mouse) 15:23:56,546 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:23:56,580 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:23:56,580 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:23:56,580 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 15:23:56,581 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) connected 15:23:56,581 INFO [ReceiverListener:hidraw0] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:23:56,636 INFO [ReceiverListener:hidraw0] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:23:56,958 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 15:23:56,959 INFO [ReceiverListener:hidraw0] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:23:57,015 INFO [ReceiverListener:hidraw0] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:23:57,622 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 15:23:58,795 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:23:59,988 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:24:00,065 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:24:00,066 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,066 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,067 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,067 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,068 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,068 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,069 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,069 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,069 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,070 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,070 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,071 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,071 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,071 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,071 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,072 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,072 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,072 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,072 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,073 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,073 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,073 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,073 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,073 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,073 ERROR [MainThread] logitech_receiver.base: read failed, assuming receiver 14 no longer available 15:24:00,074 WARNING [MainThread] logitech_receiver.base: device or receiver disconnected 15:24:00,074 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 15:24:00,074 INFO [ReceiverListener:hidraw3] logitech_receiver.listener: started with (14) 15:24:00,074 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has started (14) 15:24:00,074 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) 15:24:00,075 WARNING [ReceiverListener:hidraw3] logitech_receiver.base: read failed, assuming handle <_ThreadedHandle(/dev/hidraw3)> no longer available 15:24:00,075 WARNING [ReceiverListener:hidraw3] logitech_receiver.listener: receiver disconnected 15:24:00,075 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has stopped 15:24:01,316 WARNING [ReceiverListener:hidraw0] logitech_receiver.base: timeout (4.22/4.00) on device 1 request {0A3D} params [0051000051] 15:24:01,336 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 15:24:01,338 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) 15:24:01,340 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) 15:24:01,342 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 15:24:01,342 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:24:01,344 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) 15:24:01,345 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 15:24:01,346 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) disconnected ```

Cycling the 3-mode button on the bottom of the mouse around made it reappear as bluetooth, but then the GUI hanged like before. Here is the rest of that log from above after I did that

``` 15:25:32,843 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,B27B40) for (mouse) 15:25:32,843 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:25:32,869 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:25:32,869 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:25:32,869 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: True Notification(20,1,42,00,0000000000000000000000) 15:25:32,870 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) connected 15:25:32,870 INFO [ReceiverListener:hidraw0] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:25:32,928 INFO [ReceiverListener:hidraw0] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:25:33,239 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'LINK ENCRYPTED': True, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) powered on 15:25:33,240 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : spurious BATTERY status Notification(11,1,08,10,0404C096050000000000000000000000) 15:25:35,053 INFO [ReceiverListener:hidraw0] solaar.listener: connection Notification(10,1,41,04,727B40) for (mouse) 15:25:35,053 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : present, 1 paired device. (0) 15:25:35,054 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) 15:25:35,055 INFO [ReceiverListener:hidraw0] logitech_receiver.notifications: : DJ connection: False Notification(20,1,42,01,0000000000000000000000) 15:25:35,056 INFO [ReceiverListener:hidraw0] solaar.listener: status_changed : paired offline, {'BATTERY LEVEL': 90} (0) disconnected 15:25:35,307 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw3', vendor_id='046D', product_id='B020', serial='c7:2e:35:1b:ed:50', release=None, manufacturer=None, product=None, interface=None, driver='hid-generic', bus_id=5, isDevice=True) 15:25:36,477 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 15:25:37,681 INFO [MainThread] logitech_receiver.status: pushing device settings [, , , , , , , ] 15:25:37,735 INFO [MainThread] solaar.configuration: saved ['1.1.3', {'_NAME': 'MX Vertical Wireless Mouse', '_modelId': 'B020407BC08A', '_sensitive': {'dpi-sliding': True}, '_serial': '62F21F16', '_unitId': '70926049', '_wpid': '407B', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 1}, 'dpi': 3700, 'dpi-sliding': '253', 'lowres-scroll-mode': False, 'lowres-smooth-scroll': False, 'mouse-gestures': 0, 'persistent-remappable-keys': None, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 253: 253}, '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'pointer_speed', 'speed-change', 'backlight', 'backlight-timed', 'fn-swap', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params']}] to /home/arvid/.config/solaar/config.yaml 15:25:38,108 INFO [MainThread] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization 15:25:38,109 INFO [ReceiverListener:hidraw3] logitech_receiver.listener: started with (14) 15:25:38,109 INFO [ReceiverListener:hidraw3] solaar.listener: : notifications listener has started (14) 15:25:38,109 INFO [ReceiverListener:hidraw3] solaar.listener: status_changed : paired online, {'BATTERY LEVEL': 90, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None, 'NOTIFICATION FLAGS': False} (0) ```

However, now the missing setting appears ot be back by itself?

I have yet to reproduce the original issue though. I'll try re-pairing next

pfps commented 2 years ago

The multiple errors appear to be a problem of some sort. Can you determine under which conditions they are active (e.g., bluetooth only, only when switching to bluetooth).

As far as one setting being missing sometimes, devices run different code in different connections. (Yes, this seems weird.) So it is possible that the MX Vertical does not have that setting in all connection modes. To find out connect each possible way and run /bin/solaar show for each, checking which features show up. If there is a difference in the features then that explains the setting difference.

VorpalBlade commented 2 years ago

I have the following set up for the 3 connections: 1 is receiver, 2 is another computer (not turned on) also via receiver, 3 is this laptop via bluetooth.

When I cycle quickly I get the popup about hidraw. As far as I can determine the hidraw device it refers to is actually only there when bluetooth is active. So the error is a bit incorrect, and is not about the receiver at all.

Some times these popups show up behind solaar. It is possible the hangs I saw were in fact that, as this seem to block the main GUI of Solaar in a very similar way. I have noticed "pop behinds" before sometimes with non-native programs in KDE, so that might not be a bug in solaar.

I have yet to reproduce the original problem though, which seems good. However, I need to try to reproduce it more with the old solaar version to see how reliable reproducing it there is. Otherwise I have no clue when I have "tested enough" on the new version. I won't have time to do that today though.

I also only managed to reproduce "mouse connected via BT and working, but Solaar doesn't see it" once (so two times in total, including the initial event).

It looks as if there are race conditions and timing issues perhaps. As for the feature set. You are right, solaar show is substantially different.

mbastiaan commented 2 years ago

I don't know if it is related to this bug, but I have a lot of missing settings for my K400+ keyboard. I used to be able to enable/disable all the gesture settings and other settings, now it's only a couple of settings.

Screenshot from 2022-06-19 22-48-54

Running version 1.1.3

solaar show shows all the gestures for the K400+ and if they're enabled or disabled.

pfps commented 2 years ago

This is likely partly related. Look in ~/.config/solaar/config.yaml and see whether the _absent value has entries that look like they should be settings for your device. If you remove the entire _absent value then the missing settings should come back. (What happened is that Solaar encountered an error when trying to set up the setting and it blacklisted the setting.)

The version of Solaar in this repository checks to see if there is a value for the setting before blacklisting it. To prevent the problem recurring you can download and run this version of Solaar.

pfps commented 2 years ago

I've experienced problems with Bluetooth in 5.17 and 5.18 with the bluez stack. There are some bugs reported for Bluetooth that appear to be related to correctly shutting down Bluetooth connections. So errors that only show up when a device is on bluetooth could easily not be a problem with Solaar, so long as you are running Solaar from this repository. Solaar version 1.1.3 does not always close device files when the device disappears, which can cause problems for Bluetooth-connected devices.

pfps commented 2 years ago

Closing as likely fixed in the version of Solaar in this repository.

VorpalBlade commented 2 years ago

Seems to be fixed by the newer version for me yes. Took a few days of testing to be sure as reproducibility was rather low.