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

CONFIG_USB_UAS & CONFIG_USB_STORAGE to module #290

Closed
matthuisman opened this Issue Apr 28, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@matthuisman

matthuisman commented Apr 28, 2017

Having them as modules allows for forcing usb-storage mode using a modprobe.d rule

eg.
/etc/modprobe.d/disable-uas.conf
options usb-storage quirks=0x0bc2:0x3321:u

Should help with these sort of issues:
https://forum.odroid.com/viewtopic.php?f=146&t=26016&start=50#p187838
https://forum.odroid.com/viewtopic.php?f=146&t=26016#p186301

@OtherCrashOverride

This comment has been minimized.

Show comment
Hide comment
@OtherCrashOverride

OtherCrashOverride commented Apr 30, 2017

This can be done on the kernel command line:
https://forum.odroid.com/viewtopic.php?f=146&t=26016&start=50#p188320

@matthuisman

This comment has been minimized.

Show comment
Hide comment
@matthuisman

matthuisman May 1, 2017

Thank you :)
I'll close the issue.

(Re-opens)
Actually, is there any "downside" to making these modules?
Personally I like using a modprob file instead of touching the kernel cmdline.

Also, a lot of the solutions online are the modprobe solution so a lot of users may try that first.

(Currently I use ArchLinux and have just modified the PKGBUILD to replace the Y with a M)

matthuisman commented May 1, 2017

Thank you :)
I'll close the issue.

(Re-opens)
Actually, is there any "downside" to making these modules?
Personally I like using a modprob file instead of touching the kernel cmdline.

Also, a lot of the solutions online are the modprobe solution so a lot of users may try that first.

(Currently I use ArchLinux and have just modified the PKGBUILD to replace the Y with a M)

@matthuisman matthuisman closed this May 1, 2017

@matthuisman matthuisman reopened this May 1, 2017

@OtherCrashOverride

This comment has been minimized.

Show comment
Hide comment
@OtherCrashOverride

OtherCrashOverride May 1, 2017

The down side to making it a module is that you need a initrd to use USB storage at boot time. If the initrd is ever out of sync with the kernel, USB storage will not be accessible (rootfs on HDD, etc). This also impacts those not using an initrd in embedded projects.

OtherCrashOverride commented May 1, 2017

The down side to making it a module is that you need a initrd to use USB storage at boot time. If the initrd is ever out of sync with the kernel, USB storage will not be accessible (rootfs on HDD, etc). This also impacts those not using an initrd in embedded projects.

@matthuisman

This comment has been minimized.

Show comment
Hide comment
@matthuisman

matthuisman May 1, 2017

Thanks.
I'll close :)

matthuisman commented May 1, 2017

Thanks.
I'll close :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment