-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
USB current limitations start with kernel 6.5.5 #5623
Comments
I have the same issue, but setting max_usb_current=1 did not fix it for me. I needed to execute echo 1 > /sys/bus/usb/devices/1-1.3/bConfigurationValue to make the USB device usable. my system is: Kernel messages:
|
Do you place it in the [all] - section? I have multiple rpis and this worked for all of them... |
Putting it in the [all] section did not make any difference:
|
Strange. I cannot reproduce. |
+1 same issue on RPi4B 8Gb. |
Facing the same issue, but in my case situation is even worse. I was using USB to SATA bridge to boot Pi from SSD:
and after update to rpi-6.6.y, raspberry couldn't longer boot. ending up in shell
Though there were no USB power related messages visible, I might just missed them. I have to use spare USB->SATA bridge to make system bootable again (still powered via USB port). After plugging in old USB->SATA adaptor, I've seen the following in dmesg:
and after
I finally was able to recognise adaptor, just an adaptor, as there were no disk connected to adaptor at that time.
Same adapted works fine with the same disk when connected to the same Pi running rpi-6.1.y, as well as when I connect it into my PC. |
Diff of
Device status looks an awful lot like garbage... |
What i noticed as well, is all devices I have problem with are USB3.0 Just an observation, not sure if it's related. |
Can you test to see if #5775 helps? |
Seems to work now! I can now boot from SSD, via SATA-to-USB adapter. But I let original requestor to answer. Strangely it reports under voltage warning on the same configuration as above, but it might be different issue. |
Still an issue using kernel 6.6.51 on RPi 3... |
Describe the bug
Starting with kernel 6.5.5 most of my USB devices can no longer be used because of current lilimtations. Setup was working since years without any problems, all 4 ports have devices connected, all devices do have much less power consumption (level shifters, adaptors to RS232 and RS485).
Steps to reproduce the behaviour
connect USB devices to all ports
Device (s)
Raspberry Pi 3 Mod. B
System
OS:
Arch Linux
Firmware:
Sep 21 2023 18:44:30
Copyright (c) 2012 Broadcom
version 3094eda5aadf2c719edd2c68d1900884abc3dbca (clean) (release) (start)
Kernel:
Linux raspserver 6.5.5-2-rpi-ARCH #1 SMP PREEMPT Thu Sep 28 12:43:30 EDT 2023 aarch64 GNU/Linux
(the issue started with kernel 6.5.5-1-rpi-ARCH #1 SMP PREEMPT)
Logs
If I only connect a 4 port hub (without anything applied:
usb 1-1.2: can't connect bus-powered hub to this port Hub
If I connect an USB to RS485 adaptor:
usb 1-1.2: rejected 1 configuration due to insufficient available bus power
Additional context
If i use
max_usb_current=1
in config.txt everything is working as before. This line was not neccessary up to kernel 6.5.4
The text was updated successfully, but these errors were encountered: