UHK80: disconnecting from time to time on a Mac

My UHK80 is connected via USB cable (plugged into right half of keyboard) to my Macbook.

Since a few weeks, I see from time to time keyboard not working anymore.

I can solve this with unplug/replug the cable (can be done on both sides: keyboard or Mac).

The keyboard always shows “connected” in display.
UHK agent says “No device connected”.

Zephyr logging said:

  • 2026-01-09 09:10:55 | UHK 80 right | Batteries: 34% 80% (3783 3855)
    
    2026-01-09 09:12:43 | UHK 80 right | Batteries: 34% 80% (3783 3856)
    
    2026-01-09 09:12:56 | UHK 80 right | Batteries: 34% 80% (3785 3856)
    
    2026-01-09 09:13:43 | UHK 80 right | Batteries: 34% 80% (3785 3855)
    
    2026-01-09 09:15:55 | UHK 80 right | Batteries: 34% 80% (3784 3855)
    Batteries: 34% 80% (3784 3854)
    Conn state: Host0(umbp2, Disconnected), Active
    Entered LightSleep power mode
    Batteries: 34% 80% (3785 3854)
    Batteries: 34% 80% (3785 3854)
    
    2026-01-09 09:15:56 | UHK 80 right | Conn state: Host0(umbp2, Ready)
    Conn state: Host0(umbp2, Ready), Active
    Entered Awake power mode
    Batteries: 34% 80% (3785 3854)
    Batteries: 34% 80% (3785 3854)
    
    2026-01-09 09:16:57 | UHK 80 right | Batteries: 34% 80% (3785 3853)
    
    2026-01-09 09:17:57 | UHK 80 right | Batteries: 34% 80% (3785 3851)
    
    
    

Any ideas how to solve that ?

Firmware on keyboard: 16.0.0
Agent version: 9.0.0

Thank you

Uli

First please flash 16.1.1.

Then, add this to your $onInit macro:

zephyr uhk logs 1
zephyr log enable wrn Battery
zephyr log enable wrn Bt
zephyr log enable wrn StateSync
zephyr log enable inf udc
zephyr log enable wrn udc_nrf
zephyr log enable inf hogp
zephyr log enable dbg c2usb

This should change c2usb logging level to a more verbose one.

Then please capture another log. Ideally, also please provide a wireshark capture of the usb communication.

1 Like