On Sat, 6 Jan 2007, Mark Watson wrote:
> I just bought a NEC USB2 PCI card, to workaround the Via khubd hangs.
> I'd like to disable the onboard Via USB2 controller entirely, but my
> bios has no such option:-( How can I tell Linux to ignore/disable the
> device?
>
> I'm using USB built into the kernel at present. The only option I
> found is nousb, but that turns everything off. I'm happy to build as
> modules but, at least in ehci-hcd, there seems to be no option to
> specify a PCI device explicitly...
You can unbind the controller from its driver, which should end up doing
what you want.
Look in /sys/bus/pci/drivers/ehci_hcd to find the device ID of your
controller, and write that ID to the "unbind" file in that directory. For
example, you might do something like this:
# ls /sys/bus/pci/drivers/ehci_hcd
0000:00:0f.3 bind module new_id unbind
# echo -n 0000:00:0f.3 >/sys/bus/pci/drivers/ehci_hcd/unbind
Of course, you will have two device IDs because you've got two
controllers -- so be sure to select the right one.
Alan Stern
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users