Powering off from a dock UHK 80 get's frozen

Hey there! Second day with my UHK 80 and so far everything seems to be going well so far.

I do have a quick question to see if anyone else experienced this. I primarily use my UHK with two devices a work MBP and a desktop. I have my UHK connected to a OWC Thunderbolt 4 dock (first connected to a startech powered USB 3 hub.). The desktop runs linux. I’ve noticed on Mac when the screen locks or the system suspends the keyboard shuts down properly. The same happens when locking on Linux but if I shutdown the keyboard remains in a on state causing the LEDs to glow. The board also seems to be frozen as the function and mod keys weren’t working while the system was off. I was hopping I can at least manually sleep the keyboard as mentioned in the manual. I can confirm I can sleep the keyboard fine while it has a active connection.

There’s more trial and error here but wanted to see if anyone else has encountered this yet? One interesting this is the board still remains in this state even if I unplug it’s USB

I’ve had similar issues with the keyboard freezing up, staying on and unresponsive until I press the reset button on the back of each half.

In my case, I haven’t noticed it on shutdown, but instead it’s when using a simple KVM switch (not a smart one, so basically a USB mux and a hub). Switching will work fine most of the time, but sometimes the entire keyboard will freeze/crash. I haven’t yet noticed if there are any patterns in the direction of the switch (docked Windows laptop to/from Linux desktop) or anything else that influences the odds of having it freeze.

1 Like

The board also seems to be frozen as the function and mod keys weren’t working while the system was off.

This part is strange.

The same happens when locking on Linux but if I shutdown the keyboard remains in a on state causing the LEDs to glow.

Do you have the led timeouts set to a non-infinite/non-zero value?

I was hopping I can at least manually sleep the keyboard as mentioned in the manual.

Well, can’t you? What is the problem there?


Another workaround would be to manually turn off (or toggle) the leds:

set leds.enabled !$leds.enabled

Althouhg that will not minimise power consumption as the actual device sleep action would.

In case it crashed, there should be a crash log in the status buffer. It should pop up when you run Agent as a big yellow pane.

In case it freezed, you should still be able to connect to it with Agent while it is freezed (unless it is the usb thread that has frozen), and in that UHK should be able to detect the freezed state (from the usb thread) and within 10 or so seconds again print the crash log.

In any case, please upgrade to 14.2.1 before trying to gather any logs ;-).o

1 Like

On Windows, I get a USB device not recognized popup from Windows (though I don’t run Agent on that computer, so I can’t see if it would see the keyboard at all). However, when I switched to Linux it does reboot eventually, with a message in the buffer.

I hadn’t observed the keyboard resetting from the frozen state by itself, but I may not have let it sit connected to the Linux (or Windows?) machine long enough to allow it to do so.

I’ve included the crash log, copied out from Agent below. This is running 14.2.1, directly connected over USB to the KVM switch.

Crash log
udc_mac_msgq full
os: r0/a1:  0x00000004  r1/a2:  0x0000009b  r2/a3:  0x20010e78
os: r3/a4:  0x00000004 r12/ip:  0x2000ca00 r14/lr:  0x000705db
os:  xpsr:  0x01000037
os: r4/v1:  0x2002e792  r5/v2:  0x200136a8  r6/v3:  0x200136a4
os: r7/v4:  0x20017257  r8/v5:  0x00000001  r9/v6:  0x00000006
os: r10/v7: 0x200136ac  r11/v8: 0x00000000    psp:  0x200372a8
os: EXC_RETURN: 0x0
os: Faulting instruction address (r15/pc): 0x0007658e
os: ]]] ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
os: Fault during interrupt handling

os: Current thread: 0x20010e78 (c2usb)
===== PANIC =====
Printing trace buffer because: crash/panic
EV: 2097664
Tag: v14.2.1
Trace:
[i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1]
[i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1]
[i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1]
[i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1][i1]
fatal_error: Resetting system
1 Like