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

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

Linux_Downloads - VirtualBox

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.

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

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.

Thanks for the replies!

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

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

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

Have you read this page,

VirtualBox Installation - openSUSE

In particular,

VirtualBox Installation - Installing VirtualBox from Binary - openSUSE

Unfortunately I have to say I do not know. I would say not.

Follow the installation instructions in the links above. Be sure to match your kernel.

Prerequisites for VirtualBox downloads

Whether you use binaries or installing from source you have to install the following packages first:

* kernel-source
* kernel-syms
* Xalan-c
* Xerces-c
* gcc
* make

Are these packages easily identified in yast (software management)?
I cannot ID and install these.

As root:


zypper in kernel-source linux-kernel-headers kernel-syms module-init-tools make gcc

I forget off the top of my head where Xalan and Xerces come from, but search YAST for XML libraries.

Thanks very much for the help. The packages you supplied were not in yast so I do not know where I would have found them without the help. I ran the code and found xalan-c and xerces-c in yast. I then followed the other directions and installed XP, and used a USB device.

I installed XP and plan to use existing scanner and maybe some software. Is there any reason to run XP service pack 2?

Is there any reason to run XP service pack 2?

Dunno. I think SP2 is VERY old, so a lot of software may depend on it. You can always try without it and then apply it if stuff doesn’t work.

Why don’t you run the scanner and such on your perfectly fine Linux host? Forget Windows.

My scanner is not supported. Canon CanoScan FB620: This scanner not supported.

I am trying to forget windows. So far pretty good for my personal stuff.

Another Virtual Box issue is I cannot gain control over my mouse. Once captured the “right Ctrl” will not bring it back to the Host.

You should install Guest Additions.

Install Guest Additions for a better VirtualBox experience

I would install SP3.

You may be able to use your scanner after that and after installing the scanner driver.

I had to reinstall virtual box to get the mouse control back. I then installed Guest Additions - things are going well - thanks

On Thu, 24 Dec 2009 13:56:01 GMT, philsweeney <philsweeney@no-mx.forums.opensuse.org> wrote:

>
>Thanks very much for the help. The packages you supplied were not in
>yast so I do not know where I would have found them without the help. I
>ran the code and found xalan-c and xerces-c in yast. I then followed the
>other directions and installed XP, and used a USB device.
>
>I installed XP and plan to use existing scanner and maybe some
>software. Is there any reason to run XP service pack 2?

There are a LOT of security upgrades included. There is also some not
so welcome changes. It is over 200 MB on CD.