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

The checkboxes spin #2425

Closed c02y closed 6 months ago

c02y commented 7 months ago

Information

``` solaar version 1.1.11-6-g12de2409 Bolt Receiver Device path : /dev/hidraw6 USB id : 046d:C548 Serial : 34364330383038433637373538413338 Has 0 paired device(s) out of a maximum of 6. Notifications: wireless, software present (0x000900) Device activity counters: (empty) LIFT VERTICAL ERGONOMIC MOUSE Device path : /dev/hidraw9 USB id : 046d:B031 Codename : LIFT Kind : mouse Protocol : HID++ 4.5 Serial number: Model ID: B03100000000 Unit ID: B437061E Bootloader: BL1 56.00.B0008 Firmware: RBM 21.00.B0008 Other: Supports 32 HID++ 2.0 features: 0: ROOT {0000} V0 1: FEATURE SET {0001} V0 2: DEVICE FW VERSION {0003} V4 Firmware: Bootloader BL1 56.00.B0008 B0317599BD37 Firmware: Firmware RBM 21.00.B0008 B0317599BD37 Firmware: Other Unit ID: B437061E Model ID: B03100000000 Transport IDs: {'btleid': 'B031'} 3: DEVICE NAME {0005} V0 Name: LIFT VERTICAL ERGONOMIC MOUSE Kind: mouse 4: WIRELESS DEVICE STATUS {1D4B} V0 5: CONFIG CHANGE {0020} V0 6: CRYPTO ID {0021} V1 7: DEVICE FRIENDLY NAME {0007} V0 Friendly Name: LIFT 8: UNIFIED BATTERY {1004} V3 Battery: 35%, discharging. 9: REPROG CONTROLS V4 {1B04} V5 Key/Button Actions (saved): {Middle Button:Mouse Middle Button, Back Button:Mouse Back Button, Forward Button:Left Click, DPI Switch:DPI Switch} Key/Button Actions : {Middle Button:Mouse Middle Button, Back Button:Mouse Back Button, Forward Button:Left Click, DPI Switch:DPI Switch} Key/Button Diversion (saved): {Middle Button:Regular, Back Button:Regular, Forward Button:Regular, DPI Switch:Regular} Key/Button Diversion : {Middle Button:Regular, Back Button:Regular, Forward Button:Regular, DPI Switch:Regular} 10: CHANGE HOST {1814} V1 Change Host : 1:Archlinux 11: HOSTS INFO {1815} V2 Host 0 (paired): Archlinux Host 1 (unpaired): Host 2 (unpaired): 12: XY STATS {2250} V1 13: LOWRES WHEEL {2130} V0 Wheel Reports: HID Scroll Wheel Diversion (saved): False Scroll Wheel Diversion : False 14: ADJUSTABLE DPI {2201} V2 Sensitivity (DPI) (saved): 1300 Sensitivity (DPI) : 1300 15: DFUCONTROL {00C3} V0 16: DEVICE RESET {1802} V0 internal, hidden, unknown:000010 17: unknown:1803 {1803} V0 internal, hidden, unknown:000010 18: CONFIG DEVICE PROPS {1806} V8 internal, hidden, unknown:000010 19: unknown:1816 {1816} V0 internal, hidden, unknown:000010 20: OOBSTATE {1805} V0 internal, hidden 21: unknown:1830 {1830} V0 internal, hidden, unknown:000010 22: unknown:1891 {1891} V7 internal, hidden, unknown:000008 23: unknown:18A1 {18A1} V0 internal, hidden, unknown:000010 24: unknown:1E00 {1E00} V0 hidden 25: unknown:1E02 {1E02} V0 internal, hidden 26: unknown:1E22 {1E22} V1 internal, hidden, unknown:000010 27: unknown:1602 {1602} V0 28: unknown:1EB0 {1EB0} V0 internal, hidden, unknown:000010 29: unknown:1861 {1861} V1 internal, hidden, unknown:000010 30: unknown:18B1 {18B1} V0 internal, hidden, unknown:000010 31: unknown:920A {920A} V0 internal, hidden, unknown:000010 Has 7 reprogrammable keys: 0: Left Button , default: Left Click => Left Click mse, analytics key events, pos:0, group:1, group mask:empty reporting: default 1: Right Button , default: Right Click => Right Click mse, analytics key events, pos:0, group:1, group mask:empty reporting: default 2: Middle Button , default: Mouse Middle Button => Mouse Middle Button mse, reprogrammable, divertable, raw XY, analytics key events, pos:0, group:3, group mask:g1,g2,g3 reporting: default 3: Back Button , default: Mouse Back Button => Mouse Back Button mse, reprogrammable, divertable, raw XY, analytics key events, unknown:000800, pos:0, group:2, group mask:g1,g2 reporting: default 4: Forward Button , default: Mouse Forward Button => Left Click mse, reprogrammable, divertable, raw XY, analytics key events, unknown:000800, pos:0, group:2, group mask:g1,g2 reporting: default 5: DPI Switch , default: DPI Switch => DPI Switch mse, reprogrammable, divertable, raw XY, analytics key events, pos:0, group:3, group mask:g1,g2,g3 reporting: default 6: Virtual Gesture Button , default: Virtual Gesture Button => Virtual Gesture Button divertable, virtual, raw XY, force raw XY, pos:0, group:4, group mask:empty reporting: default Battery: 35%, discharging. ```
``` - 1.1.11-6-g12de2409 - _NAME: MX Master 3 Wireless Mouse _modelId: B02340820000 _sensitive: {dpi: true, hires-smooth-invert: false, hires-smooth-resolution: false, mouse-gestures: false, smart-shift: false, thumb-scroll-invert: false, thumb-scroll-mode: false} _serial: 8486DFCC _unitId: 8486DFCC _wpid: '4082' divert-keys: {0x0: 0x2, 0x52: 0x0, 0x53: 0x0, 0x56: 0x0, 0xc3: 0x0, 0xc4: 0x0, 0xd7: 0x0} dpi: 0x514 hires-scroll-mode: false hires-smooth-invert: false hires-smooth-resolution: true reprogrammable-keys: {0x50: 0x50, 0x51: 0x51, 0x52: 0x52, 0x53: 0x53, 0x56: 0x56, 0xc3: 0xc3, 0xc4: 0xc4} smart-shift: 0x2b thumb-scroll-invert: false thumb-scroll-mode: false - _NAME: LIFT VERTICAL ERGONOMIC MOUSE _absent: [hi-res-scroll, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, scroll-ratchet, smart-shift, thumb-scroll-invert, thumb-scroll-mode, onboard_profiles, report_rate, report_rate_extended, pointer_speed, speed-change, backlight, backlight_level, backlight_duration_hands_out, backlight_duration_hands_in, backlight_duration_powered, backlight-timed, led_control, led_zone_, fn-swap, persistent-remappable-keys, disable-keyboard-keys, crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, gesture2-gestures, gesture2-divert, gesture2-params, sidetone, equalizer, adc_power_management] _battery: 0x1004 _modelId: B03100000000 _sensitive: {change-host: false, divert-keys: false, dpi: false, dpi-sliding: false, lowres-scroll-mode: false, mouse-gestures: false, reprogrammable-keys: false} _serial: B437061E _unitId: B437061E _wpid: B031 change-host: null divert-keys: {0x52: 0x0, 0x53: 0x0, 0x56: 0x0, 0xfd: 0x0} dpi: 0x514 lowres-scroll-mode: false reprogrammable-keys: {0x52: 0x52, 0x53: 0x53, 0x56: 0x50, 0xfd: 0xfd} ```

Output of sollar -dd:

``` 2024-04-10 17:26:17,114,114 INFO [MainThread] solaar.gtk: version 1.1.11-6-g12de2409, language en_US (UTF-8) 2024-04-10 17:26:17,120,120 INFO [MainThread] solaar.ui.notify: starting desktop notifications 2024-04-10 17:26:17,175,175 INFO [MainThread] solaar.listener: starting receiver listening threads 2024-04-10 17:26:17,181,181 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw2 BID 0003 VID 00000483 PID 00005129: Expecting 8 usages but got 9 2024-04-10 17:26:17,188,188 INFO [MainThread] hidapi.udev: Found device /dev/hidraw6 BID 0003 VID 0000046D PID 0000C548 HID++ True True USB 2 2 2024-04-10 17:26:17,188,188 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw6', bus_id=3, vendor_id='046D', product_id='C548', interface=2, driver='hid-generic', manufacturer=None, product=None, serial='', release=None, isDevice=None, hidpp_short=True, hidpp_long=True) 2024-04-10 17:26:17,188,188 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw6 2024-04-10 17:26:17,247,247 INFO [ReceiverListener:hidraw6] solaar.listener: : notifications listener has started (13) 2024-04-10 17:26:17,248,248 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw7 BID 0003 VID 000004A0 PID 00002501: Expecting 32 usages but got 1 2024-04-10 17:26:17,253,253 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw0 BID 0018 VID 000004F3 PID 00003138: Expecting 4 usages but got 2 2024-04-10 17:26:17,254,254 INFO [MainThread] hidapi.udev: Found device /dev/hidraw9 BID 0005 VID 0000046D PID 0000B031 HID++ False True USB None None 2024-04-10 17:26:17,254,254 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw9', bus_id=5, vendor_id='046D', product_id='B031', interface=None, driver='hid-generic', manufacturer=None, product=None, serial='d2:d9:d4:b0:72:8c', release=None, isDevice=True, hidpp_short=False, hidpp_long=True) 2024-04-10 17:26:17,254,254 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw9 2024-04-10 17:26:17,255,255 INFO [ReceiverListener:hidraw9] solaar.listener: : notifications listener has started (14) 2024-04-10 17:26:17,257,257 INFO [ReceiverListener:hidraw6] solaar.listener: status_changed for unknown device (solaar:1729187): Gdk-CRITICAL **: 17:26:17.838: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed 2024-04-10 17:26:17,851,851 INFO [ReceiverListener:hidraw9] solaar.listener: status_changed : paired online, {'NOTIFICATION FLAGS': False} (0) 2024-04-10 17:26:17,868,868 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw9 2024-04-10 17:26:18,071,071 INFO [MainThread] solaar.listener: status_changed : paired online, {'NOTIFICATION FLAGS': False, 'BATTERY LEVEL': 35, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 2024-04-10 17:26:18,721,721 INFO [ReceiverListener:hidraw9] solaar.listener: status_changed : paired online, {'NOTIFICATION FLAGS': False, 'BATTERY LEVEL': 35,'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': None, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) initialization ```

Describe the bug Whenever I open Solaar, all the checkboxes spin, they never end, check out the picture, I got this issue a few months ago, it never works after that, my mouse works fine except sometimes left-click doesn't work for a few seconds, and I have to left-click for a few more times, I guess this is the hardware issue.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots https://imgur.com/a/XXcdMWB

Additional context Add any other context about the problem here.

pfps commented 7 months ago

Something is definitely going wrong. A (hopefully never-distributed) commit of Solaar in this respository had that problem. How did you install Solaar?

Also please provide output of solaar -ddd.

c02y commented 7 months ago

Archlinux repo: solaar 1.1.11-6-g12de2409

solaar -ddd:

``` 2024-04-11 00:14:09,558,558 INFO [MainThread] solaar.gtk: version 1.1.11-6-g12de2409, language en_US (UTF-8) 2024-04-11 00:14:09,564,564 DEBUG [MainThread] solaar.ui: startup registered=True, remote=False 2024-04-11 00:14:09,564,564 DEBUG [AsyncUI] solaar.tasks: started 2024-04-11 00:14:09,564,564 INFO [MainThread] solaar.ui.notify: starting desktop notifications 2024-04-11 00:14:09,567,567 DEBUG [MainThread] solaar.ui.icons: icon theme paths: ['/home/chz/.local/share/icons', '/home/chz/.icons', '/usr/local/share/icons', '/usr/share/icons', '/usr/local/share/pixmaps', '/usr/share/pixmaps'] 2024-04-11 00:14:09,695,695 INFO [MainThread] solaar.listener: starting receiver listening threads 2024-04-11 00:14:09,702,702 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw2 BID 0003 VID 00000483 PID 00005129: Expecting 8 usages but got 9 2024-04-11 00:14:09,705,705 INFO [MainThread] hidapi.udev: Found device /dev/hidraw4 BID 0003 VID 0000046D PID 0000C52B HID++ True True USB 2 2 2024-04-11 00:14:09,706,706 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw4', bus_id=3, vendor_id='046D', product_id='C52B', interface=2, driver='logitech-djreceiver', manufacturer=None, product=None, serial='', release=None, isDevice=None, hidpp_short=True, hidpp_long=True) 2024-04-11 00:14:09,706,706 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw4 2024-04-11 00:14:09,707,707 INFO [ReceiverListener:hidraw4] solaar.listener: : notifications listener has started (13) 2024-04-11 00:14:09,708,708 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw7 BID 0003 VID 000004A0 PID 00002501: Expecting 32 usages but got 1 2024-04-11 00:14:09,714,714 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw0 BID 0018 VID 000004F3 PID 00003138: Expecting 4 usages but got 2 2024-04-11 00:14:09,715,715 INFO [MainThread] hidapi.udev: Found device /dev/hidraw9 BID 0005 VID 0000046D PID 0000B031 HID++ False True USB None None 2024-04-11 00:14:09,715,715 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw9', bus_id=5, vendor_id='046D', product_id='B031', interface=None, driver='hid-generic', manufacturer=None, product=None, serial='d2:d9:d4:b0:72:8c', release=None, isDevice=True, hidpp_short=False, hidpp_long=True) 2024-04-11 00:14:09,715,715 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw9 2024-04-11 00:14:09,716,716 DEBUG [MainThread] solaar.ui: activate 2024-04-11 00:14:13,719,719 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 00:14:17,722,722 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 00:14:09,715,715 INFO [ReceiverListener:hidraw9] solaar.listener: : notifications listener has started (14) 2024-04-11 00:14:09,719,719 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device 2024-04-11 00:14:17,722,722 INFO [ReceiverListener:hidraw4] solaar.listener: ignoring DJ pairing notification Notification(20,1,41,01,8240060000000000000000) 2024-04-11 00:14:17,722,722 INFO [ReceiverListener:hidraw4] solaar.listener: ignoring DJ pairing notification Notification(20,0,41,02,0000000000000000000000) 2024-04-11 00:14:17,723,723 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 00:14:17,727,727 INFO [ReceiverListener:hidraw4] hidapi.udev: OPEN PATH /dev/hidraw5 2024-04-11 00:14:17,752,752 DEBUG [MainThread] solaar.ui.window: new receiver row ('/dev/hidraw4', 0, True, 'Unifying Receiver', 'preferences-desktop-peripherals', None, None, ) 2024-04-11 00:14:17,803,803 INFO [ReceiverListener:hidraw4] solaar.listener: connection Notification(10,1,41,04,328240) for 2024-04-11 00:14:17,805,805 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device 2024-04-11 00:14:17,811,811 DEBUG [ReceiverListener:hidraw4] solaar.configuration: load => ['1.1.11-6-g12de2409', {'_NAME': 'MX Master 3 Wireless Mouse', '_absent': ['hi-res-scroll', 'lowres-scroll-mode', 'onboard_profiles', 'report_rate', 'report_rate_extended', 'pointer_speed', 'speed-change', 'backlight', 'backlight_level', 'backlight_duration_hands_out', ' backlight_duration_hands_in', 'backlight_duration_powered', 'backlight-timed', 'led_control', 'led_zone_', 'fn-swap', 'persistent-remappable-keys', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'sidetone', 'equalizer', 'adc_power_mana gement'], '_battery': 4096, '_modelId': 'B02340820000', '_sensitive': {'dpi': True, 'hires-smooth-invert': False, 'hires-smooth-resolution': False, 'mouse-gestures': False, 'smart-shift': False, 'thumb-scroll-invert': False, 'thumb-scroll-mode': False}, '_serial': '8486DFCC', '_unitId': '8486DFCC', '_wpid': '4082', 'change-host': None, 'divert-keys': {0: 2, 82: 0 , 83: 0, 86: 0, 195: 0, 196: 0, 215: 0}, 'dpi': 1300, 'hires-scroll-mode': False, 'hires-smooth-invert': False, 'hires-smooth-resolution': True, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 195: 195, 196: 196}, 'scroll-ratchet': 2, 'smart-shift': 43, 'thumb-scroll-invert': False, 'thumb-scroll-mode': False}, {'_NAME': 'LIFT VERTICAL ERGONOMIC M OUSE', '_absent': ['hi-res-scroll', 'hires-smooth-invert', 'hires-smooth-resolution', 'hires-scroll-mode', 'scroll-ratchet', 'smart-shift', 'thumb-scroll-invert', 'thumb-scroll-mode', 'onboard_profiles', 'report_rate', 'report_rate_extended', 'pointer_speed', 'speed-change', 'backlight', 'backlight_level', 'backlight_duration_hands_out', 'backlight_duration_hands _in', 'backlight_duration_powered', 'backlight-timed', 'led_control', 'led_zone_', 'fn-swap', 'persistent-remappable-keys', 'disable-keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'sidetone', 'equalizer', 'adc_power_management'], '_battery': 41 00, '_modelId': 'B03100000000', '_sensitive': {'change-host': False, 'divert-keys': False, 'dpi': False, 'dpi-sliding': False, 'lowres-scroll-mode': False, 'mouse-gestures': False, 'reprogrammable-keys': False}, '_serial': 'B437061E', '_unitId': 'B437061E', '_wpid': 'B031', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 0}, 'dpi': 1300, 'lowres-sc roll-mode': False, 'reprogrammable-keys': {82: 82, 83: 83, 86: 80, 253: 253}}] (solaar:2474339): Gdk-CRITICAL **: 00:14:17.836: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed 2024-04-11 00:14:17,836,836 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 00:14:18,027,027 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 100, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 2024-04-11 00:14:18,028,028 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 00:14:18,028,028 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:18,028,028 DEBUG [MainThread] solaar.ui.tray: picked device with lowest battery: ('/dev/hidraw4', 1, 'MX Master 3 Wireless Mouse', {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 100, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None}) 2024-04-11 00:14:18,028,028 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:18,029,029 DEBUG [MainThread] solaar.ui.window: new device row ('/dev/hidraw4', 1, True, 'MX Master 3', 'input-mouse', None, None, ) at index 0 2024-04-11 00:14:18,029,029 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:18,953,953 ERROR [ReceiverListener:hidraw4] logitech_receiver.settings: invalid choice 2 for 0 2024-04-11 00:14:19,053,053 ERROR [ReceiverListener:hidraw4] logitech_receiver.settings: invalid choice 0 for 215 2024-04-11 00:14:19,093,093 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 100, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 2024-04-11 00:14:19,094,094 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 00:14:19,094,094 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:19,094,094 DEBUG [MainThread] solaar.ui.tray: picked device with lowest battery: ('/dev/hidraw4', 1, 'MX Master 3 Wireless Mouse', {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 100, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None}) 2024-04-11 00:14:19,094,094 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:19,094,094 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:19,095,095 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 00:14:21,725,725 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 00:14:25,729,729 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping ```
pfps commented 7 months ago

What appears to have happened is that the repo has a non-working commit, six commits after release 1.1.11. You could use Solaar from this repository instead.

@freswan Can you investigate?

c02y commented 7 months ago

https://pwr-solaar.github.io/Solaar/installation doesn't tell how to install for Archlinux from the github repo,

but I did the following steps:

  1. make install_udev (Xorg here)
  2. make install_pip

it says:

$ make install_pip
Installing Solaar via pip
python -m pip install --upgrade pip
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
make: *** [Makefile:33: install_pip] Error 1
$ python -m pip install --upgrade pip
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Anyway, I don't how to install from github repo,

BTW:

  1. pip install solaar version, the window is frozen, I can't do anything in the window.
  2. I try to manually install AUR version of solaar-git, it is empty window after I open it, and the AUR installation process is a mess.
pfps commented 7 months ago

You should be able to use pipx install --system-site-packages solaar as mentioned in https://pwr-solaar.github.io/Solaar/installation.

c02y commented 7 months ago

It's the same as pip, the window is frozen, cannot do anything in the window, even the Quit solaar button doesn't work, have to kill the process from program like htop

solaar --version
solaar 1.1.11
pfps commented 7 months ago

Try solaar -ddd and post the output.

c02y commented 7 months ago
``` 2024-04-11 02:12:04,806,806 INFO [MainThread] solaar.gtk: version 1.1.11, language en_US (UTF-8) 2024-04-11 02:12:05,033,033 INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up 2024-04-11 02:12:05,049,049 DEBUG [MainThread] solaar.ui.tray: using Ayatana AppIndicator3 2024-04-11 02:12:05,053,053 INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events 2024-04-11 02:12:05,056,056 DEBUG [MainThread] solaar.ui: startup registered=True, remote=False 2024-04-11 02:12:05,057,057 DEBUG [AsyncUI] solaar.tasks: started 2024-04-11 02:12:05,057,057 INFO [MainThread] solaar.ui.notify: starting desktop notifications 2024-04-11 02:12:05,060,060 DEBUG [MainThread] solaar.ui.icons: icon theme paths: ['/home/chz/.local/share/icons', '/home/chz/.icons', '/usr/local/share/icons', '/usr/share/icons', '/usr/local/share/pixmaps', '/usr/share/pixmaps'] (solaar:2788398): Gtk-WARNING **: 02:12:05.130: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. 2024-04-11 02:12:05,132,132 INFO [MainThread] solaar.listener: starting receiver listening threads 2024-04-11 02:12:05,310,310 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw2 BID 0003 VID 00000483 PID 00005129: Expecting 8 usages but got 9 2024-04-11 02:12:05,315,315 INFO [MainThread] hidapi.udev: Found device /dev/hidraw4 BID 0003 VID 0000046D PID 0000C52B HID++ True True USB 2 2 2024-04-11 02:12:05,315,315 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw4', bus_id=3, vendor_id='046D', product_id='C52B', interface=2, driver='logitech-djreceiver', manufacturer=None, product=None, serial='', release=None, isDevice=None, hidpp_short=True, hidpp_long=True) 2024-04-11 02:12:05,315,315 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw4 2024-04-11 02:12:05,316,316 INFO [MainThread] logitech_receiver.base: New lock 13 2024-04-11 02:12:05,316,316 DEBUG [MainThread] logitech_receiver.base: (13) <= w[10 FF 83B5 030000] 2024-04-11 02:12:05,317,317 DEBUG [MainThread] logitech_receiver.base: (13) => r[11 FF 83B5 034D8B95C00106070000000000000000] 2024-04-11 02:12:05,317,317 INFO [ReceiverListener:hidraw4] logitech_receiver.listener: started with (13) 2024-04-11 02:12:05,317,317 INFO [ReceiverListener:hidraw4] solaar.listener: : notifications listener has started (13) 2024-04-11 02:12:05,317,317 INFO [ReceiverListener:hidraw4] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw4)> 2024-04-11 02:12:05,317,317 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) <= w[10 FF 8000 100900] 2024-04-11 02:12:05,318,318 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw7 BID 0003 VID 000004A0 PID 00002501: Expecting 32 usages but got 1 2024-04-11 02:12:05,324,324 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[20 01 4101 8240060000000000000000] 2024-04-11 02:12:05,328,328 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[20 00 4102 0000000000000000000000] 2024-04-11 02:12:05,328,328 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[10 FF 8000 000000] 2024-04-11 02:12:05,328,328 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) <= w[10 FF 8100 000000] 2024-04-11 02:12:05,329,329 WARNING [MainThread] hidapi.udev: Report Descriptor not processed for DEVICE /dev/hidraw0 BID 0018 VID 000004F3 PID 00003138: Expecting 4 usages but got 2 2024-04-11 02:12:05,330,330 INFO [MainThread] hidapi.udev: Found device /dev/hidraw9 BID 0005 VID 0000046D PID 0000B031 HID++ False True USB None None 2024-04-11 02:12:05,330,330 INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw9', bus_id=5, vendor_id='046D', product_id='B031', interface=None, driver='hid-generic', manufacturer=None, product=None, serial='d2:d9:d4:b0:72:8c', release=None, isDevice=True, hidpp_short=False, hidpp_long=True) 2024-04-11 02:12:05,330,330 INFO [MainThread] hidapi.udev: OPEN PATH /dev/hidraw9 2024-04-11 02:12:05,330,330 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) pinging device 255 2024-04-11 02:12:05,330,330 INFO [ReceiverListener:hidraw9] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw9)> 2024-04-11 02:12:05,330,330 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) <= w[11 FF 001D 00004900000000000000000000000000] 2024-04-11 02:12:05,331,331 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[10 FF 8100 000900] 2024-04-11 02:12:05,331,331 DEBUG [MainThread] solaar.ui: activate 2024-04-11 02:12:09,335,335 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 02:12:09,335,335 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) pinging device 255 2024-04-11 02:12:09,335,335 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) <= w[11 FF 0018 00003900000000000000000000000000] 2024-04-11 02:12:13,338,338 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 02:12:05,330,330 INFO [ReceiverListener:hidraw9] logitech_receiver.listener: started with (14) 2024-04-11 02:12:05,331,331 INFO [ReceiverListener:hidraw4] logitech_receiver.receiver: : receiver notifications enabled => ('wireless', 'software present') 2024-04-11 02:12:13,338,338 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) pinging device 255 2024-04-11 02:12:13,338,338 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) <= w[11 FF 001A 00002200000000000000000000000000] 2024-04-11 02:12:13,339,339 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) <= w[10 FF 8002 020000] 2024-04-11 02:12:13,341,341 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[10 01 4104 328240] 2024-04-11 02:12:13,343,343 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[10 FF 8002 000000] 2024-04-11 02:12:17,343,343 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 02:12:17,343,343 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) pinging device 255 2024-04-11 02:12:17,343,343 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) <= w[11 FF 001E 0000C800000000000000000000000000] 2024-04-11 02:12:21,348,348 WARNING [ReceiverListener:hidraw9] logitech_receiver.base: (14) timeout (4.00/4.00) on device 255 ping 2024-04-11 02:12:13,338,338 INFO [ReceiverListener:hidraw9] solaar.listener: : notifications listener has started (14) 2024-04-11 02:12:21,348,348 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) pinging device 255 2024-04-11 02:12:13,343,343 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device 2024-04-11 02:12:21,348,348 DEBUG [ReceiverListener:hidraw9] logitech_receiver.base: (14) <= w[11 FF 0019 00003100000000000000000000000000] 2024-04-11 02:12:21,348,348 INFO [ReceiverListener:hidraw4] solaar.listener: ignoring DJ pairing notification Notification(20,1,41,01,8240060000000000000000) 2024-04-11 02:12:21,348,348 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 02:12:21,348,348 INFO [ReceiverListener:hidraw4] solaar.listener: ignoring DJ pairing notification Notification(20,0,41,02,0000000000000000000000) 2024-04-11 02:12:21,352,352 DEBUG [MainThread] solaar.ui.window: new receiver row ('/dev/hidraw4', 0, True, 'Unifying Receiver', 'preferences-desktop-peripherals', None, None, ) 2024-04-11 02:12:21,356,356 INFO [ReceiverListener:hidraw4] hidapi.udev: OPEN PATH /dev/hidraw5 2024-04-11 02:12:21,356,356 INFO [ReceiverListener:hidraw4] logitech_receiver.receiver: : found new device 1 (4082) 2024-04-11 02:12:21,356,356 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) pinging device 1 2024-04-11 02:12:21,356,356 INFO [ReceiverListener:hidraw4] logitech_receiver.base: New lock 22 2024-04-11 02:12:21,356,356 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 001B 00000200000000000000000000000000] (solaar:2788398): Gdk-CRITICAL **: 02:12:21.361: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed 2024-04-11 02:12:21,431,431 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 001B 04050200000000000000000000000000] 2024-04-11 02:12:21,432,432 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) <= w[10 FF 83B5 300000] 2024-04-11 02:12:21,433,433 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (13) => r[11 FF 83B5 308486DFCC0600000001000000000000] 2024-04-11 02:12:21,431,431 INFO [ReceiverListener:hidraw4] solaar.listener: connection Notification(10,1,41,04,328240) for 2024-04-11 02:12:21,433,433 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed for unknown device 2024-04-11 02:12:21,433,433 DEBUG [ReceiverListener:hidraw4] logitech_receiver.notifications: : protocol 4 connection notification: software=True, encrypted=True, link=True, payload=False 2024-04-11 02:12:21,438,438 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 02:12:21,441,441 DEBUG [ReceiverListener:hidraw4] solaar.configuration: load => ['48f6abbb', {'_NAME': 'MX Master 3 Wireless Mouse', '_absent': ['hi-res-scroll', 'lowres-scroll-mode', 'onboard_profiles', 'report_rate', 'report_rate_extended', 'pointer_speed', 'speed-change', 'backlight', 'backlight_level', 'backlight_duration_hands_out', 'backlight_duration_hands_in', 'backlight_duration_powered', 'backlight-timed', 'led_control', 'led_zone_', 'fn-swap', 'persistent-remappable-keys', 'disable- keyboard-keys', 'crown-smooth', 'divert-crown', 'divert-gkeys', 'm-key-leds', 'mr-key-led', 'multiplatform', 'gesture2-gestures', 'gesture2-divert', 'gesture2-params', 'sidetone', 'equalizer', 'adc_power_management'], '_battery': 4096, '_modelId': 'B02340820000', '_sensitive': {'dpi': True, 'hires-smooth-invert': False, 'hires-smooth-resolution': False, 'mouse-gestures': False, 'smart-shift': False, 'thumb-scroll-invert': False, 'thumb-scroll-mode': False}, '_serial': '8486DFCC', '_unitId': '8486DFCC', '_wp id': '4082', 'change-host': None, 'divert-keys': {0: 2, 82: 0, 83: 0, 86: 0, 195: 0, 196: 0, 215: 0}, 'dpi': 1300, 'hires-scroll-mode': False, 'hires-smooth-invert': False, 'hires-smooth-resolution': True, 'reprogrammable-keys': {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 195: 195, 196: 196}, 'scroll-ratchet': 2, 'smart-shift': 43, 'thumb-scroll-invert': False, 'thumb-scroll-mode': False}, {'_NAME': 'LIFT VERTICAL ERGONOMIC MOUSE', '_modelId': 'B03100000000', '_sensitive': {'change-host': False, 'divert-keys': False, 'dpi': False, 'dpi-sliding': False, 'lowres-scroll-mode': False, 'mouse-gestures': False, 'reprogrammable-keys': False}, '_serial': 'B437061E', '_unitId': 'B437061E', '_wpid': 'B031', 'change-host': None, 'divert-keys': {82: 0, 83: 0, 86: 0, 253: 0}, 'dpi': 1300, 'lowres-scroll-mode': False, 'reprogrammable-keys': {82: 82, 83: 83, 86: 80, 253: 253}}] 2024-04-11 02:12:21,441,441 INFO [ReceiverListener:hidraw4] solaar.configuration: config file '/home/chz/.config/solaar/config.yaml' was generated by another version of solaar (config: 48f6abbb, current: 1.1.11). refreshing detected device capabilities 2024-04-11 02:12:21,441,441 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 0008 00010000000000000000000000000000] 2024-04-11 02:12:21,531,531 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 0008 01000100000000000000000000000000] 2024-04-11 02:12:21,531,531 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 010B 00000000000000000000000000000000] 2024-04-11 02:12:21,551,551 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 010B 21000000000000000000000000000000] 2024-04-11 02:12:21,551,551 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 000A 00030000000000000000000000000000] 2024-04-11 02:12:21,571,571 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 000A 02000200000000000000000000000000] 2024-04-11 02:12:21,571,571 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 020A 00000000000000000000000000000000] 2024-04-11 02:12:21,593,593 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 020A 038486DFCC0006B02340820000000000] 2024-04-11 02:12:21,593,593 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 000C 10000000000000000000000000000000] 2024-04-11 02:12:21,613,613 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 000C 07000100000000000000000000000000] 2024-04-11 02:12:21,613,613 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 070E 00000000000000000000000000000000] 2024-04-11 02:12:21,633,633 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 070E 64320000000000000000000000000000] 2024-04-11 02:12:21,633,633 DEBUG [ReceiverListener:hidraw4] logitech_receiver.hidpp20: battery status 100% charged, next 50%, status discharging 2024-04-11 02:12:21,633,633 DEBUG [ReceiverListener:hidraw4] logitech_receiver.status: : battery 100, discharging 2024-04-11 02:12:21,633,633 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) pinging device 1 2024-04-11 02:12:21,633,633 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 001E 0000EB00000000000000000000000000] 2024-04-11 02:12:21,653,653 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) => r[11 01 001E 0405EB00000000000000000000000000] 2024-04-11 02:12:21,653,653 INFO [ReceiverListener:hidraw4] solaar.listener: status_changed : paired online, {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 100, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None} (0) 2024-04-11 02:12:21,653,653 DEBUG [ReceiverListener:hidraw4] logitech_receiver.base: (22) <= w[11 01 000F 21200000000000000000000000000000] 2024-04-11 02:12:21,653,653 DEBUG [MainThread] solaar.ui: status changed: (NONE) None 2024-04-11 02:12:21,654,654 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 02:12:21,654,654 DEBUG [MainThread] solaar.ui.tray: picked device with lowest battery: ('/dev/hidraw4', 1, 'MX Master 3 Wireless Mouse', {'LINK ENCRYPTED': True, 'BATTERY LEVEL': 100, 'BATTERY STATUS': NamedInt(0, 'discharging'), 'BATTERY NEXT LEVEL': 50, 'BATTERY VOLTAGE': None, 'BATTERY CHARGING': False, 'ERROR': None}) 2024-04-11 02:12:21,654,654 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full 2024-04-11 02:12:21,655,655 DEBUG [MainThread] solaar.ui.window: new device row ('/dev/hidraw4', 1, True, 'MX Master 3', 'input-mouse', None, None, ) at index 0 2024-04-11 02:12:21,656,656 DEBUG [MainThread] solaar.ui.icons: battery icon for 100:False = battery-full ------ more -------- ```
pfps commented 7 months ago

That looks pretty good so far. What is the --more--?

c02y commented 7 months ago

That looks pretty good so far. What is the --more--?

Too many lines, I output it to the log file: log.txt

pfps commented 7 months ago

One of your devices is not responding to pings. What Logitech devices do you have connected to your system (including receivers) and are they connected via a receiver?

Your other option is to clone Solaar from this repository and run bin/solaar from the download directory. I don't know if that will help, however,

c02y commented 7 months ago

Logi LIFT in the beginning of this issue.

Logi MX Master 3 Wireless in the log file, since LIFT has some left-click issue. Each one is connected via its receiver.

Only one at the same time.

The solaar is installed using pipx install --system-site-packages solaar

./bin/solaar from git repo seems working, but it got some rendering issue when it opens for like 30s, then it will load the real checkboxes, and they works normally.

Thanks

pfps commented 7 months ago

The screenshot that you showed indicated that the LIFT is not connected through a receiver, but directly (probably using Bluetooth). What you could try is to only have one device connected at a time and see whether Solaar starts correctly then.

I would try cloning Solaar and running from the download directory as described above, as well.

c02y commented 7 months ago

Yeah, I noticed that my LFTT's receiver doesn't work at all after I posted this issue. And today is the first day I connected it using Bluetooth manually. I guess it is totally broken.

I tried archlinux repo version again, it works fine for MX master 3 wireless. Although I have to wait too much to be able to do anything such as clicking on the button.

pfps commented 7 months ago

Solaar should be able to pair a Bolt device with a Bolt receiver.

Solaar is meant to be running continually, so the startup time should not matter to much. After startup Solaar response should be rapid.

pfps commented 6 months ago

Is there anything more to do here?

c02y commented 6 months ago

No, you reopened it, I thought you got something yo do here.

I gave up Logi mouse, right now I'm using Elecom and Kensington trackballs. So I won't be using Logi mouse for quite a while.