02-11-2016 03:55 PM
I'm using an RTLinux board in a product and I want to disable the USB ports. I realize I should be able to disable the USB ethernet functionality with "ifconfig usb0 down" I can prevent physical access with some super glue in the port, but I want to completely eliminate the use of all USB ports in software.
Short of recompiling the kernel without usb support what are my options?
Thanks,
Richard
02-11-2016 04:14 PM
The USB subsystem can be disabled using the 'nousb' kernel parameter.
How to pass the parameter via the kernel boot command line varies based on the controller:
02-11-2016 05:35 PM
I tried this out on a myRIO, and it seems to disable the USB host functionality, not the OTG/device functionality.
I'm afraid your options are to rebuild the kernel or to muck around with some of the scripts that control the networking system on the targets. Let us know which of these two less-than-awesome approaches sounds more palatable and we can assist from there