I use testing steps with a usb disk followed "http://www.linux-usb.org/usbtest/", I cannot get the following result . root@feng-desktop:/home/feng/usb-test# ./testusb -D /proc/bus/usb/001/087 ./testusb: /proc/bus/usb/001/087 may see only control tests /proc/bus/usb/001/087 test 0 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 1 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 2 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 3 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 4 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 5 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 6 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 7 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 8 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 9 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 10 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 11 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 12 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 13 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 14 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 15 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 16 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 17 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 18 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 19 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 20 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 21 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 22 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 23 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 24 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 25 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 26 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 27 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 28 --> 25 (Inappropriate ioctl for device) /proc/bus/usb/001/087 test 29 --> 25 (Inappropriate ioctl for device) Seem that the usbtest module doesnot support my device. Regards, Feng 2011/12/7, Greg KH <greg@xxxxxxxxx>: > On Mon, Dec 05, 2011 at 08:54:57PM +0000, Jeff Cooper wrote: >> I'm trying to track down an issue a client is reporting with corrupted USB >> >> transfers from a USB pen drive in the 3.0 kernel. The platform is a OMAP >> 35x LogicPD Torpedo module on a custom base board. >> >> The problem that they're seeing is when they read a file from USB pen >> drive, the md5sum some doesn't always match the expected value. I >> haven't been able to duplicate the issue they're seeing myself yet, but >> one of my coworkers suggested running the USB unit tests in the kernel. >> >> I'm following the instructions at: http://www.linux-usb.org/usbtest/. >> I've built a kernel with CONFIG_USB_TEST enabled and with >> CONFIG_USB_STORAGE set to a module. Then I put the USB pen drive I'm >> going to run the tests against into the board and boot the kernel. Then >> I do the following: >> >> cat /proc/bus/usb/devices to get the vendor/product ID's and the device >> number in /proc/bus/usb >> modprobe usbtest vendor=0x1234 product=0x5678 >> ./testusb -D /proc/bus/usb/001/003 > > I thought the testusb tool would only work with devices that you could > download the firmware to. Perhaps that is why it's not working properly > for you? > > thanks, > > greg k-h > -- > 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 > -- 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