Page 1 of 1

usb josticks not available in linux guest

Posted: 5. Mar 2013, 04:30
by klb
Hi

I an trying to use joysticks (CH pro flight sim yoke and CH pro rudder pedals). They work on the guest but are greyed out in the linux (ubuntu 12.04) guest. I have set up USB filters and even created a vbosusers group (not automatically done on mac osx) and added myself to it. I cannot see any joysticks mounted (say like usb disks) so I don't know how to umount them. I am running virtual box 4.2.6 on the mac osx host that is running lion 10.7.4. The joysticks work on the mac osx host.

Any help or pointers appreciated.

TIA

Klb

Re: usb josticks not available in linux guest

Posted: 5. Mar 2013, 09:26
by noteirak
Did you install the extension pack? Can be found here

Re: usb josticks not available in linux guest

Posted: 6. Mar 2013, 00:18
by klb
Yes I believe so. I can see and access usb drives provided I first amount them in the host. They are greyed out until I amount them. The joysticks are just greyed out and do not appear in the list of devices mounted in the host with the mount cmd.

Re: usb josticks not available in linux guest

Posted: 7. Mar 2013, 06:57
by klb
Here is vboxmanage output.


Zen:~ ken$ vboxmanage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 4.2.6
Revision: 82870
Edition:
Description: USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with E1000 support.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
Zen:~ ken$

And here is the vm info


Zen:~ ken$ vboxmanage showvminfo Pree
Name: Pree
Groups: /
Guest OS: Ubuntu
UUID: a912343a-7c52-434c-bc0a-0f6df219db25
Config file: /Users/ken/VirtualBox VMs/Pree/Pree.vbox
Snapshot folder: /Users/ken/VirtualBox VMs/Pree/Snapshots
Log folder: /Users/ken/VirtualBox VMs/Pree/Logs
Hardware UUID: a912343a-7c52-434c-bc0a-0f6df219db25
Memory size: 768MB
Page Fusion: off
VRAM size: 128MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 1
Synthetic Cpu: off
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: off
PAE: on
Time offset: 0ms
RTC: UTC
Hardw. virt.ext: on
Hardw. virt.ext exclusive: off
Nested Paging: on
Large Pages: on
VT-x VPID: on
State: powered off (since 2013-03-04T23:39:13.000000000)
Monitor count: 1
3D Acceleration: on
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
Storage Controller Name (0): IDE
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
Storage Controller Name (1): SATA
Storage Controller Type (1): IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 30
Storage Controller Port Count (1): 2
Storage Controller Bootable (1): on
IDE (1, 0): /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso (UUID: 313d7e8b-d4f1-485e-ba82-165587add92d)
SATA (1, 0): /Users/ken/VirtualBox VMs/Pree/Pree.vdi (UUID: 7f5f0171-a28c-4ae3-bbde-8f69c3a889a7)
NIC 1: MAC: 080027AE7842, 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
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: CoreAudio, Controller: AC97)
Clipboard Mode: Bidirectional
Drag'n'drop Mode: disabled
VRDE: disabled
USB: enabled
EHCI: enabled

USB Device Filters:

Index: 0
Active: yes
Name: CH PRODUCTS CH FLIGHT SIM YOKE USB
VendorId: 068e
ProductId: 00ff
Revision: 0000
Manufacturer: CH PRODUCTS
Product: CH FLIGHT SIM YOKE USB
Remote: 0
Serial Number:

Index: 1
Active: yes
Name: CH PRODUCTS CH PRO PEDALS USB
VendorId: 068e
ProductId: 00f2
Revision: 0000
Manufacturer: CH PRODUCTS
Product: CH PRO PEDALS USB
Remote: 0
Serial Number:

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups: <none>

Shared folders:

Name: 'ken', Host path: '/Users/ken' (machine mapping), writable

VRDE Connection: not active
Clients so far: 0

Guest:

Configured memory balloon size: 0 MB


Zen:~ ken$

Re: usb josticks not available in linux guest

Posted: 7. Mar 2013, 21:45
by noteirak
I very rarely deal with USB so I cannot help you more, maybe one of the other mods will have some idea about this

Re: usb josticks not available in linux guest

Posted: 8. Mar 2013, 00:50
by klb
Thanks, for your input. It would be nice to know under what circumstances VB shows the USB device in the guest but has it disabled. Is it because it believes it is unavailable due to it being in use by the host. Does anyone know how to stop Mac OSX grabbing the joysticks? Ie have it like a usb disk the is plugged in but mounted.

TIA
Klb

Re: usb josticks not available in linux guest

Posted: 8. Mar 2013, 02:41
by rpmurray
Since you have a filter created for the joystick, have you tried waiting until you have the VB guest up and running before plugging the joystick into the USB port?

For filters I've found that they work best when you enter the minimum information for it to capture the device. If you've filled all the fields you may try starting with just the minimum (Vendor and Product ID) to see if that works better.

Re: usb josticks not available in linux guest

Posted: 11. Mar 2013, 02:03
by klb
Thanks, I tried just plugging in the joysticks after the VM had booted and I had logged in but they were still greyed out. I then removed the filters and added an empty filter to match any device. I then booted the vm and logged in. on plugging in the joysticks one at a time they appeared and were selected in the VM. I was then able to use the with Flightgear okay.

Thanks again for your help.
Ken