Page 1 of 1

Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 14. Mar 2018, 04:08
by Gang
Hi All,
I run a guest Win 7 on a host ubuntu system. Now I have to use DS-5 to debug ARM problem. I only have DS-5 License on Windows, so I have the run DS-5 in windows. Now the problem is I can not find DS-5's USB device on virtualbox's device->USB list. I can use USB-Stick in guest Win7.
After run lsusb in ubuntu , I can see the USB device:
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:649d Microdia 
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Can anybody tell me how to add attach the DS-5 to guest Win7?

Rgds

Re: Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 14. Mar 2018, 05:01
by socratis
What is a "DS-5"? The only reference that I get is about a Citroën compact executive car. You cannot attach that to a Windows 7. ;)

Joking aside... what is a "DS-5"? And why did you put in red the Cypress "TetraHub"?

Re: Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 14. Mar 2018, 11:23
by Gang
It is an ARM debug tool, and the ICE is "DSTREAM" which is connected to PC with USB cable. You can search DS-5 and DSTREAM in google or bing :D

I need pass "DSTREAM" to guest Win7. But I can not find it virtualbox's usb device list. This is my problem.

The red line is the lsusb output when connect "DSTREAM" to PC, I think there's some USB device's information of this "DSTREAM".

Re: Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 14. Mar 2018, 12:04
by andyp73
Looking on the Cypress Semiconductor website the CY7C65640 is nothing more than a USB-USB hub. If it is inside the ARM debug device (a quick re-run of lsusb without it connected will prove it) then your Linux host doesn't appear to be seeing the debug device behind it.

The other possibility is that the DSTREAM debug device uses a different Cypress chip (they do many controllers with a USB interface on one side) that has the wrong USB VID:PID programmed in it.

When you connect the DSTREAM to a Windows machine and view the device manager by connection, how does it appear?

-Andy.

Re: Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 15. Mar 2018, 03:59
by Gang
When connect the DSTREAM to Win7, on "Universal Serial Bus controllers" branch can find 3 new item:
DSTREAM Hardware on USB: type: Universal Serial Bus controllers ; Location: Port_#0001.Hub_#0005
DSTREAM Trace:           type: Universal Serial Bus controllers ; Location: Port_#0001.Hub_#0005
Generic USB Hub:         type: Universal Serial Bus controllers ; Location: Port_#0003.Hub_#0004
I have another device with several functions behind one USB port. When I run lsusb, I can find Bus 003 Device 003: ID 6000:1003 Beholder International Ltd. And I can see this item on virtualbox's USB list. The item's name is "Beholder International Ltd.[1001]". When I connect this item to gust Win7, it can find several device and can work. I hope the DSTREAM can also works like that.

Re: Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 15. Mar 2018, 08:43
by Gang
After install a linux driver of this tool, two more items shows when run lsusb.
Bus 003 Device 011: ID 0d28:0103 NXP 
Bus 003 Device 010: ID 0d28:0003 NXP 
Bus 003 Device 009: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
And can see the the tool in virutal box's usb list. Thanks for andyp73 and socratis 's help! :D

Re: Can not find USB DS-5 on VirtualBox's Device->USB menu

Posted: 15. Mar 2018, 11:40
by socratis
That doesn't make too much sense actually. There is, or there isn't a device. I've had many devices that are not recognized by OSX (no driver) and are detected (correctly, as they should) and working fine in a guest...

Unless the TetraHub enables some sort of "translation" services? Software based... something? Can't say that I've heard that one before.