-
Notifications
You must be signed in to change notification settings - Fork 397
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
04f2:1670 Chicony Electronics Co., Ltd keyboard is broken by hidapi example (hidapi-libusb) #105
Comments
The device is very much broken
|
What backend are you using, hidraw or libusb? |
libusb |
So re-plug doesn't help?
|
It doesn't
But what should I try? Rerun the example doesn't seem to be able to fix the keyboard |
Is it appears broken when you plug it to a different PC / OS ? |
I tried plugging into windows 10 machine, doesn't work either. It's dev issue |
So far I haven't heard of devices broken by What you experience is look like device's internal state (flash memory or smth.) has been changed in some weird way, and it is likely a vendor bug. I'd suggest trying to contact your keyboard vendor support to identify what might went wrong. |
Then I'm out of luck. |
BTW: example from README uses device's specific control command, and it is not advisable to try it with the unknown device. |
Exactly! I wish there is a WARNING SIGN. |
So it seems that |
Yes |
Looks like these 2 writes (0x80, 0x81) changed state of your keyboard in a way that the firmware authors have not intercepted. Well, you should never run code from Internet if you don't fully understand it, but we can definitely put a warning before the code sample. @amosbird I hope you will be able to contact the vendor and fix the issue. |
Opened #106 to prevent problems like this. |
Is it possible to extract the firmware from another working keyboard and flash it to this broken one? |
That is a good question to a keyboard vendor. |
OK. Anyway, the tuition is 100$ and I've learned it hard. |
Merged #106. |
Hello. I'm trying to test hidapi and possibly use it to set fn_lock of my keyboard. I grabbed the example code and tried to see if it runs. https://github.com/libusb/hidapi#what-does-the-api-look-like
Then suddenly my keyboard stops responding,
lsusb
doesn't list it anymore. The id was0x17ef, 0x60b5
now becomes0x04f2, 0x1670
(I tested it while unplug and plug).Is there any way of restoring my keyboard? Thank you!
The text was updated successfully, but these errors were encountered: