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

Thread: virtual box and USB devices

  1. #1

    Default virtual box and USB devices

    I cannot seem to get the USB devices to work. I have listed what seems to be the main reason below. Curious if I failed to install associated software in yast. Otherwise the install went well. I have read a few post that may be outdated so I posted the question again.

    VirtualBox Command Line Management Interface Version 3.0.6_OSE\

    ERROR: Method GetUSBDevices is not implemented

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: virtual box and USB devices

    VirtualBox OSE does not support USB devices. For this you will have to get the non-OSS version from Sun:

    Linux_Downloads - VirtualBox

  3. #3

    Default Re: virtual box and USB devices

    Thanks, I reread this:

    VirtualBox USB Support - openSUSE

    and realized I did not read the first box.

    However, maybe you can help me edit the files. Reading the instruction to enable USB support I assume we are talking about getting to the directory "etc" like this:

    phil@linux-nayo:~> su
    Password:
    linux-nayo:/home/phil # cd..
    linux-nayo:/home # cd..
    linux-nayo:/ # ls -a
    . bin dev home lib64 media opt root selinux sys usr windows
    .. boot etc lib lost+found mnt proc sbin srv tmp var
    linux-nayo:/ # cd etc
    linux-nayo:/etc #

    I really do not know how to properly edit the file (add the text per the instructions). In fact I messed up some files and had to restore my openSuse 11.2 to an earlier date with acronis true home.

    I want to do the work but need to find a tutorial or guidelines for using an editor in the terminal. Any help will be greatly appreciated.

  4. #4
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: virtual box and USB devices

    Use gedit (Gnome) or kwrite (KDE) to edit fstab. Just be sure to make a backup first and you should be fine. From a terminal, enter

    cp /etc/fstab /etc/fstab.bak

  5. #5
    Join Date
    Dec 2008
    Location
    GMT-7
    Posts
    382

    Default Re: virtual box and USB devices

    Interestingly enough, I just today ran into a USB drive problem with the VirtualBox install from Sun: all the USB devices were grayed out.

    Solution: make sure to add yourself to the vboxusers group.

    This is clearly documented in the Sun documentation, but thought I'd mention it here too.
    Desk: AMD Phenom II X4 945 8GB RAM Radeon HD 3300 Arch Linux Xfce 4.8
    Lap: Intel 2.13GHz Core i3 M330 8GB RAM nVidia GeForce 310M Arch Linux KDE 4.7.3

  6. #6

    Default Re: virtual box and USB devices

    Thanks for the replies!

  7. #7

    Default Re: virtual box and USB devices

    I downloaded and ran the binary.

    I got this error:
    Kernel driver not installed (rc=-1908)

    The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

    '/etc/init.d/vboxdrv setup'

    as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

    So I:

    linux-nayo:/ # cd etc
    linux-nayo:/etc # init.d/vboxdrv setup
    Stopping VirtualBox kernel module done
    Recompiling VirtualBox kernel module failed
    (Look at /var/log/vbox-install.log to find out what went wrong)

    and then: I looked at the log:
    /usr/share/virtualbox/src/vboxdrv/build_in_tmp: line 95: make: command not found

  8. #8

    Default Re: virtual box and USB devices

    here is line 95 to end of file:

    if make "$@"; then
    if [ -n "$SAVE_MOD_SYMVERS" ]; then
    if [ -f Module.symvers ]; then
    cp -f Module.symvers $SAVE_MOD_SYMVERS
    else
    cat /dev/null > $SAVE_MOD_SYMVERS
    fi
    fi
    rm -rf $tmpdir
    exit 0
    fi

    # failure
    rm -rf $tmpdir
    exit 1
    95,1 Bot

  9. #9
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: virtual box and USB devices

    Do you have the kernel source and syms installed? You will also need the C/C++ compilers (gcc, make).

  10. #10
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: virtual box and USB devices


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
  •