Coral USB Accelerator

10 posts / 0 new
Last post
brettyj
Coral USB Accelerator

Hey,

I use hyper v but I'd really like to try using the Coral USB Accelerator in a virtual machine. Will this work? Does virtualhere support USB 3 speeds? And will the performance be degraded?

https://coral.ai/products/accelerator/

Thanks!

Michael
.

It might work. I assume the host and the vm are the same machine? So latency would be very minimal

Anyway try it using this server https://www.virtualhere.com/sites/default/files/usbserver/vhusbdwindk64.exe on the hyper-v host, and the virtualhere client inside the vm

brettyj
Hey,

Hey,

I bought a license to try this out (as I'm running on a linux headless GUI less VM) and I can't get it working.

I have the server installed on the host, Windows Server 2016, and the linux client in a ubuntu guest - the console shows "OK" when I mount the USB device in the client, but lsusb doesn't show the device just the virtual hub:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 4.15
iManufacturer 3 Linux 4.15.0-106-generic vhci_hcd
iProduct 2 USB/IP Virtual Host Controller
iSerial 1 vhci_hcd.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 8
wHubCharacteristic 0x0001
Per-port power switching
Ganged overcurrent protection
bPwrOn2PwrGood 0 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.4 micro seconds
wHubDelay 4 nano seconds
DeviceRemovable 0xff 0xff
Hub Port Status:
Port 1: 0800.0200 5Gbps power U0
Port 2: 0800.0200 5Gbps power U0
Port 3: 0800.0200 5Gbps power U0
Port 4: 0800.0200 5Gbps power U0
Port 5: 0800.0200 5Gbps power U0
Port 6: 0800.0200 5Gbps power U0
Port 7: 0800.0200 5Gbps power U0
Port 8: 0800.0200 5Gbps power U0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 15
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Device Status: 0x0001
Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.15
iManufacturer 3 Linux 4.15.0-106-generic vhci_hcd
iProduct 2 USB/IP Virtual Host Controller
iSerial 1 vhci_hcd.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 8
wHubCharacteristic 0x0001
Per-port power switching
Ganged overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 0 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0501 highspeed power connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Device Status: 0x0001
Self Powered

Michael
.

OK could you stop and exit the current virtualhere server and try this server instead https://www.virtualhere.com/sites/default/files/usbserver/vhusbdwindk64.exe

If that still doesnt work, perhaps i can use teamviewer while you are there? If so send me the details. Thanks

brettyj
Hey thanks for that.

Hey thanks for that. Unfortunately it didn't work, the device still doesn't seem to be redirected. Happy to do some kind of screen sharing, what timezone are you in? I'm in the UK so BST (GMT +1)

Michael
.

Brisbane australia, GMT+10 email me the teamviewer details when you are there. I generally work between 10am-8pm

brettyj
I could do 10am your time.

I could do 10am your time. What days do you work? Mon-Fri?

Michael
.

Yes Mon-Friday, ok email me on Tues (mon your time) and ill take a look. mail@virtualhere.com

timmyd
any update?

Did you guys get this to work?

Michael
.

Im not sure as i didnt hear feedback after i made some changes. Anyway you can try it

download https://www.virtualhere.com/sites/default/files/usbserver/vhusbdwindk64.exe

then run the GUI client in ubuntu and use the coral device and see if it works ok

Log in or register to post comments