-
Notifications
You must be signed in to change notification settings - Fork 206
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
HID error and network install #458
Comments
If you're able to identify what the "bad" USB HID sequence is, perhaps you could program a Pico to emulate that? 🤷♂️ |
@lurch if somebody with an offending keyboard, runs then a pico could be programmed to repeat those same descriptors HID is a mostly one-way protocol, so there isnt much the firmware or linux could do differently, and the messages the device sends should be fairly identical |
Hi, I'm getting this error with my remote keyboard (ID 1997:2433 Shenzhen Riitek Technology Co., Ltd wireless mini keyboard with touchpad) I did a capture while plugging it in my laptop: HTH |
I have one of these Riitek keyboards now (model RT-MWK01, mini wireless keyboard mouse combo). I saw the problem once, However it's now working fine, which confuses me. I do see the odd HID error, but it doesn't seem to stop boot happening. |
Just a random guess - is it possible that it sends out "bad" HID packets when it gets low on battery? 🔋 🤷 |
Got it again. It's starting net install because the bootloader hasn't been passed the error from usb. |
I have a fix for this |
Test bootloader image attached. Format an UNUSED sd card with this image using RPI Imager and power up a rpi4 and it will update the bootloader. In network install it should show the version 2b8fa59f in the bottom right |
* Update VL805 to 138C0 - fix for handling of split transactions * Fix HID error handling with network install raspberrypi#458
* Update VL805 to 138C0 - fix for handling of split transactions * Fix HID error handling with network install raspberrypi#458
* Update VL805 to 138C0 - fix for handling of split transactions * Fix HID error handling with network install raspberrypi#458
* Update VL805 to 138C0 - fix for handling of split transactions raspberrypi/linux#5262 * Fix HID error handling with network install raspberrypi#458
* Update VL805 to 138C0 - fix for handling of split transactions raspberrypi/linux#5262 * Fix HID error handling with network install raspberrypi#458
Interesting changes since the last default release * Update VL805 to 138C0 - fix for handling of split transactions raspberrypi/linux#5262 * Fix HID error handling with network install raspberrypi#458
Interesting changes since the last default release * Update VL805 to 138C0 - fix for handling of split transactions raspberrypi/linux#5262 * Fix HID error handling with network install raspberrypi#458
Hello. |
Do you have the latest version of the bootloader? |
I have no idea. I got 2 SD cards, one with raspberryOS, other one with libreelec. Both got this mistake. Where can i Check the bootloader version and how can i update it? |
On Raspberry Pi OS run: rpi-eeprom-update |
rpi-eeprom-update: VL805_FW: Using bootloader EEPROM |
How to update? |
sudo rpi-eeprom-update -a |
sudo rpi-eeprom-update -a BOOTLOADER: update available VL805_FW: Using bootloader EEPROM EEPROM updates pending. Please reboot to apply the update. reboot thx a lot. i will check if the error occurrs aggain. |
The bootloader is in an eeprom, not on the SD card, so you shouldn't have to do it again. |
ah ok, thank you aggain very much! |
Describe the bug
See https://forums.raspberrypi.com/viewtopic.php?t=339219
It seems some users are seeing "HID error" and that's stopping the device booting normally. It seems that it's possible to get stuck waiting for the ethernet cable to be plugged in?
Looking at the code. After a HID error we reply to the find a keyboard event. If the bootloader doesn't see that usb has an error the it will think a key has been pressed. It'll then wait 10 mins for the ethernet cable to be plugged in*. It doesn't look like anything is setting the error in the usb host after a HID error. We also reset usb after a hid error - I don't know if that's relevant at all.
Steps to reproduce the behaviour
Tricky - need a keyboard that reproduces the problem. Might be easier to reproduce with wireless keyboards/mice
Device (s)
Raspberry Pi 4 Mod. B
Bootloader configuration.
Latest
System
No response
Bootloader logs
No response
USB boot
No response
NVMe boot
No response
Network (TFTP boot)
No response
The text was updated successfully, but these errors were encountered: