USB mouse not recognized in VB2.0

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ranger_cole
Posts: 17
Joined: 1. Nov 2007, 16:21

USB mouse not recognized in VB2.0

Post by ranger_cole »

I cannot get my logitech usb marble mouse to work in VM2.0.

Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.


Result Code:
NS_ERROR_FAILURE (0x00004005)
Component:
Host
Interface:
IHost {489fb370-c227-4d43-9761-ceb28484fd9f}
Callee:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}./
I did search but did not find an answer. This mouse works fine in Ubuntu 8.04.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

The issue isn't that VB can't work with your mouse, it's the USB settings that are the problem. Read the Wiki FAQ for how to solve this (follow the FAQ link in my signature, then at the bottom). There is also a nice Wiki article on the Ubuntu Help docs.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
ranger_cole
Posts: 17
Joined: 1. Nov 2007, 16:21

Post by ranger_cole »

Here is what is in my 40-permissions.rules file has with regards to USB entry:


# USB serial converters
SUBSYSTEM=="usb_device", GOTO="usb_serial_start"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="usb_serial_start"
GOTO="usb_serial_end"
LABEL="usb_serial_start"
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", \
MODE="0660", GROUP="dialout"
LABEL="usb_serial_end"

The instructions from the link says there should be a#USB devices entry. I do not see one in this file on my installation.
ranger_cole
Posts: 17
Joined: 1. Nov 2007, 16:21

Post by ranger_cole »

I found the file it is in 40-basic-permissions.rules file in Ubuntu 8.04. The instructions need to be updated.

How do you get permission to edit and save this file? I am still learning all this.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Please see the Forum FAQ. Take a look here too: https://help.ubuntu.com/community/VirtualBox#USB
If you need to edit files you do not have access to, use the command sudo preceding your command.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
ranger_cole
Posts: 17
Joined: 1. Nov 2007, 16:21

Post by ranger_cole »

Still cannot use usb mouse in VB. Here are the VB instructions which I did:


3. Edit the file /etc/udev/rules.d/40-permissions.rules (for this, you must have administrative privileges)

3.1 Search for the following lines

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664"

3.2 Change them to the following

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664"

Here are the Ubuntu instructions which are different:

Under gutsy, edit /etc/udev/rules.d/40-permissions.rules to say the following:

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664", GROUP="vboxusers"


Which way is it? Ii am confused.
ranger_cole
Posts: 17
Joined: 1. Nov 2007, 16:21

Post by ranger_cole »

there is an updated 2.0 VB manual now:
http://virtualbox.org/wiki/Linux_Downloads
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

ranger_cole wrote:Still cannot use usb mouse in VB. Here are the VB instructions which I did:


3. Edit the file /etc/udev/rules.d/40-permissions.rules (for this, you must have administrative privileges)

3.1 Search for the following lines

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664"

3.2 Change them to the following

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664"

Here are the Ubuntu instructions which are different:

Under gutsy, edit /etc/udev/rules.d/40-permissions.rules to say the following:

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664", GROUP="vboxusers"


Which way is it? Ii am confused.
The only difference is that one howto creates a new group and add your user to it, as where the other uses an already existing group. You also might need an entry in your fstab. Something in the line like this:

Code: Select all

none   /proc/bus/usb   usbusers   devgid=505,devmode=664
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply