Jump to content

disabling USB hardware


daniewicz
 Share

Recommended Posts

My motherboard has USB support, but I do not own any USB hardware so I wish to disable the USB support when booting linux.

 

My original lilo.conf looked like this:

 

image=/boot/vmlinuz

label="linux"

root=/dev/hda1

initrd=/boot/initrd.img

append="resume=/dev/hda5 splash=silent mem=1000M"

vga=788

read-only

 

With this lilo.conf, from boot.log:

Jan 2 08:18:13 192 usb: Initializing USB controller (uhci-hcd): succeeded

Jan 2 08:18:13 192 usb: Mount USB filesystem succeeded

 

 

Next I created a new lilo.conf adding nousb

 

image=/boot/vmlinuz

label="linux"

root=/dev/hda1

initrd=/boot/initrd.img

append="resume=/dev/hda5 splash=silent nousb mem=1000M"

vga=788

read-only

 

Using this lilo.conf removed the above USB message from boot.log. However, a USB controller still shows up in MCC under Hardware

 

??? :screwy:

 

I realize my best option would be to disable USB support in my BIOS, but I can't find anything other than disable legacy USB support.

Link to comment
Share on other sites

Put usbcore at hotplug's blacklist (if still using hotplug, of course- I do not). If you don't like messages about failing insmoding at bootup, put there as well uhci-hcd.

There's another method (changing the default udev rules), but it's not necessary.

Finally, why don't you simply disable USB support from system BIOS?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...