LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-03-2010, 01:10 AM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
From workaround to fix (not understood)


In short, USB devices are no longer greyed out when using the original configuration.

In detail ...

The fstab change in the last post was a workaround, not a fix, so I backed it out and investigated further.

After renaming /etc/udev/rules.d/10-vboxdrv.rules to 91-vboxdrv.rules and rebooting the host, the problem was fixed. This suggested a rules order dependency so it should be possible to identify the rule causing the problem by changing <nn> in <nn>-vboxdrv.rules. Fortunately I decided to put it back to 10-vboxdrv.rules to start with as a "null test" to confirm the problem. Much to my surprise the problem was still fixed and stayed fixed on re-plugging the test device and on rebooting the host. The problem had been only very slightly intermittent so there was good confidence the problem was actually fixed.

I do not know of any mechanism by which moving the rule to (almost) the end of the rules order and putting it back to the original position would fix anything but that is what happened unless it was pure co-incidence and something else fixed it. The only possible "something else" I am aware of was routine Slackware maintenance (upgraded to mozilla-firefox-3.6.2-i686-1, openssl-0.9.8n-i486-1_slack13.0, openssl-solibs-0.9.8n-i486-1_slack13.0 and proftpd-1.3.3-i486-2_slack13.0) but I do not know that any of those packages is used by VirtualBox.
 
1 members found this post helpful.
Old 04-04-2010, 07:00 PM   #17
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

if interested here is my rules..contents

KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="vboxusers", MODE="0664"
 
Old 04-05-2010, 01:03 AM   #18
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks asu9

That's identical to mine -- as installed.
 
Old 05-09-2010, 09:14 AM   #19
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Thumbs up

Quote:
Originally Posted by catkin View Post
After renaming /etc/udev/rules.d/10-vboxdrv.rules to 91-vboxdrv.rules and rebooting the host, the problem was fixed.
Brilliant! Thanks
 
Old 05-09-2010, 09:46 AM   #20
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by LJSBrokken View Post
Brilliant! Thanks
Glad it worked for you After changing the rule file back to 10-vboxdrv.rules it worked for a while and then broke again. I was in a hurry so just put the rule back to 91-vboxdrv.rules and it worked again. Later I put it back to 60-vboxdrv.rules where it has been working for a few weeks now. I'll give it a while longer and, if it's still working OK I'll try 51-vboxdrv.rules -- progressively halving the rule set to identify the rule that causes the breakage.

EDIT: above should be 66-vboxdrv.rules, not 60-vboxdrv.rules.

Last edited by catkin; 05-09-2010 at 09:57 AM.
 
Old 05-23-2010, 06:41 PM   #21
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
cool

I shall remember this post if I have similar issues thanks
 
Old 10-28-2016, 05:40 PM   #22
EsTaF
LQ Newbie
 
Registered: Apr 2003
Location: /Russian Federation/Moscou/Odintsovo
Posts: 28

Rep: Reputation: 16
Quote:
Originally Posted by catkin View Post
In short, USB devices are no longer greyed out when using the original configuration.

In detail ...

The fstab change in the last post was a workaround, not a fix, so I backed it out and investigated further.

After renaming /etc/udev/rules.d/10-vboxdrv.rules to 91-vboxdrv.rules and rebooting the host, the problem was fixed..
nothing
cd /etc/udev/rules.d/
mv 60-vboxdrv.rules 91-vboxdrv.rules
reboot

VBoxManage list usbhost
Host USB Devices:

UUID: b55d388b-b2b7-4f76-8c87-f203ae708603
VendorId: 0x0557 (0557)
ProductId: 0x2419 (2419)
Revision: 1.0 (0100)
Port: 0
USB version/speed: 1/1
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7.1//device:/dev/bus/usb/003/005
Current State: Unavailable
 
  


Reply

Tags
usb, virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB host to device "passthrough" JonathanWilson Linux - Embedded & Single-board computer 4 05-22-2013 06:27 AM
detect usb device insert/remove and get device node from "C" program ebinjose Linux - Embedded & Single-board computer 4 04-29-2012 08:26 AM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 04:56 PM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 11:13 AM
"Unknown Device"s in lspci, computer running slow thrice Slackware 2 03-28-2004 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration