Raspberry pi 4 usb mouse and keyboard stop working after upgrade
Raspberry pi 4 usb mouse and keyboard stop working after upgrade.
sudo apt update sudo apt upgrade => mouse and keyboard stop working
can be reproduced
sudo rpi-update 993f475 4.19.97 => mouse and keyboard stop working
/dev/input $ ls mice
and fixed
sudo rpi-update 77444b0 4.19.81 => mouse and keyboard works ok
/dev/input $ ls by-id by-path event0 mice mouse0
There are quite a few commits between the two you list - try and narrow it down to find the first failing commit (there's a list of commits with hashes at https://github.com/Hexxeh/rpi-firmware/commits/master). Once you have a pair of adjacent commits where one is bad and one good, use sudo SKIP_KERNEL=1 rpi-update to work out if the change was caused by the firmware or the kernel.
I think 4.19.84 is first failing version.
sudo rpi-update 16ce6121464d53a9eb9cf68afbdba7ada8ec7bcd 4.19.84 => mouse and keyboard stop working
I can't test SKIP_KERNEL=1 now. There is API call limitations...
sudo SKIP_KERNEL=1 rpi-update 16ce6121464d53a9eb9cf68afbdba7ada8ec7bcd *** Github API is currently rate limited - please try again after Mon 27 Jan 2020 06:45:56 PM EET
That's the commit that modified how voltages are controlled. Try adding over_voltage=2 to config.txt to give it a bit more oomph.
sudo SKIP_KERNEL=1 rpi-update 16ce6121464d53a9eb9cf68afbdba7ada8ec7bcd => works ok (after installing 4.19.83)
sudo rpi-update 16ce6121464d53a9eb9cf68afbdba7ada8ec7bcd 4.19.84
and
config.txt over_voltage=2
=> it is working ok
I think you just got lucky that time you didn't update the firmware - you must have a marginal voltage (from the onboard SMPS - I'm not blaming your power supply), and there will be small variations between boots. You might even get away with dropping over_voltage to 1.
Extensively covered on the forums - one thread is here. https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=262649