PIDVID


In order to perform USB 2.0 High Speed electrical tests a High Speed product must support test modes as defined in section 7.1.20 of the USB 2.0 specification. To active a test mode, the USB 2.0 Specification defines the SetFeature() command as the desired interface. The USB-IF offers for free a High Speed electrical Test Tool (HSET) which is Windows based, to activate the various test modes and operations.  
Problem is that HSET only runs on Windows based x86 and x64 PC systems and cannot be used for High Speed USB hosts that don't run Windows x86 or x64 PC systems. The solution for this problem is that the “On-The-Go and Embedded Host Supplement to the USB Revision 2.0 Specification” defines a method in entering the required high speed electrical test modes via PID VID detection.
USB 3.0 Super Speed Embedded host that support USB 2.0 High Speed should follow the same guidelines as described in this document. It’s important that non-windows based host vendors implement these test modes.

The PIDVID is made to initiate these required test modes and may find a Methode Of Implementation (MOI) to run the test here. (still in DRAFT)
If you planning to buy the PIDVID visit our shop section.
Please make sure that the Embedded Host OS is capable in entering the required test modes. 

For hosts that use linux OS use following patch that need to be unzipped and should work as old as 2.6.35.
The patch should already be in kernel v3.6 and onwards.

Here the steps to take to apply this patch and is based on Ubuntu 12.10 x86_32.
Download on www.ubuntu.com and install

 After it's installed: 
·         Open ‘terminal’
·    sudo su -
·    apt-get update && apt-get upgrade
·    apt-get install build-essential linux-source
·    cd /usr/src
·    tar xvf linux-source-3.5.0.tar.bz2
·    cd linux-source-3.5.0
·    cp /home/user/0001-usb-misc-introduce-OTG-EH-Test-Driver.diff . (assuming  the patch in saved at this locations)
·         patch -p1 < 0001-usb-misc-introduce-OTG-EH-Test-Driver.diff
·         make oldconfig (enter ‘m’ when asked what to do for “USB OTG & EH Test Mode Support Driver”)
·         make deb-pkg (this takes some time)

After build completes: 
·    cd ..
·    rm –v *firmware*.deb
·    dpkg –I *.deb
·    reboot

Now the patch is applied and the PID VID detection should work.

Other rescourses:

http://linux.omap.com/pipermail/linux-omap-open-source/2007-May/010156.html


http://code.google.com/p/openusbhset/ 

http://lxr.free-electrons.com/source/drivers/usb/misc/ehset.c