VirtualBox (PUEL) amb USB (Solució)

Hola a tots,

En el VirtualBox OSE (codi lliure) de la Linkat 2.0 hi trobo a faltar l'ús dels USB. Això es pot solucionar instal·lant un altre VirtualBox descarregat de http://download…0.1-1.i586.rpm
El seu codi no es lliure, però té llicència gratuïta anomenada (PUEL).

Bé el cas és que un cop instal·lat els USB, tot i que disponibles en teoria, encara no funcionaven.
He aplicat la solució al /etc/fstab que explicava l'Artur en un altre fil sobre el VMware Server i tampoc. Buscant en el manual d'usuari del VirtualBox he trobat la següent solució:

For SuSE 10.0 the mount command is part of the udev configuration file
/etc/udev/rules.d/50-udev.rules. As this distribution has no user group
called usb, you may e.g. use the vboxusers group which was created by the
VirtualBox installer. Since group numbers are allocated dynamically, the following
example uses 85 as a placeholder. Modify the line containing (a linebreak has been
inserted to improve readability)
DEVPATH="/module/usbcore", ACTION=="add",
RUN+="/bin/mount -t usbfs usbfs /proc/bus/usb"
and add the necessary options (make sure that everything is in a single line):
DEVPATH="/module/usbcore", ACTION=="add",
RUN+="/bin/mount -t usbfs usbfs /proc/bus/usb -o devgid=85,devmode=664"

Així doncs en l'arxiu 50-udev-default.rules he afegit al final de l'arxiu en una sola linia:
DEVPATH="/module/usbcore", ACTION=="add",
RUN+="/bin/mount -t usbfs usbfs /proc/bus/usb -o devgid=108,devmode=664"

posant 108 enlloc de 85 perquè era el meu número de grup de vboxusers.

I.....JA FUNCIONA !

Pot ser algú ho pot pulir més bé, però el cas és que funciona.

Ara ja puc connectar un PLC que tinc, pel USB, del que sols hi ha programari per a Windows.

Fins aviat

Pere Joan