LinuxQuestions.org
Review your favorite Linux distribution.
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, 02:10 AM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Original Poster
Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
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, 08:00 PM   #17
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

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, 02:03 AM   #18
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Original Poster
Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Thanks asu9

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

Rep: Reputation: 65
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, 10:46 AM   #20
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Original Poster
Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
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 10:57 AM.
 
Old 05-23-2010, 07:41 PM   #21
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
cool

I shall remember this post if I have similar issues thanks
 
  


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 07:27 AM
detect usb device insert/remove and get device node from "C" program ebinjose Linux - Embedded & Single-board computer 4 04-29-2012 09:26 AM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 05:56 PM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 12:13 PM
"Unknown Device"s in lspci, computer running slow thrice Slackware 2 03-28-2004 09:14 AM


All times are GMT -5. The time now is 05:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration