[EMAIL PROTECTED] wrote: >> It sounds like the user running VirtualBox does not have permission >> to access the USB devices. This is covered in the manual. Depending >> on the Linux distribution, the method in the manual may not work. >> You may want to post the Linux distribution the host system is running. >> >> Mikkel > > Hi > > Am able to use the memory as any user directly in the host... my question > about access to USB, if it is directly or via libusb, is because I have > troubles to access devices via *libusb* as other user different than root, > devices accessed by driver (not libusb) have no problem. > > Thanks > I am not sure if it is using libusb. Bit I know I have to set the permissions for the device in /proc/bus/usb/<bus>/<device> before the VB can access it. I have a udev rule and a script that uses udev varables to get the correct location. Right now, I am only using this for devices that do not have Linux drivers...
For memory devices, you may run into another problem if they are auto-mounted. If the device is mounted, it is in use. I don't think the device can be in use on both systems at once. Memory are accesses by a driver, (usb_storage) and have a SCSI drive entry in the /dev/directory. Even though the file system on them is accessible by a user, the device entry itself is owned by user root, group disk, and is brw-r----- so a user can not access the raw device. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup! _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
