Re: Kernel USB unit tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 26 Dec 2011, feng wind wrote:

> Hi Alan,
> 
> Firstly thanks for your advice. After disabling usb-storage, the test with
> my usb disk can be passed. But I do the same test with a bluetooth device,
> test9 and test19 failed. The log is as below.
> 
> root@imx:/usb-test> ./testusb -D /proc/bus/usb/001/005
> ./testusb: /proc/bus/usb/001/005 may see only control tests
> /proc/bus/usb/001/005 test 0,    0.000031 secs
> /proc/bus/usb/001/005 test 9,   14.030392 secs
> /proc/bus/usb/001/005 test 10 --> 32 (Broken pipe)

This shows that test 10 failed, not tests 9 and 19.

> dmesg:
> ======
> 
> usbtest 1-1:1.0: TEST 0:  NOP
> usbtest 1-1:1.0: TEST 9:  ch9 (subset) control tests, 1000 times
> usbtest 1-1:1.0: TEST 10:  queue 32 control calls, 1000 times
> usbtest 1-1:1.0: subtest 9 error, status -32
> usbtest 1-1:1.0: control queue 82.00, err -32, 31990 left, subcase 9, len
> 0/2

The part of test 10 that failed was subtest 9, which issues
Get-Endpoint-Status requests for endpoint 0.  Failure of this subtest 
means that your bluetooth device is not fully USB-compliant.

> Could you give me some suggestion!

Suggestion for what?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux