(SOLVED) No USB devices connected after upgrade

Discussions related to using VirtualBox on Linux hosts.
Fabian10
Posts: 3
Joined: 6. Jan 2014, 01:16

(SOLVED) No USB devices connected after upgrade

Post by Fabian10 »

Hello,
I have been using VB for a very long time without any problems.
After upgrading Ubuntu to 13.10 and VB to 4.3.6 I can't see any USB device in any of my VB guests (Win7).
Here is some information that might help troubleshooting this problem.
NewW7-2014-01-05-18-47-05.log
Log file
(111.03 KiB) Downloaded 1257 times
Dell XPS-L401 (i7) running Ubuntu 13.10 64 bit with 16GB of RAM
VB 4.3.6 with matching Extension Pack installed and Guest Additions installed in Windows guest.
Guest is Win7 Ultimate with 3GB of RAM
I have verified that my user is included in the vboxusers and lp groups.
I can see the USB devices on the host.

It worked just fine form many years until this last upgrade...
Any help will be appreciated! :D
Thanks,

Fabian
Last edited by Fabian10 on 6. Jan 2014, 19:22, edited 1 time in total.
Fabian10
Posts: 3
Joined: 6. Jan 2014, 01:16

(SOLVED) No USB devices connected after upgrade

Post by Fabian10 »

Problem solved! :D

I don't know why this happened, but I will post it since it might be useful for other users with the same problem.
My user was included to the vboxusers group from before, and I have verified that via the Users and Groupd GUI application. It showed it OK, but USBs still wouldn't work.
I verified the same thing via "id" command line, and I was not included in the vboxusers group. :shock:
Then I edited the /etc/group file and found that it looked OK, with this at the end:
......
fabian:x:1000:
sambashare:x:124:fabian
vboxusers:x:125:fabian

I simply changed the contents of the file not to have vboxusers at the end of it, to:
....
fabian:x:1000:
vboxusers:x:125:fabian
sambashare:x:124:fabian

After doing this, everything started to work as it was supposed to... :P

Is this a bug in the new Ubuntu 13.10?

Thanks,

Fabian
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: (SOLVED) No USB devices connected after upgrade

Post by mpack »

Probably too late to check now, and I don't know if Ubuntu works like this: but that sort of problem is usually caused by a missing EOL on the last line.
islandbill
Posts: 1
Joined: 13. May 2014, 17:50

Re: (SOLVED) No USB devices connected after upgrade

Post by islandbill »

One little detail missing from this thread.... after adding yourself to the vboxusers group, you MUST log out of your Ubuntu account and log right back in. Otherwise it doesn't take.
rebelxt
Posts: 5
Joined: 24. Apr 2010, 16:55
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WinXP others

Re: (SOLVED) No USB devices connected after upgrade

Post by rebelxt »

This was my problem, too. Windows XP guest, Linux Mint 17 host.
TCDNV
Posts: 2
Joined: 16. Oct 2014, 02:19

Re: (SOLVED) No USB devices connected after upgrade

Post by TCDNV »

Howdy rebelxt ,

I am having this exact problem with Mint 17 64bit / Mate and VB 4.3.18 r96516 as the host and Win XP as the guest (with the correct Guest Additions install and verified).

I can use the USB connected keyboard and mouse with the "Enable the USB Controller" checked with no problems. However when I select " Enable USB 2.0 (EHCI) Controller" box (I want to run iTunes and manage my iPods) I get the following error:

"Invalid setting detected" which expands to tell me to install the "Extension Pack"

I have installed and reinstall both VB and the Guest Additions several time. I have also added myself to many of the user groups and I still get the same error and my iPods are not recognized in VB (they are recognized in Mint) ;-(

I cannot find a file in the "/etc/group" as noted above to edit.

Please tell me what to edit and where to find the file in Mint 17/Mate.

ALL Comments Greatly Appreciated!

Tom
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: (SOLVED) No USB devices connected after upgrade

Post by Perryg »

"Invalid setting detected" which expands to tell me to install the "Extension Pack"

I have installed and reinstall both VB and the Guest Additions several time
Tell me you see the difference in the two statements you posted. Just install the Extension pack that matches your build of VirtualBox.
TCDNV
Posts: 2
Joined: 16. Oct 2014, 02:19

Re: (SOLVED) No USB devices connected after upgrade

Post by TCDNV »

Howdy,

Well here's what a DUNCE I have been!

I have been downloading the "Extension Pack" thinking it was the "Guest Additions" each time. Because the "Guest Additions" have installed correctly each time I just ASSUMED that it was a nomenclature issue... Apparently the "Guest Additions" are included in the original program download since I have never downloaded them separately.

I have installed the "Extension Pack" and my USB problem has been solved! Now on to iTunes issues...

Thanks Very Much for taking the time to help me!

Tom
pouldney
Posts: 5
Joined: 1. Feb 2014, 02:27

Re: (SOLVED) No USB devices connected after upgrade

Post by pouldney »

In ubuntu 14.04 I upgraded to VBox 5.0.10
I upgraded extension pack and guest additions
No USB detected - Adding vboxusers:x:129:user to /etc/group
and - sudo usermod -aG vboxusers user - did not work
I downgraded to 5.0.8 and everything works
Vraagbaak
Posts: 1
Joined: 17. Nov 2015, 22:07

Re: (SOLVED) No USB devices connected after upgrade

Post by Vraagbaak »

After upgrading from 5.0_5.0.8-103449 to 5.0_5.0.10-104061, some of my USB devices did not work anymore.
The appropriate extension package had been installed and I could not figure out why it stopped.
After reinstalling the VirtualBox 5.0_5.0.10-104061 out of the blue it worked again.
So perhaps try reinstalling the software.

I'm running Linux Mint 17.1 / 64
ronnys
Posts: 37
Joined: 1. Apr 2009, 14:44
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: WinXP

Re: (SOLVED) No USB devices connected after upgrade

Post by ronnys »

I can confirm this.
I reinstalled PC and installed latest VB 5.0.10 and its Extension-pack and now USB is not working. It worked in the previous version.
How do we report this "bug"?

RS
pouldney wrote:In ubuntu 14.04 I upgraded to VBox 5.0.10
I upgraded extension pack and guest additions
No USB detected - Adding vboxusers:x:129:user to /etc/group
and - sudo usermod -aG vboxusers user - did not work
I downgraded to 5.0.8 and everything works
phez
Posts: 1
Joined: 18. Nov 2015, 11:54

Re: (SOLVED) No USB devices connected after upgrade

Post by phez »

Currently experiencing the same issue with Ubuntu 15.10 + Virtualbox 5.0.10
No USB detected
yoshikvtumanye
Posts: 1
Joined: 24. Nov 2015, 19:28

Re: (SOLVED) No USB devices connected after upgrade

Post by yoshikvtumanye »

The USB "no device available" problem in virtualbox 5.0.10 on my host (Fedora 22 Linux host)
was caused by wrong group names in /dev/vboxusb and subfolders

root@host:/ # ls -la /dev | grep vboxusb
drwxr-x--- 7 root root 140 Nov 24 10:10 vboxusb

Reason: In VirtualBox 5.0.10 the udev rules are buggy (at least seen in Fedora 22)
The $3 argument to VBoxCreateUSBNode.sh should be group name

/etc/udev/rules.d/60-vboxdrv.rules

SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"

change to

SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers"

or to whatever group your user is belonging to

and reboot.

After that the files in /dev/vboxusb show up the right group

root@host:/ # ls -la /dev | grep vboxusb
drwxr-x--- 7 root vboxusers 140 Nov 24 10:30 vboxusb

and USB devices get detected by the virtualbox user.
Last edited by yoshikvtumanye on 26. Nov 2015, 16:04, edited 7 times in total.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: (SOLVED) No USB devices connected after upgrade

Post by mpack »

@Yoshi: Did you raise a BugTracket ticket for this? That would be far more effective than posting to a random topic that's already marked SOLVED.
Boemba
Posts: 1
Joined: 31. Jan 2016, 23:12

Re: (SOLVED) No USB devices connected after upgrade

Post by Boemba »

I am using Mint 17.3 and virtualbox 5.0.2. I had exactly the same problem. I couldn't find the file /etc/udev/rules.d/60-vboxdrv.rules however, it didn't existed.
So I made the file and added the following lines like yoshikvtumanye suggested:

SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor vboxusers"

I rebooted and everything works perfect now!! Tanks a lot for all the help!!

Greetings
Boemba.
Locked