Open p3lim opened 3 months ago
I don't think it's related to HID version, most likely QMK is nkro and doesn't support boot mode?
Try building QMK without NKRO_ENABLE and check if it works.
Tried disabling NKRO and it didn't really help.
I have another keyboard, also running QMK (nothing is similar between this one and the one I have issues with other than QMK, they have different controllers, architectures etc), with NKRO enabled, and it works fine. This one is also HID v1.11.
I'm not saying the HID version is necessarily the fault here, but it's the only real difference I can see between all these boards.
Maybe the keyboard is also a mouse, and moving the mouse out of the boot protocol mode also reconfigures the keyboard. Can you provide its usb hid report? It might provide some more info.
I've also disabled mousekeys on it, even bootmagic and mediakeys was removed to test. I'm unsure how to generate a usb hid report, if you could provide some clarity on that.
If you have Linux, try using "usbhid-dump" and paste the output. Package would be usbutils.
Here you go:
001:042:001:DESCRIPTOR 1711234394.703242
05 01 09 80 A1 01 85 03 19 01 2A B7 00 15 01 26
B7 00 95 01 75 10 81 00 C0 05 0C 09 01 A1 01 85
04 19 01 2A A0 02 15 01 26 A0 02 95 01 75 10 81
00 C0
001:042:000:DESCRIPTOR 1711234394.717223
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
95 08 75 01 81 02 95 01 75 08 81 03 05 07 19 00
29 FF 15 00 26 FF 00 95 06 75 08 81 00 05 08 19
01 29 05 15 00 25 01 95 05 75 01 91 02 95 01 75
03 91 03 C0
Looks normal, report matches the "usual" format (modifiers, reserved, 6 keys). It could be something simple, but it's very hard to debug remotely. I'll be trying to implement the hid report mode for keyboards soon, perhaps that will fix it.
@p3lim can you please also try test_fw.zip and let me know if this fixes anything?
No change.
With the latest commits and back at the office after easter break the Lenovo keyboard (3rd in the original post) no longer works as well.
A little more testing, it seems that the keyboard port doesn't work at all with the latest commits. Putting the Lenovo keyboard in the mouse slot and it works fine.
A little more testing, it seems that the keyboard port doesn't work at all with the latest commits. Putting the Lenovo keyboard in the mouse slot and it works fine.
Can you try rebuilding with enforce_ports to 1 in user config? Any difference?
Same issue with ENFORCE_PORTS
set to 1, except now port 1 doesn't take the keyboard any more (as expected).
Oh that was just me being (kind of) stupid; I have both of the host ports connected to monitors, both of which are USB-C docks, and the computer in one of them had gone to sleep, which turned the USB hub in the monitor off, thus one of the picos were not powered.
That is kind of a fault with the design though, ports not working unless both hosts are connected and powered.
It is a crappy trade-off to make it simple, affordable and galvanically isolated. If one side powered both, then some keyboards/mice would not work because the cumulative power draw would be too large. If you provided an external PS, then we all would use whatever we had on hand to connect 230V on one side, and an expensive laptop on the other side. Not all chargers are good like this:
https://www.righto.com/2012/05/apple-iphone-charger-teardown-quality.html
I could redesign the board to provide external power if somebody really wants to do this :)
@p3lim any change with the latest experimental beta
https://github.com/hrvach/deskhop/releases/tag/v0.60
?
Still no :frowning_face:
@hrvach I'm sorry for this stupid comment, but v0.60 is the same commit as v0.52, right? :see_no_evil:
Changes not committed yet, under (heavy) construction but lack devices to test...
cc: @jalmeroth @p3lim apologies to bug you, I'd appreciate some help with testing something else if you have a moment?
I have a custom keyboard running the QMK firmware, and it's not recognized by my deskhop.
I tested with 3 other keyboard that worked fine:
All of these reports multiple HID interfaces when connected directly to my host, e.g:
The only real difference I see between them are the USB HID version they report, all 3 of the keyboards that work report USB HID v1.11, while my QMK-based keyboard report v1.01.