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

UHK v80, USB connection doesn't wake up After suspend #1145

Open
mohitt opened this issue Feb 23, 2025 · 7 comments
Open

UHK v80, USB connection doesn't wake up After suspend #1145

mohitt opened this issue Feb 23, 2025 · 7 comments

Comments

@mohitt
Copy link

mohitt commented Feb 23, 2025

My UHK v80 would connect even on USB connection once it has gone past the sleep time. I have to push the reset button the back to get the usb connection to work.

@mondalaci
Copy link
Member

mondalaci commented Feb 23, 2025

What's your OS?

Related issues: #1098, #1087, #1060, #1017.

I've captured this log on Windows 11 with firmware 12.3.5. I connected the UHK 80 to the laptop at 23:49 and woke it up at 10:04. I tried to press the keys to no avail. The display shows disconnected. Replugging USB doesn't work, and "USB device is not recognized" is displayed by Windows eventually. Only resetting the right half fixes the issue.

[2025-02-22 23:49:16] Con state: Host0(My PC, Disconnected), Active
[2025-02-22 23:49:16] Supplied connection (0) doesn't correspond to a host connection!
[2025-02-22 23:49:16] Con state: Host0(My PC, Ready)
[2025-02-22 23:49:16] Conn state: Host0(My PC, Ready), Active
[2025-02-23 02:35:35] Con state: Host0(My PC, Disconnected), Active
[2025-02-23 02:35:35] Supplied connection (0) doesn't correspond to a host connection!
[2025-02-23 02:35:35] Con state: Host0(My PC, Ready)
[2025-02-23 02:35:35] Conn state: Host0(My PC, Ready), Active
[2025-02-23 02:35:48] Con state: Host0(My PC, Disconnected), Active
[2025-02-23 02:35:48] Supplied connection (0) doesn't correspond to a host connection!
[2025-02-23 10:04:08] Con state: Host0(My PC, Ready)
[2025-02-23 10:04:08] Conn state: Host0(My PC, Ready), Active
[2025-02-23 10:04:14] Con state: Host0(My PC, Disconnected), Active
[2025-02-23 10:04:14] Supplied connection (0) doesn't correspond to a host connection!
[2025-02-23 10:04:14] E: Failed to allocate net_buf 64
[2025-02-23 10:04:15] E: Failed to allocate net_buf 64
[2025-02-23 10:04:17] USB: requesting remote wakeup
[2025-02-23 10:04:17] USB: remote wakeup disabled
[2025-02-23 10:04:17] Can't send report - selected connection is not ready!
[2025-02-23 10:04:17] Giving report to c2usb anyways!
[2025-02-23 10:04:17] Can't send report - selected connection is not ready!
[2025-02-23 10:04:17] Giving report to c2usb anyways!
[2025-02-23 10:04:20] E: Failed to allocate net_buf 64
[2025-02-23 10:04:21] Can't send report - selected connection is not ready!
[2025-02-23 10:04:21] Giving report to c2usb anyways!
[2025-02-23 10:04:21] Can't send report - selected connection is not ready!
[2025-02-23 10:04:21] Giving report to c2usb anyways!
[2025-02-23 10:04:26] E: Failed to allocate net_buf 64
[2025-02-23 10:04:31] E: Failed to allocate net_buf 64
[2025-02-23 10:04:37] E: Failed to allocate net_buf 64
[2025-02-23 10:04:43] E: Failed to allocate net_buf 64
[2025-02-23 10:04:48] E: Failed to allocate net_buf 64
[2025-02-23 10:04:56] E: Failed to allocate net_buf 64
[2025-02-23 10:05:02] E: Failed to allocate net_buf 64
[2025-02-23 10:05:05] USB: requesting remote wakeup
[2025-02-23 10:05:05] USB: remote wakeup disabled
[2025-02-23 10:05:05] Can't send report - selected connection is not ready!
[2025-02-23 10:05:05] Giving report to c2usb anyways!
[2025-02-23 10:05:05] Can't send report - selected connection is not ready!
[2025-02-23 10:05:05] Giving report to c2usb anyways!
[2025-02-23 10:05:05] Can't send report - selected connection is not ready!
[2025-02-23 10:05:05] Giving report to c2usb anyways!
[2025-02-23 10:05:05] Can't send report - selected connection is not ready!
[2025-02-23 10:05:05] Giving report to c2usb anyways!
[2025-02-23 10:05:07] Can't send report - selected connection is not ready!
[2025-02-23 10:05:07] Giving report to c2usb anyways!
[2025-02-23 10:05:07] Can't send report - selected connection is not ready!
[2025-02-23 10:05:07] Giving report to c2usb anyways!
[2025-02-23 10:05:07] E: Failed to allocate net_buf 64
[2025-02-23 10:05:13] E: Failed to allocate net_buf 64
[2025-02-23 10:05:46] USB: requesting remote wakeup
[2025-02-23 10:05:46] USB: remote wakeup disabled
[2025-02-23 10:05:46] Can't send report - selected connection is not ready!
[2025-02-23 10:05:46] Giving report to c2usb anyways!
[2025-02-23 10:05:47] Can't send report - selected connection is not ready!
[2025-02-23 10:05:47] Giving report to c2usb anyways!

Note to self: I got the above timestamped log with:
picocom -b 115200 /dev/ttyUSB-right | ts '[%Y-%m-%d %H:%M:%S]' | tee serial_log.txt

@mohitt
Copy link
Author

mohitt commented Feb 23, 2025

My OS is windows 11 as well, and yes resetting the right is the only way to fix it. Everyday I am resetting the right half like 3-4 times. Everytime I come back from a break pretty much. Because I have set my windows computer to sleep after 30 min of inactivity

@mondalaci
Copy link
Member

Assuming it's a regression, would you narrow it down to the exact firmware release that introduces this issue, starting from firmware 12.0.0?

@mohitt
Copy link
Author

mohitt commented Feb 27, 2025

This is annoying in a day, I have to do this atleast 4-5 times. Now, I tried ble and dongle connection. On BLE and dongle connection my keyboard macros are not typing the keys properly

A $500 keyboard. with so many issues. I have used v1 and v2 both. Both, were great. So, much so. That today I stopped using UHK v80. Since it is so annoying to use.

@mondalaci
Copy link
Member

Let me find the problematic firmware version and drill down to the exact commit. It'll probably take a few days.

@mohitt
Copy link
Author

mohitt commented Feb 27, 2025

Thanks @mondalaci but, why does it drop characters that are supposed to be type as part of the macro in case of Dongle or BLE ?

@mondalaci
Copy link
Member

An old bug caused dropped characters, but it was fixed a while back. I can look into it if you share your configuration. Tell me which macro to trigger.

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

No branches or pull requests

2 participants