From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lindsay Haisley Date: Tue, 16 Nov 2004 04:40:28 +0000 Subject: USB/VMWare question Message-Id: <20041116044028.GA11922@fmp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org This may be a VMware issue, and may be something that can be corrected by configuration, or it may be an issue that needs addressing in Linux hotplugging. It's an issue that could cause a lot more trouble than it's causing me, for instance if a USB printer were involved rather than simply a USB storage device. I'm using Gentoo Linux w. kernel-2.6.9, udev 043, plus VMware workstation 4.5.2 build-8488. I have VMware configured to automatically connect new USB devices to the virtual machine when it has the focus. If the usb-storage module is _not_ installed and I connect a USB storage device to the system, the VMware guest OS (Windows 98SE) correctly detects and mounts the device; however, the host OS simultaneously installs the usb-storage kernel module. This doesn't appear to interfere with normal operation in the guest OS, which can access the USB storage device normally. If the USB storage device is unplugged and then re-plugged, however, the presence of this module in the kernel causes VMware to complain that the device is already in use in the host OS and can't be used in the guest system, and the device doesn't work. I can get around this each time by unplugging the USB storage device, rmmod'ing usb-storage in the host OS, giving the guest OS focus again, and then re-inserting the storage device. This is an obvious PITA. Is there some way to provide conditional module insertion to the hotplugging system? I need to be able to use the USB drive in both Linux and the guest Windows OS, so the usb-storage module is necessary. I would just like some way for the host OS to know that VMware is running and not insert the usb-storage module in this case. -- Lindsay Haisley | "Fighting against human | PGP public key FMP Computer Services | creativity is like | available at 512-259-1190 | trying to eradicate | http://www.fmp.com | dandelions" | | (Pamela Jones) | ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel