This is the error I receive when trying to add my USB device to the Windows XP VM:
Not permitted to open the USB device, check usbfs options.
I edited /etc/fstab and added the following:
#usbfs
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0
I can access my USB HP Printer but not my USB Flash Drive.
Any help would be greatly appreciated.
Thanks for a great product!!
Keep up the good work!
Concorde7340
"Linux Forever"
Not permitted to open the USB device, check usbfs options
-
- Posts: 2
- Joined: 30. May 2007, 01:12
-
- Posts: 13
- Joined: 30. May 2007, 04:06
- Location: ohio
- Contact:
-
- Posts: 2
- Joined: 30. May 2007, 01:12
sirscott43, I figured it out bud.
When you edit the fstab file and you have the USB info in a filter on VirtualBox, go ahead and shutdown VirtualBox.
Now, restart your OS, then fire up VirtualBox and then Windows XP.
Finally insert your USB device, it recognized mine after this.
A lightning strike knocked out the power to our house which caused my pc to shutdown. When I rebooted, then restarted VB, my USB device was recognized. Remember to start up VB fully with your OS choice before inserting your USB drive.
Hope this helps..
When you edit the fstab file and you have the USB info in a filter on VirtualBox, go ahead and shutdown VirtualBox.
Now, restart your OS, then fire up VirtualBox and then Windows XP.
Finally insert your USB device, it recognized mine after this.
A lightning strike knocked out the power to our house which caused my pc to shutdown. When I rebooted, then restarted VB, my USB device was recognized. Remember to start up VB fully with your OS choice before inserting your USB drive.
Hope this helps..
-
- Volunteer
- Posts: 180
- Joined: 17. May 2007, 16:02
The other potential solution is to edit /etc/udev/rules.d/40-permissions.rules
Note: This file is called by different names on various versions of Linux. The above file is for Ubuntu.
Change this line :
Note: This file is called by different names on various versions of Linux. The above file is for Ubuntu.
Change this line :
To :SUBSYSTEM=="usb_device", MODE="0664"
Or modify your fstab line :SUBSYSTEM=="usb_device", MODE="0666"
#usbfs
none /proc/bus/usb usbfs devgid=46,devmode=666 0 0
If is a virtual machine, is it still broken ?
-
- Posts: 10
- Joined: 1. Jun 2007, 23:29
I'm a newbie in Linux.bodhi.zazen wrote:The other potential solution is to edit /etc/udev/rules.d/40-permissions.rules
Is it possible or recommended to try to implement tighter control over VirtualBox and USB devices permissions ?
Does changing access rights from 0664 to 666 have side effects on other applications ?
In other words, is it safe to offer write access to anyone for the sake of allowing USB use with VirtualBox ?
Cheers
-
- Posts: 10
- Joined: 1. Jun 2007, 23:29
Replying to myself, Virtualbox manual (in 10.4.6 USB not working") qualify this (0664 to 666) as "security hole".olivier2831 wrote: Does changing access rights from 0664 to 666 have side effects on other applications ?
It is seems from that manual, that in the first place, troubles come from distributions not being to share the settings for usbfs mounting script location :
Etch uses /etc/init.d/mountkernfs.sh while SUSE uses something else.