greatscottgadgets / hackrf

low cost software radio platform
https://greatscottgadgets.com/hackrf/
GNU General Public License v2.0
6.45k stars 1.51k forks source link

[USB] Hack rf fails usb compliance tests. #111

Open LazyDodo opened 10 years ago

LazyDodo commented 10 years ago

Compliance tools can be found at : http://www.usb.org/developers/tools/

Test log initialized. User Input module initialized Windows 7 (Build 7601) Service Pack 1.0 CVExe.exe ver 1.4.7.0 CommandVerifierLog.dll ver 1.4.8.0 TSMFCGuiDialogHelperDLL.dll ver 1.4.7.0 TestUtilities.dll ver 1.4.7.0 TestSuiteEngine.dll ver 1.4.7.0 xhci_DevIOCTL.dll ver 1.0.2.1 xhci_TestServices.dll ver 1.0.2.1 USBUtilities.dll ver 1.4.5.0 StackSwitcher.dll ver 1.4.5.1 xhci_USBCommandVerifier.dll ver 1.0.2.1 USB20_USBCommandVerifier.dll ver 1.0.2.1 Host selected: xHCI Host: VID=0x8086, PID=0x1e31 (PCI bus 0, device 20, function 0) DUT selected: HS Device addr=1: VID=1d50, PID=604b Topology: XHCI HC -- DUT High Speed Device USB Version number of device: 2.00 Number of configurations: 1 USB Version number of device: 2.00 Number of Other Speed configurations: 1 Start time: Thu Mar 06 16:55:21 2014

Set Configuration failed for Configuration Value : 0 Get Configuration failed Device descriptor length : 0x12 Device descriptor type : 0x1 Major version : 0x2 Minor version : 0x0 Each interface specifies its own device class type Device sub class : 0x0 Device protocol : 0x0 Device MaxPacketSize0 : 0x40 Vendor information for VendorID : 0x1D50, OpenMoko Device ProductID : 0x604B Device BCD : 0x100 ENGLISH_US language string descriptor is : Great Scott Gadgets ENGLISH_US language string descriptor is : HackRF Device Serial Number String : 0x0 Number of configurations device supports : 0x1

Stop time: Thu Mar 06 16:55:22 2014 Duration: 1 second. Stopping Test [ TD 9.1 - Device Descriptor Test (Configuration Index 0) - default: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:22 2014

Configuration descriptor contains descriptor of type : 0x4 (Interface Descriptor) Configuration descriptor contains descriptor of type : 0x5 (Endpoint Descriptor) Configuration descriptor contains descriptor of type : 0x5 (Endpoint Descriptor) Number of interface descriptors found 0x1 Number of alternate interface descriptors found : 0x0 Number of endpoint descriptors found : 0x2 Configuration descriptor length : 0x9 Configuration descriptor type : 0x2 Configuration descriptor TotalLength : 0x20 Configuration descriptor NumInterfaces : 0x1 Configuration descriptor ConfigurationValue: 0x1 Configuration descriptor string descriptor index : 0x0 Configuration descriptor bmAttributes : 0x80 Device does not support remote wake up MaxPower = 250 PowerMultiplier = 2 Maximum power device requires : 500mA Device is BUS POWERED

Stop time: Thu Mar 06 16:55:23 2014 Duration: 1 second. Stopping Test [ TD 9.2 - Configuration Descriptor Test (Configuration Index 0) - default: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:23 2014

Found Interface Descriptor with number : 0

This device does not contain an Interface Association Descriptor

Stop time: Thu Mar 06 16:55:24 2014 Duration: 1 second. Stopping Test [ TD 9.3 Interface Association Descriptor Test (Config 0): Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:24 2014

Bandwidth check passed Testing Interface number : 0x0 Alternate setting : 0x0 Interface descriptor length : 0x9 Interface descriptor bDescriptorType : 0x4 Interface descriptor bAlternateSetting : 0x0 Interface descriptor bNumEndPoints: 0x2 Interface descriptor bInterfaceClass is vendor-specific Interface descriptor bInterfaceSubClass : 0xFF Device uses a vendor-specific protocol for this interface Interface descriptor iInterface : 0x0

Stop time: Thu Mar 06 16:55:25 2014 Duration: 1 second. Stopping Test [ TD 9.4 - Interface Descriptor Test (Configuration Index 0) - default: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:25 2014

Testing Interface number : 0x0 Alternate setting : 0x0 Endpoint descriptor length : 0x7 Endpoint descriptor type : 0x5 Endpoint Type : Bulk, Number : 0x1, Direction : IN Endpoint descriptor bmAttributes : 0x2 Endpoint descriptor raw MaxPacketSize : 0x200 Endpoint descriptor interval : 0x0 Endpoint descriptor length : 0x7 Endpoint descriptor type : 0x5 Endpoint Type : Bulk, Number : 0x2, Direction : OUT Endpoint descriptor bmAttributes : 0x2 Endpoint descriptor raw MaxPacketSize : 0x200 Endpoint descriptor interval : 0x0

Stop time: Thu Mar 06 16:55:26 2014 Duration: 1 second. Stopping Test [ TD 9.5 - Endpoint Descriptor Test (Configuration Index 0) - default: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:26 2014

Configuration Index 0x00 has a Configuration Value of 1 USB Version number of device: 2.00 Device supports version of the USB Protocol that does not support BOS Descriptor

Stop time: Thu Mar 06 16:55:27 2014 Duration: 1 second. Stopping Test [ TD 9.7 - BOS Descriptor Test - Device State Default: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:27 2014

Device descriptor length : 0x12 Device descriptor type : 0x1 Major version : 0x2 Minor version : 0x0 Each interface specifies its own device class type Device sub class : 0x0 Device protocol : 0x0 Device MaxPacketSize0 : 0x40 Vendor information for VendorID : 0x1D50, OpenMoko Device ProductID : 0x604B Device BCD : 0x100 ENGLISH_US language string descriptor is : Great Scott Gadgets ENGLISH_US language string descriptor is : HackRF Device Serial Number String : 0x0 Number of configurations device supports : 0x1

Stop time: Thu Mar 06 16:55:28 2014 Duration: 1 second. Stopping Test [ TD 9.1 - Device Descriptor Test (Configuration Index 0) - addressed: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:28 2014

Configuration descriptor contains descriptor of type : 0x4 (Interface Descriptor) Configuration descriptor contains descriptor of type : 0x5 (Endpoint Descriptor) Configuration descriptor contains descriptor of type : 0x5 (Endpoint Descriptor) Number of interface descriptors found 0x1 Number of alternate interface descriptors found : 0x0 Number of endpoint descriptors found : 0x2 Configuration descriptor length : 0x9 Configuration descriptor type : 0x2 Configuration descriptor TotalLength : 0x20 Configuration descriptor NumInterfaces : 0x1 Configuration descriptor ConfigurationValue: 0x1 Configuration descriptor string descriptor index : 0x0 Configuration descriptor bmAttributes : 0x80 Device does not support remote wake up MaxPower = 250 PowerMultiplier = 2 Maximum power device requires : 500mA Device is BUS POWERED (1.1.100) Devices must support a GetStatus Standard Request Test failed

Stop time: Thu Mar 06 16:55:29 2014 Duration: 1 second. Stopping Test [ TD 9.2 - Configuration Descriptor Test (Configuration Index 0) - addressed: Number of: Fails (1); Aborts (1); Warnings (0) ]

Start time: Thu Mar 06 16:55:29 2014

Found Interface Descriptor with number : 0

This device does not contain an Interface Association Descriptor

Stop time: Thu Mar 06 16:55:30 2014 Duration: 1 second. Stopping Test [ TD 9.3 Interface Association Descriptor Test (Config 0): Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:30 2014

Bandwidth check passed Testing Interface number : 0x0 Alternate setting : 0x0 Interface descriptor length : 0x9 Interface descriptor bDescriptorType : 0x4 Interface descriptor bAlternateSetting : 0x0 Interface descriptor bNumEndPoints: 0x2 Interface descriptor bInterfaceClass is vendor-specific Interface descriptor bInterfaceSubClass : 0xFF Device uses a vendor-specific protocol for this interface Interface descriptor iInterface : 0x0

Stop time: Thu Mar 06 16:55:31 2014 Duration: 1 second. Stopping Test [ TD 9.4 - Interface Descriptor Test (Configuration Index 0) - addressed: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:31 2014

Testing Interface number : 0x0 Alternate setting : 0x0 Endpoint descriptor length : 0x7 Endpoint descriptor type : 0x5 Endpoint Type : Bulk, Number : 0x1, Direction : IN Endpoint descriptor bmAttributes : 0x2 Endpoint descriptor raw MaxPacketSize : 0x200 Endpoint descriptor interval : 0x0 Endpoint descriptor length : 0x7 Endpoint descriptor type : 0x5 Endpoint Type : Bulk, Number : 0x2, Direction : OUT Endpoint descriptor bmAttributes : 0x2 Endpoint descriptor raw MaxPacketSize : 0x200 Endpoint descriptor interval : 0x0

Stop time: Thu Mar 06 16:55:32 2014 Duration: 1 second. Stopping Test [ TD 9.5 - Endpoint Descriptor Test (Configuration Index 0) - addressed: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:32 2014

Configuration Index 0x00 has a Configuration Value of 1 USB Version number of device: 2.00 Device supports version of the USB Protocol that does not support BOS Descriptor

Stop time: Thu Mar 06 16:55:33 2014 Duration: 1 second. Stopping Test [ TD 9.7 - BOS Descriptor Test - Device State Addressed: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:33 2014

Device descriptor length : 0x12 Device descriptor type : 0x1 Major version : 0x2 Minor version : 0x0 Each interface specifies its own device class type Device sub class : 0x0 Device protocol : 0x0 Device MaxPacketSize0 : 0x40 Vendor information for VendorID : 0x1D50, OpenMoko Device ProductID : 0x604B Device BCD : 0x100 ENGLISH_US language string descriptor is : Great Scott Gadgets ENGLISH_US language string descriptor is : HackRF Device Serial Number String : 0x0 Number of configurations device supports : 0x1

Stop time: Thu Mar 06 16:55:34 2014 Duration: 1 second. Stopping Test [ TD 9.1 - Device Descriptor Test (Configuration Index 0) - configured: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:34 2014

Configuration descriptor contains descriptor of type : 0x4 (Interface Descriptor) Configuration descriptor contains descriptor of type : 0x5 (Endpoint Descriptor) Configuration descriptor contains descriptor of type : 0x5 (Endpoint Descriptor) Number of interface descriptors found 0x1 Number of alternate interface descriptors found : 0x0 Number of endpoint descriptors found : 0x2 Configuration descriptor length : 0x9 Configuration descriptor type : 0x2 Configuration descriptor TotalLength : 0x20 Configuration descriptor NumInterfaces : 0x1 Configuration descriptor ConfigurationValue: 0x1 Configuration descriptor string descriptor index : 0x0 Configuration descriptor bmAttributes : 0x80 Device does not support remote wake up MaxPower = 250 PowerMultiplier = 2 Maximum power device requires : 500mA Device is BUS POWERED (1.1.100) Devices must support a GetStatus Standard Request Test failed

Stop time: Thu Mar 06 16:55:35 2014 Duration: 1 second. Stopping Test [ TD 9.2 - Configuration Descriptor Test (Configuration Index 0) - configured: Number of: Fails (1); Aborts (1); Warnings (0) ]

Start time: Thu Mar 06 16:55:35 2014

Found Interface Descriptor with number : 0

This device does not contain an Interface Association Descriptor

Stop time: Thu Mar 06 16:55:36 2014 Duration: 1 second. Stopping Test [ TD 9.3 Interface Association Descriptor Test (Config 0): Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:36 2014

Bandwidth check passed Testing Interface number : 0x0 Alternate setting : 0x0 Interface descriptor length : 0x9 Interface descriptor bDescriptorType : 0x4 Interface descriptor bAlternateSetting : 0x0 Interface descriptor bNumEndPoints: 0x2 Interface descriptor bInterfaceClass is vendor-specific Interface descriptor bInterfaceSubClass : 0xFF Device uses a vendor-specific protocol for this interface Interface descriptor iInterface : 0x0 SetInterface with interface number : 0x0 failed.

Stop time: Thu Mar 06 16:55:37 2014 Duration: 1 second. Stopping Test [ TD 9.4 - Interface Descriptor Test (Configuration Index 0) - configured: Number of: Fails (0); Aborts (0); Warnings (1) ]

Start time: Thu Mar 06 16:55:37 2014

Testing Interface number : 0x0 Alternate setting : 0x0 Endpoint descriptor length : 0x7 Endpoint descriptor type : 0x5 Endpoint Type : Bulk, Number : 0x1, Direction : IN Endpoint descriptor bmAttributes : 0x2 Endpoint descriptor raw MaxPacketSize : 0x200 Endpoint descriptor interval : 0x0 Endpoint descriptor length : 0x7 Endpoint descriptor type : 0x5 Endpoint Type : Bulk, Number : 0x2, Direction : OUT Endpoint descriptor bmAttributes : 0x2 Endpoint descriptor raw MaxPacketSize : 0x200 Endpoint descriptor interval : 0x0

Stop time: Thu Mar 06 16:55:38 2014 Duration: 1 second. Stopping Test [ TD 9.5 - Endpoint Descriptor Test (Configuration Index 0) - configured: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:38 2014

Configuration Index 0x00 has a Configuration Value of 1 Initializing the device to the Configured state with Configuration Value 1

USB Version number of device: 2.00 Device supports version of the USB Protocol that does not support BOS Descriptor

Stop time: Thu Mar 06 16:55:39 2014 Duration: 1 second. Stopping Test [ TD 9.7 - BOS Descriptor Test (Configuration Index 0) - Device State Configured: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:39 2014

Testing Interface number : 0x0 Alternate setting : 0x0 SetInterface with interface number : 0x0 failed. Testing EndPoint type : Bulk, Address : 0x81 Endpoint GetStatus request failed for endpoint 0x81 Endpoint is currently not halted for endpoint 0x81 Setting feature endpoint halt for endpoint 0x81 Setting feature endpoint halt failed for endpoint 0x81 Endpoint GetStatus request failed for endpoint 0x81 Clearing feature endpoint halt for endpoint 0x81 Endpoint GetStatus request failed for endpoint 0x81 (1.2.91) A device that has Bulk/Interrupt endpoints must support the Halt Endpoint request on those endpoints. Testing EndPoint type : Bulk, Address : 0x2 Endpoint GetStatus request failed for endpoint 0x02 Endpoint is currently not halted for endpoint 0x02 Setting feature endpoint halt for endpoint 0x02 Setting feature endpoint halt failed for endpoint 0x02 Endpoint GetStatus request failed for endpoint 0x02 Clearing feature endpoint halt for endpoint 0x02 Endpoint GetStatus request failed for endpoint 0x02 (1.2.91) A device that has Bulk/Interrupt endpoints must support the Halt Endpoint request on those endpoints.

Stop time: Thu Mar 06 16:55:40 2014 Duration: 1 second. Stopping Test [ TD 9.9 - Halt Endpoint Test (Configuration Index 0): Number of: Fails (2); Aborts (0); Warnings (1) ]

Start time: Thu Mar 06 16:55:40 2014

SetConfiguration with configuration value : 0x1 Set Configuration failed for Configuration Value : 0 Get Configuration failed Unconfigured the device Set Configuration failed for Configuration Value : 1 Get Configuration failed SetConfiguration with configuration value : 0x1 failed (1.1.7) Devices must support a SetConfiguration request.

Stop time: Thu Mar 06 16:55:41 2014 Duration: 1 second. Stopping Test [ TD 9.13 - SetConfiguration Test (Configuration Index 0): Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:41 2014

Suspended the parent port of the Device Under Test. Resumed the parent port of the Device Under Test. Get Device Descriptor failed after resuming device. (1.1.30) A suspended device must resume normal operation when resume signaling is seen on its upstream port. Reenumerated device under test.

Stop time: Thu Mar 06 16:55:44 2014 Duration: 3 seconds. Stopping Test [ TD 9.14 - Suspend/Resume Test (Configuration Index 0): Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:44 2014

The device does not support remote wakeup

Stop time: Thu Mar 06 16:55:45 2014 Duration: 1 second. Stopping Test [ TD 9.12 - Remote Wakeup Test (Configuration Index 0) - Enabled:: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:45 2014

The device does not support remote wakeup

Stop time: Thu Mar 06 16:55:46 2014 Duration: 1 second. Stopping Test [ TD 9.12 - Remote Wakeup Test (Configuration Index 0) - Disabled:: Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:46 2014

Checking Device Under Test for LPM Compatibility... USB version of device is 2.00. LPM is only supported in USB version 2.01 and above.

Stop time: Thu Mar 06 16:55:47 2014 Duration: 1 second. Stopping Test [ L1Suspend/Resume Test (Configuration Index 0): Number of: Fails (0); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:47 2014

Set Configuration failed for Configuration Value : 0 Get Configuration failed (1.1.3) Devices must support a GetDescriptor(Device) request.

Stop time: Thu Mar 06 16:55:48 2014 Duration: 1 second. Stopping Test [ TD 9.17 - Other Speed Configuration Test (Configuration Index 0 OtherSpeedConfiguration Index 0) - addressed: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:48 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for configuration index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:49 2014 Duration: 1 second. Stopping Test [ TD 9.4 - Interface Descriptor Test (Configuration Index 0 OtherSpeedConfiguration Index 0) - addressed: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:49 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for configuration index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:50 2014 Duration: 1 second. Stopping Test [ TD 9.5 - Endpoint Descriptor Test (Configuration Index 0 OtherSpeedConfiguration Index 0) - addressed: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:50 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for configuration index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:51 2014 Duration: 1 second. Stopping Test [ TD 9.18 - Device Qualifier Descriptor Test (Configuration Index 0) - addressed: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:51 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for configuration index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:52 2014 Duration: 1 second. Stopping Test [ TD 9.18 - Device Qualifier Descriptor Test (Configuration Index 0) - configured: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:52 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for config index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:53 2014 Duration: 1 second. Stopping Test [ TD 9.17 - Other Speed Configuration Test (Configuration Index 0 OtherSpeedConfiguration Index 0) - configured: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:53 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for configuration index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:54 2014 Duration: 1 second. Stopping Test [ TD 9.4 - Interface Descriptor Test (Configuration Index 0 OtherSpeedConfiguration Index 0) - configured: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:54 2014

Get configuration descriptor failed for Configuration Descriptor index : 0x0 Could not get configuration value for configuration index 0x0 (1.1.1) Devices must have a corresponding configuration value for a valid configuration index.

Stop time: Thu Mar 06 16:55:55 2014 Duration: 1 second. Stopping Test [ TD 9.5 - Endpoint Descriptor Test (Configuration Index 0 OtherSpeedConfiguration Index 0) - configured: Number of: Fails (1); Aborts (0); Warnings (0) ]

Start time: Thu Mar 06 16:55:55 2014

Device speed is High Beginning enumeration test with 150 enumerations. This may take several minutes to complete. Enumerated 150 iterations.

Stop time: Thu Mar 06 16:56:36 2014 Duration: 41 seconds. Stopping Test [ TD 9.16 - Enumeration Test (repeat 150 times): Number of: Fails (0); Aborts (0); Warnings (0) ]

Summary Log Counts [ Fails (14); Aborts (2); Warnings (2) ]

┆Issue is synchronized with this Basecamp todo by Unito

KC5CQW commented 9 years ago

Add ferrite chokes to the USB cable for EMI mitigation.