Okay, I completely removed virtualbox and my vm's. I then downloaded from the virtualbox.org site the peul version 1.6.6 (I've read other places that 1.6.6 worked for their USB when 2.04 didn't).
I defined a Vm as Ubuntu 8.04, created a virtual disk of the default 8 gig size automatically expandable.
I went to settings and to USB, enabled botht USB controllers.
I added a blank filter (says it allows all devices to pass).
I installed Ubuntu 8.04 from an ISO image.
I installed the additions to the Ubuntu guest.
Restarted as requested every place.
On final restart, waited for VM to come up, then plugged in one of my USB flash drives. VM has no indication it exists. The USB icon on the bottom task bar only shows the keyboard and the mouse.
Did a vboxmanage list hostusb - the flash drive doesn't show there at all.
I have done nothing else - none of the suggestions from the many other sites, etc..
The WIKI and FAQ did not indicate anything specific for a Linux GUEST, particularly where USB is concerned.
So, I have a "raw" installation - I didn't let Ubuntu install any new updates, I didn't install the development libraries I require - it's just raw.
So, given that, given Windows XP Pro SP3 as the host OS and Ubuntu Linux 8.04 with the additions as the guest OS, I am ready for more instruction as to how to get this to work.
Dave
I shutdown the VM completely and then using the virtualbox console tried to see if it saw my USB device in settings - it didn't.
Closed out of virtualbox.
vboxmanage list usbhost now showed my flash drive as busy.
Opened virtualbox.
Went to USB settings - did add, my device showed so I clicked on it. A filter was added for it, so I now had 2 filters - the empty one followed by the device-specific one.
vboxmanage list usbhost still showed my flash drive as busy.
Started the Ubuntu guest OS VM. Immediately, vboxmanage list usbhost showed the flash drive as captured.
When Ubuntu was all the way up and I was logged on and sitting on the desktop, the flash drive was not visible. Went to the USB icon on the lower status bar - just putting cursor over it it said no devices attached. Did a right click and selected my device from the list - got the busy error box again:
USB device 'LEXAR JD FIREFLY' with UUID {5690c3e1-8d9e-452d-bc0d-f3c92997f414} is busy with a previous request. Please try again later.
Result Code:
E_INVALIDARG (0x80070057)
Component:
HostUSBDevice
Interface:
IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
While this error box is up, vboxmanage list usbhost still showed the flash drive as captured.
Closed the error box.
Vboxmanage list usbhost still showed the flash drive as captured.
Ubuntu does not show any USB devices, just the busses, even as super user:
dave@dave-ubuntu-804:~$ sudo lsusb
[sudo] password for dave:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
dave@dave-ubuntu-804:~$
I don't know what else to try now without someones help. I hope I have provided enough information for someone.
Thanks in advance!
Dave
EDIT#2: Did the following from a website pointed to in the wiki/faq:
USB
To get USB support, you need the PUEL version. Via the GUI, there is an option to enable USB.
Furthermore, your user must be able to access /proc/bus/usb/*
Since Gutsy, /proc/bus/usb is not mounted by default. In Intrepid, you need to add the following lines to /etc/init.d/mountdevsubfs.sh right after domount devpts "" /dev/pts devpts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE but before the ending } for the dostart shell function. For Gutsy and Hardy you just need to edit /etc/init.d/mountdevsubfs.sh and uncomment the following lines:
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usbThen run the script that you just edited:
sudo /etc/init.d/mountdevsubfs.sh startIn order to give users in the vboxusers group write permissions to the devices in /proc/bus/usb, you'll need to edit some rules in /etc/udev/rules.d.
Under Gutsy, edit /etc/udev/rules.d/40-permissions.rules to say the following:
# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664", GROUP="vboxusers"Under Hardy and Intrepid, edit /etc/udev/rules.d/40-basic-permissions.rules to say the following:
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664", GROUP="vboxusers"
SUBSYSTEM=="usb_device", MODE="0664", GROUP="vboxusers"Then, restart the udev service:
sudo /etc/init.d/udev restartNow, if you haven't done it already, make sure your user is part of the group vboxusers using the following command:
sudo usermod -G vboxusers -a `whoami`
http://www.virtualbox.org/ticket/747
logged-off, logged on - no difference
powered off vm, exited virtualbox
started virtualbox. In console, turned off the USB 2 controller and created a device specific filter for the flash drive.
vboxmanage showed device busy
start Ubuntu VM and logged in
vboxmanage showed device as captured
no usb devices listed in lsusb
hovering over the USB icon on lower status bar shows no devices attached.
right-click on USB icon and selected the device - got the busy box again.
The rest of the info I have seen regarding Ubuntu deals with Ubuntu being the HOST OS.
I'm out of things to try from everything I've read.
I still think this is a problem with virtualbox and Windows XP Pro SP3 as the host and Linux (Ubuntu) as the guest.
Dave
EDIT-EDIT-EDIT:
Found this in a thread about wine and using it to kick off a vb process:
TerryE
Joined: 28 May 2008
Posts: 1884
Posted: Wed Jul 30, 2008 12:36 am Post subject:
--------------------------------------------------------------------------------
dangling participle wrote:
winehq db says it has problems with psexec
anyone with XPhome will have problems with PSexec. It assumes that you are running the full NT security and authentication model as implemented by NT4, W2K, XPpro. The MS boys gutted this for XPhome.
_________________
While I know wine has nothing to do with my problem, especially since I'm running a Windows host, but was curious if the things mentioning full NT security in XP Pro has anything to do with my problem. Perhaps I need to set something in the Windows host to give access to Linux guest for the USB devices?