-
Notifications
You must be signed in to change notification settings - Fork 226
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
Received invalid protocol version from device #257
Comments
VIA的识别文件的问题,你可以在VIA的github站上随便找个键盘的识别文件的模板,对照一下修改 |
Can you help me for the link of code? I cannot find a correct ones to refer |
I'm getting the same errors after 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 using the file they provide and I started getting the "invalid protocol version" and "device must be open" errors whenever I try to connect. I tried using the file from the repo to no avail. I even did a diff between the repo file and the one at the keychron site and added the missing key. VIA complained about "extra fields". I've ran out of ideas :( |
@jluna79 I have the same issue. Keychron Q3 Pro is causing all sorts of problems when connecting to Via. Doesn't work in Linux, Mac or Windows. Different browsers all do the same thing. |
I've contacted Customer Support and they sent me a new version of the JSON file but did not work either. They asked for some details about the keyboard and their last message was "1) try in a different computer, 2) send us a video of the successful flash of the firmware" (the flash was already successful, the problem is in VIA, or a bug in the firmware in the keychron repo. I created a Reddit post with all the details and updates. People have been helping out (but no solution yet). |
So I was running into this with my Orange Boy Ergo and I was running through a multiplexer. Moving it to a direct connect resolved this error for me. I had issues on both windows and linux (Ubuntu AppImage). Random guess the multiplexer is downgrading the usb protocol from 3.x to 2.x? |
This would help if you are on linux and chrome in sudo chown $USER:$USER /dev/hidraw3 |
Only hidraw2 appeared in chrome log (actually brave://device-log/ but whatever) but changing the permissions on hidraw2 didn't fix for me. |
Here's the fix that worked for me
|
The Arch wiki has an answer that works permanently : Configuration of VIA compatible keyboards |
Changing the permission for The basic idea is that the permissions are set to root, so Chrome cannot open the device, which causes VIA to fail to pair to the device. When you open |
In my case I had to restart the PC for it to take effect. Probably Chrome was running in the background (not actually closing and reloading the new config). |
Changing the ownership solved my issue. |
Still getting this issue with my own firmware for my own custom board. I've tried to cross-reference several other already-existing firmwares as well as comb through the VIA docks and don't get anything. And of course, the above solutions around hidraw3 only works for Linux users, but I'm on Windows. Also uploaded my (probably rough) firmware in case somebody can tell what's going on: https://github.com/CheeseManFuu/alicianroneproto/tree/main/alicianrone It's functional for the QMK side, just the VIA side that's been causing me pain all day. |
you're a saviour, works flawlessly |
the same for me, only it was 4, 5, 6, thank you very much :) |
OK, thanks to everyone commenting here on what worked for them. For me it was a new Nuphy Air96 v2 and I had to both |
设备没有权限的问题,插拔设备前后对比下 ls /dev/hidraw*多出那些的节点,chmod 777 “sudo chmod 777 /dev/hidraw10” |
Mình dùng Monsgeek M2 cũng bị vậy thì làm sao ạ |
I had this same issue when trying to access VIA through chromium installed from snap. It turns out that chromium snap package does not have access to hidraw, so you need to install it from a different source. It worked instantly when I swapped to chrome from a .deb package. |
i resolved it by loading the json from here: https://www.keychron.com/pages/firmware |
For my part I use a HS60 v3 ISO and connecting it through a Dell Dock was causing me the same errors, connecting it directly on my PC solved all the problems |
Hello,
When I try to build up new hand wired keyboard with VIA, I stuck in some error with VIA.
Hope to get some guide or help from you soon
The text was updated successfully, but these errors were encountered: