WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?  (Read 3574 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« 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
thank you for your help.
« Last Edit: October 09, 2011, 09:36:36 AM by netnomad »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« Reply #1 on: October 13, 2011, 02:25:13 AM »
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...
« Last Edit: October 13, 2011, 02:39:47 AM by netnomad »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« Reply #2 on: October 13, 2011, 02:57:44 AM »
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.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« Reply #3 on: October 13, 2011, 05:34:30 AM »
virtualbox-ose install script should create vboxusers group and add tcuser to this group

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« Reply #4 on: October 13, 2011, 05:44:04 AM »
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"

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« Reply #5 on: October 13, 2011, 05:50:55 AM »
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)
Code: [Select]
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
« Last Edit: October 13, 2011, 05:57:02 AM by Arslan S. »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: virtualbox-ose 4.1.4 on mc 4.0.1 - problem with the usb-bus?
« Reply #6 on: October 13, 2011, 05:56:09 AM »
sorry, i had no booted installation to check first.