How can I disable all USB devices?

夏业添 summerxyt at
Mon Jun 4 23:18:23 EDT 2012

Hi there,

I want to disable all my USB devices (mouse, keyboard,... ) now, but
hope to enable some certain device in the future. And I don't want to
recompile kernel or disable usb module.

I've searched on the Internet, and it seems that udev manage devices
connecting to my computer. Can I use udev to disable all USB devices?


More information about the Kernelnewbies mailing list