How to block USB storage devices on Xavier AGX?

I want to block USB storage devices on Xavier AGX. I used “sudo modprobe -r usb-storage” command. Yet, the return message is “FATAL:Module usb_storage is builtin”.
Is there any other way to diable USB stotage (both 2.0 and 3.0)?
Thank you in advance!

As the error said usb_storage is built in. It means it is inside the kernel image. If you want to disable it, go to the makefile or defconfig to remove it…

Message well received. Thanks a lot~

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.