linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lindsay Haisley <fmouse-gentoo@fmp.com>
To: linux-hotplug@vger.kernel.org
Subject: USB/VMWare question
Date: Tue, 16 Nov 2004 04:40:28 +0000	[thread overview]
Message-ID: <20041116044028.GA11922@fmp.com> (raw)

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://pubkeys.fmp.com>
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

             reply	other threads:[~2004-11-16  4:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  4:40 Lindsay Haisley [this message]
2004-11-19 16:44 ` USB/VMWare question Lindsay Haisley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041116044028.GA11922@fmp.com \
    --to=fmouse-gentoo@fmp.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).