UHK80 LED shows an alert icon also can't connect through bluetooth when cables are disconnected

Please find the attached image for that tiny exclamation icon. What is this icon? Sometimes it’s on and sometimes it’s off.

Also, I paired my UHK80 to my mac through BT when I disconnect the cables, the keyboard goes into deep sleep mode and I can’t connect to my device. Currently it only paired with only my mac.
I am sure it’s not the normal sleep mode when I put the device into by fn2 + sleep. Any idea?

I also tried to connect to the keyboard from the OSX bluetooth list, but the the connect button is not visible, probably because the device goes into a full shutdown.

Once I connect the cable, everything works ok.

Note that both halves are 100% charged.

Also the bottom side of the agent I see this yellow-ish alert:
Invalid host connection index: 5. Ignoring!

forgot to mention the firmware version is 15.2.0 on everything.

As for the triangle icon on the OLED display; that is a warning indicator that corresponds to the yellow error panel in Agent. I’m sure one of the devs will help you with deciphering it in a few hours (probably in snooze land ATM :sleeping_face: :face_with_bags_under_eyes:).

2 Likes

You must have mapped a “select device 5” function to a key (I can’t remember what the exact name is), and there is no device 5 in your device list. Therefore, when you press that key, it throws this message. The error results in the error triangle on the display, and the yellow box in Agent.

3 Likes

Also, I paired my UHK80 to my mac through BT when I disconnect the cables, the keyboard goes into deep sleep mode and I can’t connect to my device. Currently it only paired with only my mac.
I am sure it’s not the normal sleep mode when I put the device into by fn2 + sleep. Any idea?

It should go into a light sleep, which is a fully operational keyboard just with leds turned off.

Invalid host connection index: 5. Ignoring!

My guess is that Max is spot on.

I have just done the following test:

  • disconnect dongle from power
  • (uhk switches to usb connection)
  • disconnect usb
  • (uhk fades out)
  • I tap some keys
  • (uhk doesn’t react)
  • I connect dongle back to power.
  • (dongle goes violet, after a second switches to green; uhk goes alive)

Since dongle communicates over bluetooth, it shows that uhk is definitely still advertising bluetooth, so if your bluetooth host is saved in Agent connection list and normally works, then it should connect even when uhk is in that “usb-suspend” sleep mode.

1 Like

I will dig into this today. Thanks. Any easy way to see which key it is assigned to?

I don’t have a dongle, I use the built-in BT in the UHK80. Am I missing anything? Is it suggested to buy and use a dongle instead? or no difference.

not sure what these are, any clue these are related to my bluetooth connection issue?

Ok, here is what I did. I disconnected the cables between right hand to mac and also two halves.
The reset both side. Removed the keyboard from paired devices on mac. Then reset the keyboard (left and right) using the tiny reset button at the back of both halves. Paired again and now everything works fine even in BT mode (at least as of now).

1 Like

Am I missing anything?

The point was to test (that I recall correctly) that bluetooth is active while uhk is in the sleep mode, and so that the issue was not related to the sleep mode at all, only to bluetooth.

I used dongle because of convenience, and because it is reliable.

Is it suggested to buy and use a dongle instead?

That wasn’t what I meant, but it may be a good idea, as the dongle is well tested.

(We are trying to support generic ble hid, but it is difficult because every device behaves slightly differently, supplying us with bugs that are hard to reproduce as well as to debug.)

2 Likes

The reset button resolve all of my issues. Thanks for the help.

1 Like

Ok the BT issues is happening again. So when I disconnect, the keyboard goes into full sleep mode without letting me to waking it up. Also when I connect the cable, it automatically changes the default to DVORAK mode but my default layout form the agent is QWERTY.
Even when I set it back to QWERTY (fn2 + 4), on a cable disconnect it goes back to DVORAK. Any idea why?

For default switch back to DVORAK issue, I deleted those layout from agent, seems it’s defaulted to my mac qwerty by default now. Note that before deleting those extra layouts, the (*) was shown next to mac qwerty. So that might be a bug there.

Any time you restart or power-cycle the UHK, the expected behavior is to load the Base layer of the default keymap. If you want to manually change the default keymap (not just switch keymaps), you can do so here:

Would you create a ticket at GitHub - UltimateHackingKeyboard/firmware: Ultimate Hacking Keyboard firmware?

I would suggest you to gather logs, but that is currently done over usb unless special equipment is available, so this is not feasible atm.

My hypothesis is that there might be a problem in how c2usb/hogp handles bluetooth hid requests while the usb is in suspend mode.

Unfortunately, this will have to wait. This is a relatively niche scenario and we have higher priority stuff on our plate these days.


Also when I connect the cable, it automatically changes the default to DVORAK mode but my default layout form the agent is QWERTY.

This is strange.

Would you share the affected UserConfig? (Export from Configuration section of Agent, rename to .txt, attach here.)

yeah I already starred a layout to be my default. What I’ve ended up doing was to remove those unused layout, so for now I only have mac and win qwerty where the default goes to what I want. I just wanted to mention that there might be a bug for this.

Thank for your reply. I will submit a ticket.

Unfortunately, this will have to wait. This is a relatively niche scenario and we have higher priority stuff on our plate these days.

Does this mean I should assume BT is unusable until your guys fix it or there might be some workaround? I am hoping to find some solution. Like, have you seen this issue by others?

Ah, I see. Strange indeed.

Honestly, I don’t know.