USB logger fails to connect to Windows

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
gicking
Posts: 3
Joined: 28. May 2015, 19:33

USB logger fails to connect to Windows

Post by gicking »

hello all,

I am currently struggling with a (probably simple) problem. I need to read out a temperature logger (Testo 175) using the proprietary Windows software I am running under WinXP / Virtualbox. And the blasted thing simply doesn't show up under Windows. Here's the details:

setup:
  • host: iMac running MacOSX 10.9.5
  • Virtualbox version 4.3.22 (up to date according to "search update" menu)
  • guest: WinXP SP3; use 1 CPU; network disconnected
steps / observations:
  • without Virtualbox running attach Testo 175 via USB directly to host iMac --> device shows up in MacOSX device manager as "testo 175-176-2010"
  • start Virtualbox & WinXP --> device shows up in Virtualbox device menu as "testo 175-176-2010"
  • try to connect device via pull-down menu --> fails to connect with "...is in use by someone else". Apparently MacOSX doesn't release the device
  • added filter to USB port settings to prevent binding to MacOSX
  • unplug device, reboot iMac and WinXP
  • plug in device -->
    • doesn't show up in MacOSX device manager, Virtualbox device menu, or WinXP device manager
    • temperature logger software cannot detect or connect device --> can't read-out the data
The above behavior is reproducible and is starting to give me a headache! And after a day of trying I'm slowly running out of ideas. But maybe I'm just missing a simple but crucial step...? Any help on this topic is highly appreciated! :D

PS: by the way, the predecessor used the Prolific 2303 and connects without issues. Unfortunately it's no longer available :(

Regards,
Georg Icking-Konert
gicking
Posts: 3
Joined: 28. May 2015, 19:33

Re: USB logger fails to connect to Windows

Post by gicking »

hello again,

I wanted to upload a PDF with screenshots but seemingly PDF is not allowed. And I can't link to my homepage yet, because I joined the forum today. Give me one more day... :wink:

Georg
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB logger fails to connect to Windows

Post by socratis »

Follow the steps below. If there is a failure, please state which step failed:
  1. Make sure that the Extension Pack is installed on the host. The same version as VirtualBox. BTW, the latest version is 4.3.28 as of the writing of this.
  2. Make sure that USB 2.0 is enabled in your VM settings.
  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 host, that's normal.
  7. If the device shows up in your host and is not captured by the filter, either the filter is incorrect, or there might be a problem with your filter installation.
  8. Are you by any chance using a USB 3.0 port? Because VBox doesn't support USB3 in the 4.x.x series, only in the 5.x ones.
  9. Post the output of the following commands:
    VBoxManage list usbhost
    VBoxManage showvminfo "Your_Virtual_Machine_Name"
Oh, and BTW, you don't have to attach screenshots. And if you do feel it's absolutely necessary, you can use the "Upload attachement" on the bottom of your post.
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.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: USB logger fails to connect to Windows

Post by loukingjr »

Just to clarify one thing socratis listed. If the device is USB 2.0, you can plug it into a USB 3.0 port.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
gicking
Posts: 3
Joined: 28. May 2015, 19:33

Re: USB logger fails to connect to Windows

Post by gicking »

hello socratis,

first of all thanks for your fast and thorough response. I performed all steps as proposed, but unfortunately the result is the same... :(
  1. installed Extension Pack version 4.3.28 on the host. Is same version as Virtualbox
  2. enabled USB 2.0 in VM settings.
  3. defined USB filter in guest settings while the device was plugged in the host. Deleted all values except Name, VendorID and ProductID.
  4. unplugged the device.
  5. rebooted guest OS (WinXP) until started completely.
  6. plug in device --> no "New hardware found" appeared wizard on the host
  7. device doesn't show up in WinXP or MacOSX device manager, or Virtualbox device menu --> what do you mean with "filter is incorrect", or "there might be a problem with your filter installation"...?
  8. the device reports a max speed of 12 Mbit/s, so it's likely not USB3.0
  9. output of the following commands:
VBoxManage list usbhost

Code: Select all

UUID:               112c9eba-3ccb-404e-9ff0-87b204df4a69
VendorId:           0x128d (128D)
ProductId:          0x0019 (0019)
Revision:           1.18 (0118)
Port:               3
USB version/speed:  0/1
Manufacturer:       testo
Product:            testo 175-176-2010
SerialNumber:       40051739
Address:            p=0x0019;v=0x128d;s=0x00000e4f72cc91ba;l=0xfd130000
Current State:      Busy
VBoxManage showvminfo "Your_Virtual_Machine_Name"

Code: Select all

Name:            WindowsXP
Groups:          /
Guest OS:        Windows XP (32 bit)
UUID:            254975aa-0a21-4a40-ab32-35527749a5e4
Config file:     /Users/markus/VirtualBox VMs/WindowsXP/WindowsXP.vbox
Snapshot folder: /Users/markus/VirtualBox VMs/WindowsXP/Snapshots
Log folder:      /Users/markus/VirtualBox VMs/WindowsXP/Logs
Hardware UUID:   254975aa-0a21-4a40-ab32-35527749a5e4
Memory size:     512MB
Page Fusion:     off
VRAM size:       64MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       on
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
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
State:           powered off (since 2015-05-29T19:17:17.000000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: on
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):            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
IDE (0, 0): /Users/markus/VirtualBox VMs/WindowsXP/WindowsXP.vdi (UUID: cb30de99-688e-4e2c-a2a0-c52d0a399026)
IDE (1, 0): /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso (UUID: 50e70eb2-5534-4567-b389-c0246d63a1eb)
NIC 1:           MAC: 080027FAD582, Attachment: NAT, Cable connected: off, Trace: off (file: none), Type: Am79C973, 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:             testo 175-176-2010 [0112]
VendorId:         128d
ProductId:        0019
Revision:         
Manufacturer:     
Product:          
Remote:           
Serial Number:    

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  

Name: 'Macintosh', Host path: '/Users/markus/Public' (machine mapping), writable

VRDE Connection:    not active
Clients so far:     0

Video capturing:    not active
Capture screens:    0
Capture file:       /Users/markus/VirtualBox VMs/WindowsXP/WindowsXP.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
Post Reply