Skip to content

Raspberry pi 4 usb mouse and keyboard stop working after upgrade #1324

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

Closed
mptimonen opened this issue Jan 26, 2020 · 7 comments
Closed

Raspberry pi 4 usb mouse and keyboard stop working after upgrade #1324

mptimonen opened this issue Jan 26, 2020 · 7 comments
Labels
Close within 30 days This issue will be closed within 30 days unless further interactions are posted. If you wish this is

Comments

@mptimonen
Copy link

mptimonen commented Jan 26, 2020

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

@pelwell
Copy link
Contributor

pelwell commented Jan 26, 2020

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.

@mptimonen
Copy link
Author

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

@pelwell
Copy link
Contributor

pelwell commented Jan 27, 2020

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.

@mptimonen
Copy link
Author

sudo SKIP_KERNEL=1 rpi-update 16ce6121464d53a9eb9cf68afbdba7ada8ec7bcd
=> works ok (after installing 4.19.83)

@mptimonen
Copy link
Author

sudo rpi-update 16ce6121464d53a9eb9cf68afbdba7ada8ec7bcd
4.19.84

and

config.txt
over_voltage=2

=> it is working ok

@pelwell
Copy link
Contributor

pelwell commented Jan 27, 2020

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.

@JamesH65
Copy link
Contributor

Extensively covered on the forums - one thread is here. https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=262649

@timg236 timg236 added the Close within 30 days This issue will be closed within 30 days unless further interactions are posted. If you wish this is label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close within 30 days This issue will be closed within 30 days unless further interactions are posted. If you wish this is
Projects
None yet
Development

No branches or pull requests

5 participants