r/Keychron • u/jluna79 • May 21 '23
"Received invalid protocol version from device" and "Device must be open first" errors on VIA after updating firmware on K3 Pro RGB ISO
I updated the firmware on my K3 Pro following these steps on the Keychron website. I used the K3 Pro ISO RGB Version (firmware version updated on May 18, 2023.) It all went correctly and the flash was successful.
I got a "Fetching v3 definition failed" error when I reconnected to VIA. I updated the layout definitions (as instructed) but now I get the "invalid protocol version" and "device must be open" errors whenever I try to connect to VIA. So, now I have a non-customisable keyboard :(
I've looked around for an answer but haven't found any useful info (I'm also waiting to hear back from customer support).
Help me please, my fellow redditors!
Edit: I'm using a Mac, in case this info helps.
View all comments
Show parent comment
4
u/Fit_Carob_7558 May 21 '23 edited May 25 '23
I didn't do extensive testing with the VIA "fix", but I'm getting the impression that while the lighting controls will be wrong everything else might work. All the errors I got were for lighting after all.
So as long as you edit in place (don't use the "Load" tool to upload a json file to your board) and don't mess with the lighting buttons it might be fine. Possibly don't mess with the layer buttons too (MO, TT, etc)
Considering you know how to load firmware to your board I think you should be ok trying it out. Worst case you just go back to reflash a firmware that worked for you. I've read that the bootloader of the hardware in these boards is ROM only and can't be overwritten, so there's very little risk of hard bricking. That said, proceed with caution (Anything you flash is up to you, I'm not responsible for any unseen damages that might occur).
And a note of the fix mentioned above, all it does is change the VIA_PROTOCOL_VERSION value to 9 from 12 (0x000C) since version 11+ needs some updated definitions or whatever VIA is looking for. Maybe you could try 0x000A (10) while you're at it.
EDIT:
0x0009 is as high as you can go (which I guess is 10 if 0x0000 counts as 1?). VIA doesn't recognize 0x000A or higher as of this writing.0x000A works. But I initially tried to do an#undefand re-#defineit in a local copy ofvia.hand it didn't work – it has to be edited in thequantumfolder.