Steven Davies-Morris wrote:
> Peter Klaassen wrote:
>> Op Sunday 12 October 2008 20:57:12 schreef Steven Davies-Morris:
>>> If you got it from the sun site then it's PUEL.
>> indeed, but no usb-support
> 
> PUEL provides USB support. However you have to be registered as a USB
> user. It is all in the vBox documentation. I'm going out now for
> several hours to a family gathering. When I get back I'll look it up
> if I don't see on this list that you found the solution.

I don't know about Kubuntu, but with Fedora 8 being a member of the
USB group does not work. The USB file system is not listed in fstab
- I think it is mounted in the initrd. But it is possible to create
udev rules that will set the permissions of specific devices so that
they are accessible by VirtualBox. I use the vboxusers group instead
of the usb group. (There isn't a usb group.) My rules look something
 like this:

ACTION!="add",SUBSYSTEM!="usb", GOTO="vbox_rules_end"

# eBookwise eBook reader.
ATTR{idVendor}=="0993", ATTR{idProduct}=="0002",
run="/lib/udev/set-usb-group %s{uevent}"

LABEL="vbox_rules_end"

The set-usb-group looks like this:

#! /bin/sh
ret=false
if [ "$DEVICE" != "" ]; then
 if [ -e $DEVICE ]; then
  chgrp vboxusers $DEVICE && \
  chmod g+rw $DEVICE && \
  logger udev/set-usb-group: $(ls -l $DEVICE)
    ret=true
 fi
fi

I have not needed it, because the devices I want to use are not yet
supported by Linux, but it would not be hard to add changing the
permissions of the created devices as well. Either in the udev
rules, or added to the script.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to