disabling usb devices in a laptop

Aaron Toponce aaron.toponce at gmail.com
Thu Dec 11 08:57:21 MST 2008


On Thu, Dec 11, 2008 at 08:34:27AM -0700, Andrew McNabb wrote:
> I recently ran powertop on a laptop and noticed that the webcam and
> bluetooth devices (both of which are connected via an internal USB hub),
> are always on.  They are both sucking power, and the webcam is also
> hitting the CPU with a constant stream of interrupts.  Since I'm not
> using them, I would love to disable these devices.
> 
> So far I have tried unloading the kernel modules, which didn't work, and
> blacklisting them so they can't load in the first place, which also
> didn't work.  Unfortunately, the BIOS is limited and doesn't give any
> options for disabling specific devices.
> 
> Has anyone run into this problem before?  How do you turn off a USB
> device without snipping the wires?

What distro? In Debian/Ubuntu, you can just unload the 'usbcore' module
or blacklist it. Placing it in your /etc/modprobe.conf or
/etc/modprobe.d/ should suffice.
-- 
                       _
Aaron Toponce         ( )  ASCII Ribbon Campaign
www.aarontoponce.org   X   www.asciiribbon.org
                      / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20081211/cb902bb8/attachment.bin 


More information about the PLUG mailing list