-
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
Add UAS blacklist for 0080:a001 #3855
Comments
Maintaining compatibility lists for USB devices is undesirable because it will always be out of date. I did wonder whether a raspi-config or similar UI to disable UAS by default might be useful i.e. it's slow by default and you can enable UAS after testing that it works ok. I'll leave that for UAS experts to comment on. |
I at least found several commits for adding USB quirks to the RPi kernel, basically lists are there already: ffeb58a#diff-0e4dc4e375eb944c0dcabef4c1073cfa If is not long ago that UAS module was added to solve some USB drive scenarios: #2813 I'm not sure whether this breaks more than it solves. The module is loaded by default (at least as long as a USB drive is attached), probably it should not be, not sure if some dtoverlay would be a solution. |
I agree that we shouldn't be adding downstream quirks (which is not a compatibility list, but ends up getting treated the same as one if you want to maintain it). Manufacturers may ship multiple firmware versions for the same controller reporting the same VID:PID - some with patched/fixed UAS implementations that have no issue with Pi 4 - so you may have to override added quirks for a fixed version if you want better performance. The existing flow is simple - UAS is enabled by default, and if there's an issue with it - follow instructions in the thread you linked to disable it. It could be made simpler/easier with a raspi-config switch, or via some sort of provisioning step when building the USB mass storage boot filesystem, but all you need is a text editor on any Pi/PC/Mac platform to access cmdline.txt. |
That is a good argument. Okay I was not sure how this is handled, many thanks for clarification.
I was thinking to write a little whiptail UI to add UAS blacklists to cmdline based on |
Preamble
I am not sure how adding such USB quirks on RPi kernel is handled, in which cases patch are better send upstream and how the implementation looks like based on the vendor:product ID. In case please advise me how to handle such better and how this is added to code to send a PR directly.
Describe the bug
Drives attached via
0080:a001
bridge to USB3 port cannot be used for USB boot. Adding a quirk for UAS blacklist solves the issue.System
cat /etc/rpi-issue
)? Raspbian Busteruname -a
)?5.4.51-v7l+ #1333
Additional context
The text was updated successfully, but these errors were encountered: