Closed g5pw closed 1 month ago
The problem is the device protocol version [DeviceOperation] right module deviceProtocolVersion: 512.0.0
. The latest valid device protocol version is 4.10.0
.
Have you used some custom firmware or did you used some custom tool that maybe overwrote this value?
Not that I know of, I've only used stock firmware and the UHK agent. However, I'm an embedded developer, so maybe one of the tools I use overwrote the value unwittingly? Is there a way to change it back?
Are you perhaps running a development build and an official build of Agent simultaneously? The deviceProtocolVersion of your UHK is seriously off, and we haven't encountered anything like this so far.
To my knowledge, I've never used an unofficial build of Agent or firmware, I'm as stumped as you are :/
Is there a way to change it back?
So, you are stuck at not being able to flash another firmware onto your uhk.
I guess the unbricking procedure might help: https://ultimatehackingkeyboard.com/repair/unbricking-the-right-keyboard-half.
The problem is Agent does not recognise the keyboard, because the keyboard returns with 512.0.0
device protocol number. In the reality the keyboard has older firmware that does not support features that depends from 4.8.0
or 4.10.0
device protocol.
Because the device protocol number is larger than 4.8.0
or 4.10.0
we try to read information from the firmware but it returns with invalid information.
I think the solution is:
20.9.0
npm ci
npm run build
cd packages/usb
./update-device-firmware.ts ../../tmp/packages/firmware --log=all
It is not working on my mac. It is breaking in the middle of the process. If I use Agent the firmware upgrade works fine. Currently I don't have time to figure it out what is the problem.
I recommend to use the above script on linux
Thanks for all responses, I'll try @ert78gb's suggestion first and disassemble the right half if that does not work.
Closing due to the lack of replies. Feel free to follow up regardless.
@g5pw Do you use smart macros?
I'm having issues with the Agent not detecting my UHK v1 on Windows 11. I' ve tried with older version of the agent (since my firmware might be a bit old, but even with the latest 1.x version it is stuck detecting the UKH.
Relevant logs: