Re: Kernel USB unit tests

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

 



On Fri, 9 Dec 2011, feng wind wrote:

> 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.

Actually it looks like the usbtest driver wasn't bound to your device.  
Did you remember to unbind the existing driver before loading usbtest?

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