3D Mouse on guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

3D Mouse on guest

Post by kaengo »

Hi!


Host: Debian Jessie (64bit) on AMD 64 machine.
Guest: Windows 7 Pro (64bit) on Virtual Box

Creo 3.0 is running fine at the Guest.

I want to use my 3dconnexion space pilot pro.
I don't need the space pilot at the host system.

The installation of the driver at the guest system executed without errors.

But the space pilot isn't working correctly, only the mouse pointer is running along the screen (very fast), if I operate the space pilot.

I think, the best solution would be, to route the usb connection of the space pilot directly to the guest system,
but how can I do?

Does anyone know?

Best regards,
Kaengo
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D Mouse on guest

Post by socratis »

Follow the steps below. Exactly. Not everything mighty apply to you. If there is a failure, please state exactly which step failed:
  1. Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
  2. Make sure that at least USB2 (EHCI) is enabled in your VM settings. If your guest supports USB3 (xHCI), use that.
  3. Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID.
  4. Unplug the device.
  5. Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
  6. Plug your device. The filter should capture it and pass control to your guest. You might get a "New hardware found" wizard on the guest, that's normal.
If it doesn't work, with the USB device plugged in and the VM not running, post the output of the following commands:
  • VBoxManage list usbhost
    VBoxManage list usbfilters
    VBoxManage list extpacks
    VBoxManage showvminfo "Your_Virtual_Machine_Name"
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

Re: 3D Mouse on guest

Post by kaengo »

Hello!
Thanks for the fast answer.
Regrettably it didn't work.
I did all steps, as you told, but win7 didn't recognize the new device.

Following the output of VBoxManage:

Code: Select all

holger@elster:~$ VBoxManage list usbhost
Host USB Devices:

<none>

Code: Select all

holger@elster:~$ VBoxManage list usbfilters
Global USB Device Filters:

<none>

Code: Select all

holger@elster:~$ VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.1.12
Revision:     112440
Edition:      
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable: 

Code: Select all

holger@elster:~$ VBoxManage showvminfo eberchen
Name:            eberchen
Groups:          /
Guest OS:        Windows 7 (64-bit)
UUID:            48027b9c-1971-4838-8848-89b500753032
Config file:     /vmbox/eberchen/eberchen.vbox
Snapshot folder: /vmbox/eberchen/Snapshots
Log folder:      /vmbox/eberchen/Logs
Hardware UUID:   48027b9c-1971-4838-8848-89b500753032
Memory size:     6144MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          off
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: HyperV
State:           powered off (since 2016-12-23T21:56:52.464000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
SATA (0, 0): /vmbox/eberchen/eberchen_c.vdi (UUID: d8e4bf61-259f-4645-a2e3-2065d9b001ea)
SATA (1, 0): /usr/share/virtualbox/VBoxGuestAdditions.iso (UUID: 0bb449a5-3d5c-471e-938f-cd7621a2204a)
NIC 1:           MAC: 080027E937A2, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: PulseAudio, Controller: HDA, Codec: STAC9221)
Clipboard Mode:  disabled
Drag and drop Mode: disabled
VRDE:            disabled
USB:             disabled
EHCI:            disabled
XHCI:            enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             newfilter1

VendorId:         046d
ProductId:        c629
Revision:         
Manufacturer:     
Product:          
Remote:           
Serial Number:    

Bandwidth groups:  <none>

Shared folders:  

Name: 'eberchen_share', Host path: '/home/eberchen_share' (machine mapping), writable

Video capturing:    not active
Capture screens:    0
Capture file:       /vmbox/eberchen/eberchen.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
Last edited by socratis on 24. Dec 2016, 11:46, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

Re: 3D Mouse on guest

Post by kaengo »

In the status bar at the bottom right edge is shown ,no usb device attached', when I hover with the mouse above the usb symbol.
(The mouse is also a usb mouse)
Further: Operating the 3D-Mouse shows some reaction at the guest system (and at the host system also: The mouse pointer is moving very fast over the screen ....)
Does the host system catch the signal?

Best regards,
holger
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D Mouse on guest

Post by socratis »

socratis wrote:If it doesn't work, with the USB device plugged in and the VM not running, post the output of the following commands:
  • VBoxManage list usbhost
kaengo wrote:I did all steps, as you told, but win7 didn't recognize the new device.

Code: Select all

holger@elster:~$ VBoxManage list usbhost
Host USB Devices:

<none>
The command shows no USB devices connected in the host. Are you sure you followed the instructions exactly?

BTW, the values in your filter according to http://www.linux-usb.org/usb.ids seem to be the correct ones:
046d  Logitech, Inc.
	c629  3Dconnexion SpacePilot Pro 3D Mouse
The problem is that it doesn't show on the host. Please don't worry about the "speed" right now, you haven't solved the basic problem.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

Re: 3D Mouse on guest

Post by kaengo »

Hi!
merry christmas!
I did all exactly as you told!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D Mouse on guest

Post by socratis »

Then I don't know why VirtualBox doesn't see the mouse. The failing step is that VirtualBox doesn't see it. Makes me wonder how did you create the filter in step 3. Manually?

Again, quit VirtualBox and plug in the mouse. What's the output of "VBoxManage list usbhost"? <None>? That's wrong. You have at least the keyboard and the mouse of your host. So, something is not right.

Are you a member of the "vboxusers" group? From the User Manual:
12.8.7 USB not working
If USB is not working on your Linux host, make sure that the current user is a member of the vboxusers group. Please keep in mind that group membership does not take effect immediately but rather at the next login. If available, the newgrp command may avoid the need for logout/login.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

Re: 3D Mouse on guest

Post by kaengo »

Yes, I create the filter manually!
But the host systems sees it: The mouse is affecting the cursor. Inside and outside the guest system...
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D Mouse on guest

Post by socratis »

You did not address the issue of your user being a member of the 'vboxusers' group. From a terminal, post the output of:
  • id
As I said, do not look at the end result, as long as you don't solve the problem. It will not work. You're looking at it from the wrong side.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

Re: 3D Mouse on guest

Post by kaengo »

OK here is ....

holger@elster:~$ id
uid=1000(holger) gid=1000(holger) groups=1000(holger),27(sudo)
holger@elster:~$

Best regards,
H.Steffen
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D Mouse on guest

Post by socratis »

socratis wrote:You did not address the issue of your user being a member of the 'vboxusers' group.
I already gave you the answer a couple of posts back. And the related quote from the manual ch. 12.8.7. Read it again...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
kaengo
Posts: 11
Joined: 15. Dec 2016, 22:45

Re: 3D Mouse on guest

Post by kaengo »

You are right ... :( :( :( :( :(
All is working, thank you very much.
But I must switch to usb 2.0 (guest is win7 64bit pro )
Thank you very much,
have a good new year..
:D
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D Mouse on guest

Post by socratis »

kaengo wrote:But I must switch to usb 2.0 (guest is win7 64bit pro )
If your device is USB2, who cares? My bet is that it is. You do not need huge data transfer rates with a mouse. Even USB1 could do it. But if it makes you feel better, read Ch. 12.3.1: No USB 3.0 support in Windows 7 guests.
Happy new year to everyone!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply