On 05/31/2008 10:18 AM, Seth Keiper wrote: > On Fri, May 30, 2008 at 11:03 AM, NoOp <[EMAIL PROTECTED]> wrote: > >> On 05/30/2008 02:11 AM, Michael Thayer wrote: >> > Hello NoOp, >> > >> > I'm afraid not, because Linux is not really used to handling the >> > situation that drivers for a device "come and go", so it doesn't >> > re-attach the old driver when VirtualBox (and the Windows driver inside >> > of it) releases the printer. Unplugging and replugging the printer >> > should also do the trick if that is any better for you than switching it >> > on and off. >> > >> > Regards, >> > >> > Michael >> >> Interesting & thanks for the info. After a bit more experimenting I did >> find that if I leave VB & the VM running, but just unchecking the device >> via Devices|USB Devices and then turning the printer on/off, the port is >> returned to use by linux. I can then do the reverse to return it to the >> VM. So I have to wonder if there is something in the the VB code or >> /etc/init.d/mountdevsubfs.sh that could possibly be modified to release >> the port properly. Perhaps similar to ifup/ifdown etc for a networking >> port. > > > This is because VirtualBox captures the USB device. Both the host and guest > cannot share the printer.
After thinking this through a bit further & according to my last testing; it appears that VB _is_ actually releasing the port properly, otherwise even turning the printer off/on wouldn't allow the host (linux in this case) to re-aquire the port and the printer & vice versa going back to the guest (Win2KP). It's a bit kludgy & a software command such as ifup/ifdown would make life considerably easier. Anyone know if there is such a CLI command for a standard USB port (linux)? _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
