Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: VirtualBox 2.0.4 USB Support

  1. #1
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default VirtualBox 2.0.4 USB Support

    I'm trying to get USB support to work with VirtualBox 2.0.4. The advice I found at Virtualbox USB Support - openSUSE suggests editing fstab. One other site suggested adding a line to /etc/init.d/boot.local.

    Here follows my fstab:


    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    /dev/disk/by-id/scsi-SATA_ST3320620AS_6QF4QPEZ-part2 / ext3 acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_ST3320620AS_6QF4QPEZ-part3 /home ext3 acl,user_xattr 1 2
    /dev/disk/by-id/scsi-SATA_ST3160811AS_6PT0WQW7-part1 /windows/C ntfs defaults,nls=utf8,umask=0222,users 0 0
    /dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part5 /windows/D ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part6 /windows/E ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part7 /windows/F ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3320620AS_5QF5MNBP-part8 /windows/G ntfs-3g defaults,users,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3320620AS_6QF4QPEZ-part1 swap swap defaults 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    none /proc/bus/usb usbfs auto,busgid=109,busmode=0775,devgid=109,devmode=0664 0 0

    Here is my boot.local:

    #! /bin/sh
    #
    # Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved.
    #
    # Author: Werner Fink <werner@suse.de>, 1996
    # Burchard Steinbild, 1996
    #
    # /etc/init.d/boot.local
    #
    # script with local commands to be executed from init on system startup
    #
    # Here you should add things, that should happen directly after booting
    # before we're going to the first run level.
    #


    mount usbfs

    Despite my best efforts, nothing seems to quite result in my USB devices being detected by VirtualBox.

    Any ideas?

  2. #2
    Join Date
    Jun 2008
    Location
    Amor, Leiria, Portugal
    Posts
    55

    Default Re: VirtualBox 2.0.4 USB Support

    I think it's important to note:

    This section does not apply to the Open Source Edition (OSE), as the OSE version does not have USB support.
    I was reading that page a few days ago and noticed that. Not very highlighted but it's the very first sentence. Also confirmed in Editions - VirtualBox so I tried no further. I only needed it to access USB storage devices so it's no big problem for me.

  3. #3
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: VirtualBox 2.0.4 USB Support

    I don't use the OSE version for that very reason. My query relates to the closed source version.

  4. #4
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: VirtualBox 2.0.4 USB Support

    I learned that mount usbfs is the wrong command to include in /etc/init.d/boot.local. I changed it to mount -a and now all my USB devices are detected by VirtualBox.

    I am happy!

  5. #5
    Join Date
    Jun 2008
    Location
    Rio de Janeiro
    Posts
    100

    Default Re: VirtualBox 2.0.4 USB Support

    Hello,
    I am also attempting to enable USB support on xVM 2.04, without any success.

    Despite I have installed kernel-source and kernel-syms and modified my /etc/fstab usbfs line on my OS11, I am still getting the following error:

    Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.
    Codice&nbspd'uscita:
    NS_ERROR_FAILURE (0x00004005)
    Componente:
    Host
    Interfaccia:
    IHost {489fb370-c227-4d43-9761-ceb28484fd9f}
    Chiamante:
    IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}


    Well, if I issue "mount -a", then that error disappears, but even so, apparently the usb icon on xVM window reports "no devices connected".
    Which other checks should I do in order to have USB support?
    Marco Calistri (amdturion)
    opensuse 12.1 (Aspargus) - Kernel 3.1.10-1.9-desktop x86_64 Gnome 3.2.1
    Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 - Intel® Sandybridge Mobile

  6. #6
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: VirtualBox 2.0.4 USB Support

    Can you post the line you added to your fstab?

  7. #7
    Join Date
    Jun 2008
    Location
    Rio de Janeiro
    Posts
    100

    Default Re: VirtualBox 2.0.4 USB Support

    Quote Originally Posted by chyrania View Post
    Can you post the line you added to your fstab?
    here it is:

    usbfs /proc/bus/usb usbfs noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0
    Marco Calistri (amdturion)
    opensuse 12.1 (Aspargus) - Kernel 3.1.10-1.9-desktop x86_64 Gnome 3.2.1
    Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 - Intel® Sandybridge Mobile

  8. #8
    amdturion NNTP User

    Default Re: VirtualBox 2.0.4 USB Support


    chyrania;1899010 Wrote:
    > Can you post the line you added to your fstab?


    here it is:

    usbfs /proc/bus/usb usbfs
    noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0


    --
    Linux 2.6.25.18-0.2-default x86_64
    AMD Turion(tm) 64 Mobile Technology MK-36 - GeForce Go 6150 - Gnome
    2.22.1
    ------------------------------------------------------------------------
    amdturion's Profile: http://forums.opensuse.org/member.php?userid=620
    View this thread: http://forums.opensuse.org/showthread.php?t=399790


  9. #9
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: VirtualBox 2.0.4 USB Support

    Quote Originally Posted by amdturion View Post
    here it is:

    usbfs /proc/bus/usb usbfs noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0
    Try the following:

    none /proc/bus/usb usbfs auto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

    I'm assuming your gid is 1000.

  10. #10
    chyrania NNTP User

    Default Re: VirtualBox 2.0.4 USB Support


    amdturion;1899044 Wrote:
    > here it is:
    >
    > usbfs /proc/bus/usb usbfs
    > noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0


    Try the following:

    none /proc/bus/usb usbfs
    auto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

    I'm assuming your gid is 1000.


    --
    chyrania
    ------------------------------------------------------------------------
    chyrania's Profile: http://forums.opensuse.org/member.php?userid=298
    View this thread: http://forums.opensuse.org/showthread.php?t=399790


Page 1 of 2 12 LastLast

Posting Permissions

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