夏业添 | 5 Jun 2012 09:02
Picon

Fwd: How can I disable all USB devices?

Thanks for reply! But it seems not suitable for my job.

Sorry for that I didn't talk about my situation clearly. I was asked
to only enable usb Network Interface Card, and disable all other usb
devices(like keyboard, mouse, stick, etc.).

I need a way to distinguish different usb devices and disable/enable
them. If anyone has some idea, please tell me.

2012/6/5  <Ashish_Bunkar <at> dell.com>:
> Hi
>
> You can just disable the USB support for your kernel by editing kernel parameters.
> Just add "nousb" to you kernel parameters In "/etc/grub.conf" and your kernel should not support USB
device thereafter.
> Also when you would like to enable them again just remove "nousb" from kernel command line and all should
 work fine with that.
>
> Please let me know if that helped you.
>
> Ashish Bunkar
> Linux Engineering
> Dell | BDC
> office +91-80-28078131,  mobile +91-7259183696
> Ashish_Bunkar <at> dell.com
>
>
>
> -----Original Message-----
> From: kernelnewbies-bounces <at> kernelnewbies.org
(Continue reading)


Gmane