Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-25-2007, 10:25 PM
|
#1
|
Member
Registered: Jul 2004
Location: Lubbock, Texas
Distribution: Slackware 12.0 with Beryl 0.2.1
Posts: 334
Rep:
|
Cannot use any USB devices in VirtualBox
Hi, I have a problem with Virtualbox when I try to use any USB devices, I get this message:
Code:
Not permitted to open the USB device, check usbfs options.
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
I noticed that I can use USB devices when I run XP while I'm root. I tried a couple of sites HOWTO's on this matter, but it didn't help.
Any ideas?
Thanks,
--David
|
|
|
07-30-2007, 12:44 AM
|
#2
|
Member
Registered: Jul 2004
Location: Lubbock, Texas
Distribution: Slackware 12.0 with Beryl 0.2.1
Posts: 334
Original Poster
Rep:
|
I figured it out. For anybody that uses a distro that doesn't use "sudo" by default, (i.e. Slack) You gotta set up sudo to allow you to run /usr/bin/VirtualBox as root
|
|
|
11-15-2007, 05:24 PM
|
#3
|
LQ Newbie
Registered: Oct 2006
Posts: 1
Rep:
|
The problem:
In Slackware 11, usbfs is mounted from rc.udev with
Code:
mount usbfs -t usbfs /proc/bus/usb -o devgid=10,devmode=0666
In Slackware 12, usbfs is mounted from rc.S with
Code:
/sbin/mount -v usbfs /proc/bus/usb -t usbfs
Which means that only root is able to rw in usbfs.
The solution:
You must edit rc.S to mount usbfs with rw permissions for other users (I used `wheel’ group):
Code:
/sbin/mount -v usbfs /proc/bus/usb -t usbfs -o devgid=10,devmode=0664
|
|
|
07-15-2009, 09:14 PM
|
#4
|
Member
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167
Rep:
|
Running virtualbox 3.0 r49315 on slackware12 stock (i mean... not updated to current) and this tweek don't work
I have to run virtualbox as root to get access to usb devices....
does anybody have the same issue as me?
|
|
|
07-15-2009, 09:53 PM
|
#5
|
Member
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167
Rep:
|
found a much elegant solution...
add this line to /etc/fstab
none /proc/bus/usb usbfs auto,remount,devmode=0664,devgid=100 0 0
|
|
|
03-26-2010, 05:57 PM
|
#6
|
LQ Newbie
Registered: Oct 2005
Location: Slovakia
Distribution: Debian, Slackware
Posts: 19
Rep:
|
Quote:
Originally Posted by kernel-P4N1C
found a much elegant solution...
add this line to /etc/fstab
none /proc/bus/usb usbfs auto,remount,devmode=0664,devgid=100 0 0
|
For anyone who finds this thread like me.
the remount option is invalid in fstab and will yield to mount failing.
put rw,auto and the dev configs instead
easy to see but saves a few reboots
|
|
|
03-26-2010, 06:02 PM
|
#7
|
LQ Newbie
Registered: Oct 2005
Location: Slovakia
Distribution: Debian, Slackware
Posts: 19
Rep:
|
please delete
|
|
|
06-14-2010, 08:36 AM
|
#8
|
Member
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167
Rep:
|
JUNE 2010 UPDATE
I had to make a clean install on my hdd as it died.
On a clean install of slackware 13.1 and this approach no longer works.
I have access to a usb printer but no access to any mounted or unmounted usb pendrive.
|
|
|
All times are GMT -5. The time now is 11:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|