Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: netnomad on October 09, 2011, 09:32:10 AM
-
virtualbox-ose with the current Extension Pack and the vboxguestadditions does not allow the use of usb-devices.
i noticed some problems with the usb-devices in tc 4.0.1,
so i guess that its a bug in tinycore and probably no misconfiguration on my side.
under 3.8.4 i use virtualbox with different win-vms and the usb-devices work fine.
i refer to the usb-problem in jpilot:
http://forum.tinycorelinux.net/index.php/topic,11615.0.html (http://forum.tinycorelinux.net/index.php/topic,11615.0.html)
thank you for your help.
-
in 4.0.2 this problem is still around.
the cause is not the usb-dev-premission corrected by roberts...
there is also the needed entry in /etc/group:
vboxusers:x:100:tc
the extension pack confirms that the usb-device-ability is loaded, but no usb-devices are found...
-
I don't think adding groups should be something in the base - if a particular extension requires it, a start-up script could take care of it.
-
virtualbox-ose install script should create vboxusers group and add tcuser to this group
-
the install script creates vboxusers group and add tcuser to this group without any problems:
i guess that the tinycore4.x provides a different base of the usb-systems as tinycore3.x.
f.e. debian provides a udev-rule
/etc/udev/rules.d/
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"
-
the install script creates vboxusers group and add tcuser to this group without any problems:
i guess that the tinycore4.x provides a different base of the usb-systems as tinycore3.x.
f.e. debian provides a udev-rule
/etc/udev/rules.d/
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"
virtualbox-ose has a udev rule file (/lib/udev/rules.d/60-virtualbox.rules)
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/local/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/local/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
but udev is not triggered when the extension is loaded maybe that's the problem. can you try `udevadm trigger` after loading virtualbox-ose please
-
sorry, i had no booted installation to check first.