VirtualBox USB on Leap 42.2

Good morning,

After update to openSUSE Leap 42.2 Virtualbox don’t see USB.

In Leap 42.2 this:

“Copy the file /usr/lib/udev/rules.d/60-vboxdrv.rules to
/etc/udev/rules.d/, open it with a text editor, and remove the leading
'#'s from the last 4 lines below the comment in line #2.”
work fine.

In Leap 42.2 the file /usr/lib/udev/rules.d/60-vboxdrv.rules does not
exist. I copied the file from Leap 42.1 but do not work.

Virtualbox is 5.1.8 from Main update openSUSE repo.
Someone have a solution?
Thank you

You need to install the VirtualBox extension pack for USB to work. Get it here:

https://www.virtualbox.org/wiki/Downloads

FYI,

Gordon

Il 05/12/2016 13:46, gldickens3 ha scritto:
>
> You need to install the VirtualBox extension pack for USB to work. Get
> it here:
>
> https://www.virtualbox.org/wiki/Downloads
>
> FYI,
>
> Gordon
>
>
Thank you for the answer.

Virtualbox extensionpack ver. 5.1.8r111334 is already installed.
The problem I think is file /usr/lib/udev/rules.d/60-vboxdrv.rules
missing in Leap 42.2.

Regards.

I don’t know for sure, but a reboot of the Host may be necessary to activate the udev rule.

TSU

Can’t remember where I got mine /usr/lib/udev/rules.d/60-vboxdrv.rules, but looks like this

KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"

Virtualbox Version : 5.1.8_SUSE r111374
EDIT: Wrong path to file, now correct.

Il 05/12/2016 20:56, tsu2 ha scritto:
>
> I don’t know for sure, but a reboot of the Host may be necessary to
> activate the udev rule.
>
> TSU
>
>
Thank you.
I reboot Host many times. (and also guest)
Regards.

Il 05/12/2016 20:56, tsu2 ha scritto:
>
> I don’t know for sure, but a reboot of the Host may be necessary to
> activate the udev rule.
>
> TSU
>
>
Thank you.
I reboot Host many times. (and also guest)
Regards.

Il 05/12/2016 20:56, tsu2 ha scritto:
>
> I don’t know for sure, but a reboot of the Host may be necessary to
> activate the udev rule.
>
> TSU
>
>
Thank you.
I reboot Host many times (and also Guest)
Regards

Il 05/12/2016 20:56, tsu2 ha scritto:
>
> I don’t know for sure, but a reboot of the Host may be necessary to
> activate the udev rule.
>
> TSU
>
>
Thank you.
I reboot Host many times ( and also Guest)
Regards

Il 05/12/2016 20:56, tsu2 ha scritto:
>
> I don’t know for sure, but a reboot of the Host may be necessary to
> activate the udev rule.
>
> TSU
>
>
Thank You
I reboot Host many times (and also Guest)
Regards

Il 05/12/2016 20:56, tsu2 ha scritto:
>
> I don’t know for sure, but a reboot of the Host may be necessary to
> activate the udev rule.
>
> TSU
>
>
Sorry too many Re
Regards

I am running VirtualBox 5.1.8-3.3 that I downloaded from the VirtualBox website because I have had problems in the past getting the version in the OpenSUSE repos to work properly. This version from the VirtualBox website is working perfectly on my machine with Leap 42.2 and I just successfully tested the USB ports without any problems. So, I recommend that you download and install the current version from:

https://www.virtualbox.org/wiki/Linux_Downloads

Also, FWIW, I do not have this file on my installation: /usr/lib/udev/rules.d/60-vboxdrv.rules

FYI,

Gordon

Il 06/12/2016 02:56, gldickens3 ha scritto:
>
> I am running VirtualBox 5.1.8-3.3 that I downloaded from the VirtualBox
> website because I have had problems in the past getting the version in
> the OpenSUSE repos to work properly. This version from the VirtualBox
> website is working perfectly on my machine with Leap 42.2 and I just
> successfully tested the USB ports without any problems. So, I recommend
> that you download and install the current version from:
>
> https://www.virtualbox.org/wiki/Linux_Downloads
>
> Also, FWIW, I do not have this file on my installation:
> /usr/lib/udev/rules.d/60-vboxdrv.rules
>
> FYI,
>
> Gordon
>
>
Thank.
Me too in the past used the version from the Virtualbox website without
problem (and don’t remember why go to opensuse version).
I will do like your advice.
Regards.
Gianfranco

Currently, AFAICS, Leap 42.2 VirtualBox needs the “virtualbox-qt” package to supply “/etc/udev/rules.d/60-vboxdrv.rules”.

  • AFAICS “/usr/lib/udev/rules.d/60-vboxdrv.rules” is not supplied by any current Leap 42.2 VirtualBox package which is neither a source nor a development package.