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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...