Ant+ Issue

Hello,

I am attempting to use an Ant+ device. The client, whilst it can see the device as "ANT USB-m Stick" when used provides the error 'There was a error using the device"

The log from the server provides the following data:

2016-11-20 12:57:47 INFO :Installing driver for class libusb-win32 devices {EB781AAF-9C70-4523-A5DF-642A87ECA567}
2016-11-20 12:57:47 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win32…
2016-11-20 12:57:47 ERROR :There was an error downloading, Unsupported protocol (0)
2016-11-20 12:57:47 ERROR :Could not install driver for class libusb-win32 devices
2016-11-20 12:57:47 ERROR :Error binding device 5 [0fcf:1009] to connection 1, BIND_ERROR

Can you please help?

Neal

#2

Are you behind a firewall or proxy? that file is there, so it should download ok

#3

Hi Michael,

I am behind a firewall on both the server and client machines, I have changed rules on both devices to allow traffic to pass through the firewall but to no avail. I have also disabled to 'firewall' on the router.

FYI the setup I am using is as follows:

Consumer connection to the internet.
Both devices connected to the same router.
Server machine is a 32bit, Windows 7 (with ANT+ USB device)
Client machine is a 64bit, Windows 10

Use case: To share an Ant+ USB device on the Windows 7 machine with the Windows 10 machine in order for an application called Zwift to consume Ant+ data.

A more detailed log, subsequent to changes to firewalls is below:

2016-11-21 12:41:14 INFO :>>> Starting VirtualHere USB Server v3.1.7 (Built: Nov 18 2016, 11:34:00)<<<
2016-11-21 12:41:14 INFO :Using configuration config.ini
2016-11-21 12:41:14 INFO :Server licensed to=unlicensed max_devices=1
2016-11-21 12:41:14 INFO :TCPServer starting...
2016-11-21 12:41:14 INFO :Listening on all network interfaces at port 7575 (IPv6 dual-stack)
2016-11-21 12:41:14 INFO :Registration called
2016-11-21 12:41:14 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 3)
2016-11-21 12:41:14 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 4)
2016-11-21 12:41:14 INFO :Found High speed device [04f2:b2da] "Chicony Electronics Co., Ltd., Integrated Camera" at address 4
2016-11-21 12:41:14 INFO :Found Full speed device [0fcf:1009] "Dynastream Innovations, ANT USB-m Stick" at address 7
2016-11-21 12:41:24 INFO :fe80::8579:8638:ae0e:4df0 connected
2016-11-21 12:41:39 INFO :Installing driver for class libusb-win32 devices {EB781AAF-9C70-4523-A5DF-642A87ECA567}
2016-11-21 12:41:39 INFO :Downloading https://www.virtualhere.com/sites/default/files/usbserver/windows/win32…
2016-11-21 12:41:39 ERROR :There was an error downloading, Unsupported protocol (0)
2016-11-21 12:41:39 ERROR :Could not install driver for class libusb-win32 devices
2016-11-21 12:41:39 ERROR :Error binding device 7 [0fcf:1009] to connection 1, BIND_ERROR

Other devices, such as the integrated webcam on the Win7 machine has successfully been shared with the Win10 machine.

N.B. To try and identify is the error I also reversed the client - server setup, so the Win10 machine was the sever with the ANT+ USB device and the Win7 machine was the client. Same outcome occurred.

Further advice, if available would be really welcome.

Neal

#4

OK, can you download the server from this website again and try it. This problem should be fixed now with this build.

#5

Hi Michael,

I downloaded the server and ran the application. The error witnessed previously, namely a pop up in the client stating that 'There was a error using the device", no longer occurs. However the device, ANT USB-m Stick, is still not usable. Oddly when selected in the client the ANT USB-m Stick device briefly states that it is 'In use by you' however this only lasts for a couple of seconds. Server log output below:

2016-11-23 10:09:48 INFO :>>> Starting VirtualHere USB Server v3.1.9 (Built: Nov 22 2016, 14:27:29)<<<
2016-11-23 10:09:48 INFO :Using configuration config.ini
2016-11-23 10:09:48 INFO :Server licensed to=unlicensed max_devices=1
2016-11-23 10:09:48 INFO :TCPServer starting...
2016-11-23 10:09:48 INFO :Listening on all network interfaces at port 7575 (IPv6 dual-stack)
2016-11-23 10:09:48 INFO :Registration called
2016-11-23 10:09:49 INFO :Found Full speed device [0fcf:1009] "Dynastream Innovations, ANT USB-m Stick" at address 6
2016-11-23 10:09:49 INFO :Found Full speed device [147e:2020] "Auth, Biometric Coprocessors" at address 2
2016-11-23 10:09:49 INFO :Found Full speed device [0a5c:21e6] "Broadcom Corp, BCM20702A0" at address 3
2016-11-23 10:09:49 INFO :Found High speed device [04f2:b2da] "Chicony Electronics Co., Ltd., Integrated Camera" at address 4
2016-11-23 10:10:44 INFO :fe80::8579:8638:ae0e:4df0 connected
2016-11-23 10:11:05 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_0FCF&PID_1009\5&3B7C2B60&0&2, error 26
2016-11-23 10:11:05 INFO :Device 6 [0fcf:1009] BOUND to connection 1
2016-11-23 10:11:07 INFO :Device 6 [0fcf:1009] SURPRISE UNBOUND from connection 1
2016-11-23 10:11:07 INFO :Unmanaging device 6 [0fcf:1009]
2016-11-23 10:11:07 INFO :Found Full speed device [0fcf:1009] "Dynastream Innovations, ANT USB-m Stick" at address 6

#6

Try this:

Right click on the ANT USB m_stick and select 'Custom Event Handler" then enter exactly this:

onReset.$VENDOR_ID$.$PRODUCT_ID$=

and then press OK and try using it again.

#7

Hi Michael,

I acted as instructed, unfortunately unsuccessful, log output below.

2016-11-24 23:07:16 INFO :>>> Starting VirtualHere USB Server v3.1.9 (Built: Nov 22 2016, 14:27:29)<<<
2016-11-24 23:07:16 INFO :Using configuration config.ini
2016-11-24 23:07:16 INFO :Server licensed to=unlicensed max_devices=1
2016-11-24 23:07:16 INFO :TCPServer starting...
2016-11-24 23:07:16 INFO :Listening on all network interfaces at port 7575 (IPv6 dual-stack)
2016-11-24 23:07:16 INFO :Registration called
2016-11-24 23:07:16 INFO :Found Full speed device [0fcf:1009] "Dynastream Innovations, ANT USB-m Stick" at address 6
2016-11-24 23:07:16 INFO :Found Full speed device [147e:2020] "Auth, Biometric Coprocessors" at address 2
2016-11-24 23:07:16 INFO :Found Full speed device [0a5c:21e6] "Broadcom Corp, BCM20702A0" at address 3
2016-11-24 23:07:16 INFO :Found High speed device [04f2:b2da] "Chicony Electronics Co., Ltd., Integrated Camera" at address 4
2016-11-24 23:07:26 INFO :fe80::8579:8638:ae0e:4df0 connected
2016-11-24 23:07:34 INFO :Set custom event "onReset.0fcf.1009="
2016-11-24 23:07:37 INFO :Executed empty hook for onReset.0fcf.1009
2016-11-24 23:07:37 INFO :Device 6 [0fcf:1009] BOUND to connection 1
2016-11-24 23:07:37 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_0FCF&PID_1009\5&3B7C2B60&0&2, error 26
2016-11-24 23:07:37 INFO :Executed empty hook for onReset.0fcf.1009
2016-11-24 23:07:39 INFO :Device 6 [0fcf:1009] SURPRISE UNBOUND from connection 1
2016-11-24 23:07:39 INFO :Unmanaging device 6 [0fcf:1009]
2016-11-24 23:07:39 INFO :Found Full speed device [0fcf:1009] "Dynastream Innovations, ANT USB-m Stick" at address 6

Thanks for your help to date, it is much appreciated.

Neal

#8

I dont think virtualhere is going to work with the ant+ unfortunately, as the ant keeps disconnecting itself (i.e SURPRISE UNBOUND in the log)