Results 1 to 9 of 9

Thread: VirtualBox USB on Leap 42.2

  1. #1
    Gianfranco NNTP User

    Default 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

  2. #2
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: VirtualBox USB on Leap 42.2

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

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

    FYI,

    Gordon
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  3. #3
    Gianfranco NNTP User

    Default Re: VirtualBox USB on Leap 42.2

    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.

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,823
    Blog Entries
    1

    Default Re: VirtualBox USB on Leap 42.2

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

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Jul 2008
    Location
    Sweden
    Posts
    170

    Default Re: VirtualBox USB on Leap 42.2

    Can't remember where I got mine /usr/lib/udev/rules.d/60-vboxdrv.rules, but looks like this
    Code:
    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.
    Last edited by quinness; 05-Dec-2016 at 13:43. Reason: Wrong path to file, now correct
    ASUS G46VW running openSUSE LEAP 42.1, Windows 8
    Samsung NP300V3A running openSUSE LEAP 42.1 Windows 7
    Some EEEPC running openSUSE LEAP 42.1, "Server" running sshfs, (mini)DLNA, NFS
    Raspberry Pi, Weezy, openSUSE 13.1 (two different SD-cards)

  6. #6
    Gianfranco NNTP User

    Default Re: VirtualBox USB on Leap 42.2

    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.

  7. #7
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    289

    Default Re: VirtualBox USB on Leap 42.2

    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
    Laptop #1: OpenSUSE Leap 15.0 (x86_64) | HP ZBook 17 G2 (17")
    Laptop #2: OpenSUSE Leap 15.0 (x86_64) | System76 Darter (14")

  8. #8
    Gianfranco NNTP User

    Default Re: VirtualBox USB on Leap 42.2

    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

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,418

    Default Re: VirtualBox USB on Leap 42.2

    Quote Originally Posted by quinness View Post
    Can't remember where I got mine /usr/lib/udev/rules.d/60-vboxdrv.rules,
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •