Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K340 (old keyboard) doesn't connect anymore #2689

Open
NGC935 opened this issue Nov 25, 2024 · 3 comments
Open

K340 (old keyboard) doesn't connect anymore #2689

NGC935 opened this issue Nov 25, 2024 · 3 comments
Labels

Comments

@NGC935
Copy link

NGC935 commented Nov 25, 2024

Information

  • Solaar version (solaar --version or git describe --tags if cloned from this repository): 1.1.8+dfsg-2 and 1.1.13+dfsg-1
  • Distribution: both Debian 12
  • Kernel version (ex. uname -srmo): Linux 6.1.0-27-amd64 x86_64 GNU/Linux and Linux 6.1.0-21-amd64 x86_64 GNU/Linux
  • Output of solaar show:

solaar version 1.1.8+dfsg-2

Unifying Empfänger
  Device path  : /dev/hidraw5
  USB id       : 046d:C52B
  Serial       : C0DB9DE7
    Firmware   : 24.07.B0030
    Bootloader : 02.09
    Other      : AA.AC
  Has 3 paired device(s) out of a maximum of 6.
  Notifications: wireless (0x000100)
  Device activity counters: 2=68

  1: Wireless Mouse M505
     Device path  : /dev/hidraw9
     WPID         : 101D
     Codename     : M505/B605
     Kind         : mouse
     Protocol     : HID++ 1.0
     Polling rate : 8 ms (125Hz)
     Serial number: 8EC9B347
     The power switch is located on the base.
     Battery: unknown (device is offline).

  2: T400
     Device path  : /dev/hidraw8
     WPID         : 4026
     Codename     : T400
     Kind         : mouse
     Protocol     : unknown (device is offline)
     Polling rate : 8 ms (125Hz)
     Serial number: F9545942
     The power switch is located on the base.
     Battery: unknown (device is offline).

  3: Wireless Compact Keyboard K340
     Device path  : /dev/hidraw7
     WPID         : 2007
     Codename     : K340
     Kind         : keyboard
     Protocol     : HID++ 1.0
     Polling rate : 20 ms (50Hz)
     Serial number: C00E4C58
     The power switch is located on the edge of top right corner.
     Battery: unknown (device is offline).

  • Contents of ~/.config/solaar/config.yaml (or ~/.config/solaar/config.json if ~/.config/solaar/config.yaml not present):
- 1.1.8+dfsg-2
- {_NAME: Zone Touch Mouse T400, _battery: 4096, _modelId: Zone Touch Mouse T400, _serial: F9545942, _unitId: '00000000', _w>
- {_NAME: Wireless Mouse M505, _serial: 8EC9B347, _wpid: 101D}

  • Errors or warrnings from Solaar:
$ solaar -dd
2024-11-25 23:38:45,284,284     INFO [MainThread] root: language de_DE (UTF-8), translations path None
2024-11-25 23:38:45,442,442     INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up
2024-11-25 23:38:45,458,458     INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events
2024-11-25 23:38:45,496,496     INFO [MainThread] solaar.ui.notify: starting desktop notifications
2024-11-25 23:38:45,567,567     INFO [MainThread] solaar.listener: starting receiver listening threads
2024-11-25 23:38:45,572,572  WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046D PID 0000C52B: No module named 'hid_parser'
2024-11-25 23:38:45,572,572     INFO [MainThread] hidapi.udev: Found device BID 0003 VID 0000046D PID 0000C52B HID++ None None USB 2 2
2024-11-25 23:38:45,572,572     INFO [MainThread] solaar.listener: receiver event add DeviceInfo(path='/dev/hidraw5', 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=None, hidpp_long=None)
2024-11-25 23:38:45,572,572     INFO [MainThread] logitech_receiver.base: New lock 13
2024-11-25 23:38:45,575,575     INFO [ReceiverListener:hidraw5] logitech_receiver.listener: started with <UnifyingEmpfänger(/dev/hidraw5,13)> (13)
2024-11-25 23:38:45,575,575     INFO [ReceiverListener:hidraw5] solaar.listener: <UnifyingEmpfänger(/dev/hidraw5,13)>: notifications listener has started (13)
2024-11-25 23:38:45,575,575     INFO [ReceiverListener:hidraw5] logitech_receiver.base: New lock <_ThreadedHandle(/dev/hidraw5)>
2024-11-25 23:38:45,576,576  WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046A PID 00000107: No module named 'hid_parser'
2024-11-25 23:38:45,576,576  WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046A PID 00000107: No module named 'hid_parser'
2024-11-25 23:38:45,577,577  WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046A PID 00000107: No module named 'hid_parser'
2024-11-25 23:38:45,577,577  WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046A PID 00000107: No module named 'hid_parser'
2024-11-25 23:38:45,578,578  WARNING [MainThread] hidapi.udev: Report Descriptor not processed for BID 0003 VID 0000046A PID 00000107: No module named 'hid_parser'
2024-11-25 23:38:45,587,587     INFO [ReceiverListener:hidraw5] logitech_receiver.receiver: <UnifyingEmpfänger(/dev/hidraw5,13)>: receiver notifications enabled => ('wireless', 'software present')
2024-11-25 23:38:45,595,595     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <UnifyingEmpfänger(/dev/hidraw5,13)>: present, Keine gekoppelten Geräte. (0) 
2024-11-25 23:38:45,595,595     INFO [ReceiverListener:hidraw5] solaar.listener: ignoring DJ pairing notification Notification(20,1,41,01,1D10040000000400000000)
2024-11-25 23:38:45,596,596     INFO [ReceiverListener:hidraw5] solaar.listener: ignoring DJ pairing notification Notification(20,2,41,01,26400E0000000400000000)
2024-11-25 23:38:45,596,596     INFO [ReceiverListener:hidraw5] solaar.listener: ignoring DJ pairing notification Notification(20,3,41,01,07201A4000000400000000)
2024-11-25 23:38:45,596,596     INFO [ReceiverListener:hidraw5] solaar.listener: ignoring DJ pairing notification Notification(20,0,41,02,0000000000000000000000)
2024-11-25 23:38:45,601,601     INFO [ReceiverListener:hidraw5] logitech_receiver.receiver: <UnifyingEmpfänger(/dev/hidraw5,13)>: found new device 1 (101D)
2024-11-25 23:38:45,601,601     INFO [ReceiverListener:hidraw5] solaar.listener: connection Notification(10,1,41,04,521D10) for <Device(1,101D,Wireless Mouse M505,8EC9B347)> (mouse)
2024-11-25 23:38:45,603,603     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <UnifyingEmpfänger(/dev/hidraw5,13)>: present, 1 gekoppeltes Gerät. (0) 
2024-11-25 23:38:45,603,603     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <Device(1,101D,Wireless Mouse M505,8EC9B347)>: paired offline, {'LINK ENCRYPTED': False} (0) 
2024-11-25 23:38:45,611,611     INFO [ReceiverListener:hidraw5] logitech_receiver.receiver: <UnifyingEmpfänger(/dev/hidraw5,13)>: found new device 2 (4026)
2024-11-25 23:38:45,611,611     INFO [ReceiverListener:hidraw5] solaar.listener: connection Notification(10,2,41,04,522640) for <Device(2,4026,T400,F9545942)> (mouse)
2024-11-25 23:38:45,613,613     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <UnifyingEmpfänger(/dev/hidraw5,13)>: present, 2 gekoppelte Geräte. (0) 
2024-11-25 23:38:45,613,613     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <Device(2,4026,T400,F9545942)>: paired offline, {'LINK ENCRYPTED': False} (0) 
2024-11-25 23:38:45,621,621     INFO [ReceiverListener:hidraw5] logitech_receiver.receiver: <UnifyingEmpfänger(/dev/hidraw5,13)>: found new device 3 (2007)
2024-11-25 23:38:45,622,622     INFO [ReceiverListener:hidraw5] solaar.listener: connection Notification(10,3,41,04,710720) for <Device(3,2007,Wireless Compact Keyboard K340,C00E4C58)> (keyboard)
2024-11-25 23:38:45,623,623     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <UnifyingEmpfänger(/dev/hidraw5,13)>: present, 3 gekoppelte Geräte. (0) 
2024-11-25 23:38:45,623,623     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <Device(3,2007,Wireless Compact Keyboard K340,C00E4C58)>: paired offline, {'LINK ENCRYPTED': True} (0) 
2024-11-25 23:38:52,196,196     INFO [ReceiverListener:hidraw5] logitech_receiver.notifications: <UnifyingEmpfänger(/dev/hidraw5,13)>: Koppelsperre ist aktiv
2024-11-25 23:38:52,197,197     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <UnifyingEmpfänger(/dev/hidraw5,13)>: present, 3 gekoppelte Geräte. (1) Koppelsperre ist aktiv
****HERE****
2024-11-25 23:39:21,714,714     INFO [ReceiverListener:hidraw5] logitech_receiver.notifications: <UnifyingEmpfänger(/dev/hidraw5,13)>: Koppelsperre ist inaktiv
2024-11-25 23:39:21,714,714  WARNING [ReceiverListener:hidraw5] logitech_receiver.notifications: pairing error 1: device timeout
2024-11-25 23:39:21,715,715     INFO [ReceiverListener:hidraw5] solaar.listener: status_changed <UnifyingEmpfänger(/dev/hidraw5,13)>: present, 3 gekoppelte Geräte. (1) Koppelsperre ist inaktiv
2024-11-25 23:39:34,074,074     INFO [MainThread] solaar.listener: stopping receiver listening threads [<ReceiverListener(ReceiverListener:hidraw5, started daemon 140620666496704)>]
2024-11-25 23:39:34,077,077     INFO [MainThread] solaar.configuration: saved ['1.1.8+dfsg-2', {'_NAME': 'T400', '_battery': 4096, '_modelId': 'Zone Touch Mouse T400', '_serial': 'F9545942', '_unitId': '00000000', '_wpid': '4026'}, {'_NAME': 'Wireless Mouse M505', '_serial': '8EC9B347', '_wpid': '101D'}] to /home/ngc-ollie/.config/solaar/config.yaml
2024-11-25 23:39:34,729,729     INFO [ReceiverListener:hidraw5] solaar.listener: <UnifyingEmpfänger(/dev/hidraw5,13)>: notifications listener has stopped
2024-11-25 23:39:34,732,732     INFO [MainThread] solaar.ui.notify: stopping desktop notifications

Describe the bug
I have two installations on two Debian PCs with solaar, see above. All Logitec devices are working smoothly. I have two old K340 keyboard I really like to use in our office. I wasn't there for some month and now none of those K340 is able to connect. Maybe you saw a T400 and a M505. Those are fine and connecting.

Ok, maybe a hardware problem, I own about 5 different dongles. Same problem, no connection, no reconnection after deleting the pairing. Just the simple timeout (see log above), just like the K340 are invisible.

Ok, maybe another PC, connected to my newly installed Debian here, installed 1.1.8, same thing. Tested repairing of the T400, working smoothly.

To Reproduce
Steps to reproduce the behavior:

  1. start solaar and connect dongle
  2. Click on 'Pair new device'
  3. Turn K340 off and on several times
  4. Nothing…
  5. Pairing timeout

Additional context
I read through the docu, but I didn't get all of it. I used google but I only get successful pairings and good support. Which was the case until I changes something and now I'm unable to restore "the good old time".

Thanks for any help

@NGC935 NGC935 added the bug label Nov 25, 2024
@pfps
Copy link
Collaborator

pfps commented Nov 25, 2024

Version 1.1.8 is very old. Update to 1.1.13 or the version in this repository.

But even this might not change anything. All Solaar does is tell the receiver to start the pairing protocol.

If the device is paired with an active receiver, even one a few feet away, it will not pair with a new receiver.

@NGC935
Copy link
Author

NGC935 commented Nov 26, 2024

Hmm I didn't state it too much above as I should have: I tested this issue on 1.1.8. and 1.1.13 and it is like you wrote: It doesn't change anything, same behavior. I reseted one K340 (the LEDs are blinking now after turning on) and still no connection.

If I get your answer correctly: This issue is not related to Solaar, because Solaar is not able to influence the pairing process receiver sided?

If so, any idea where this issue is coming from or how I could resolve it?

@pfps
Copy link
Collaborator

pfps commented Nov 27, 2024

Either the receiver and the keyboard are not compatible, in which case nothing can be done; the keyboard does not have adequate power in its batteries; or the keyboard is already connected to a nearby receiver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants