UHK60 issues with usb hubs/docks/switches

This has been bugging me for some time now and I’d really like to understand the underlying issue.

I have been using my UHK60 (back then it was the UHK60 v2) since mid 2022 and have been fairly happy with it. One thing that was always an issue during this time and even today is the compatibility with usb docks/hubs/switches.

I use it as my main keyboard for both, work from home stuff 8+ hours a day and fun gaming afterwards. It’s being used on two different devices (Notebook for work, Desktop for gaming/privat things).

At the beginning I constantly unplugged and replugged depending on where the keyboard was needed. Later on I got a usb switch to conveniently switch between desktop and notebook with the push of a button. During all this, it was never a seamless experience. Either the power supplied by the hub/dock/switch wasn’t enough or the keyboard acted up when it was used with a hub/dock/switch.

Due to it always having issues, the past year I resorted back to unplugging/replugging it until a few weeks ago where I just had enough of that. I got this usb switch Amazon.de and now the issues are back again.

When switching from desktop to notebook, the keyboard sometimes doesn’t properly boot and instead throws an error. Powercycling helps. Switchting from notebook to desktop works better but still sometimes the keyboard becomes unresponsive and powercycling is needed.

Now all the USB hubs/docks/switches I tried had a separate power supply, either through a dedicated powersupply or through usb-c. My display (Samsung 49RG94SSUX) has got a built in usb hub too which causes issues too (although it’s not really suitable for switchting between two devices).

When switching from notebook to desktop, this get’s printed by printStatus (I used English UK while printing the stacktrace).

Printing trace buffer because: Looks like your uhk60 crashed.
ID: 2, EV: 0, Tag: v18.0.3
Uptime: 0 ms, Last main: 0 ms ago
Trace:
m o # WE @ 4’b x h 8 l M SXF { # b5 s
) j vU / . V 5/ a " ,8 0 x (c ~
0 -+ l Y 4k ( A }= x B A ZX c
M = q aR V Hb j E N 8 dh2 c#e H [ ££££££

What’s the issue this keyboard has with usb hubs/docks/switches? Even if it’s one with an active power supply? This is not exclusive to usb switches, even my thinkpad dock I got from work for my thinkpad notebook has issues if I plug the UHK60 into that instead of the notebook directly. It even leads to delayed keys, issues when backlight is at 100% (which I use at 50% most of the time due to this).

Any recommendations for a switch that is actually up to the task? I tried different cables and connection types (a, c, adapter…) too.

I should have mentioned that I have a thumb cluster module on the left and a trackball module on the right.

Interesting crash log. The trace memory is scrambled, but yet the hash that protects that memory region is clearly intact (otherwise uhk60 wouldn’t detect it as a crash).

This may be explained by two resets in a row:

  • First caused by a removal of power for time sufficient for the memory to get scrambled.
  • Then a boot restores the hash.
  • Finally, a second shorter reset causes that crash log. Maybe a quick power bounce that isn’t sufficient for the memory to get corrupted, but enough to trigger a reboot.

issues when backlight is at 100% (which I use at 50% most of the time due to this).

This indicates power issues.

Switchting from notebook to desktop works better but still sometimes the keyboard becomes unresponsive and powercycling is needed.

Well, this one is unexpected.

I suggest trying to hunt this one down.


If you want to dig further, please flash the firmware from UHK CI Builds (download, then “Flash firmware from file” in Agent).

Then:

  • if the uhk throws an error after a switch, see what it is with Agent. This firmware will print out reset registers which will tell us exact cause. I expect power-related reason.
  • if it freezes, press the reset button (on the back of the keyboard). It will capture diagnostics and reboot. You can read the output with Agent.

Let us know the content of the status buffer (yellow pane in Agent)(preferably retrieved via Agent).