I have a situation, thanks to VMware, where I want to block the the various USB drivers in Linux from recognizing and attaching to a device when I plug it in... HOWEVER, I have a similiar device that must remain plugged in and attached.
Basically, I have a Debian system with Kernel 2.6.10 which stores a lot of necessary data (VMWare images) on an external USB hard disk. I want to now load up Windows XP in VMWare and attach a USB DVDRW drive to WindowsXP. I can only do this if Linux does not attach to and thus claim the DVDRW drive when I plug it in. From my reading my log/dmesg output, I can see that the usb-storage driver controls access to both of my devices, so the typical answer I see everywhere of "rmmod usb-storage" won't really work, as I understand it. If I rmmod usb-storage, then my external hard disk will become unavailable, VMWare will crash, and I won't need to bother trying to use the DVDRW drive anyway. Is there ANY way to block USB from attaching a specific device, given perhaps by its ID, manufacturer, or some unique characteristic? BTW, I currently don't have the USB drivers as modules, they are compiled in to my kernel. IF I must, I will recompile the kernel with the USB drivers as modules, but I would love for some knowledgeable person to say "Oh sure, to unattach an attached device or simulate a disconnect, just type edit this or run this command etc." instead of monkeying with modules. Thanks for any guidance here. Nobody on the VMWare discussion boards seems to have any bright ideas, so that's why I thought I would put it to the Linux USB folks. -Nick -- The more succinct your sig, the more you grok the net. ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
