RE: USB test run process

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

 



I took the specified C files and able to build and run but I want to know
the type of USB devices we need to use for making this test to execute
properly without any IOCTL errors. I hope you got the problem now.

Thanks & regards,
Narendra Kumar.

-----Original Message-----
From: Huang Rui [mailto:ray.huang@xxxxxxx] 
Sent: 07 May 2015 09:59
To: Narendra.kc
Cc: linux-usb@xxxxxxxxxxxxxxx
Subject: Re: USB test run process

On Thu, May 07, 2015 at 09:31:43AM +0530, Narendra.kc wrote:
> Hi,
> 
>          I am unable to run testusb.c,  may I know which kind of 
> devcies I need to connect to my PC fort testing the USB drive because 
> I just connect one serial cable it created one file 
> "/dev/bus/usb/002/010" if I am testing that device it is showing 
> following error (I am attaching my testusb.c please check it).
> 
> /dev/bus/usb/002/010 test 0 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 1 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 2 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 3 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 4 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 5 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 6 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 7 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 8 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 9 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 10 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 11 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 12 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 13 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 14 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 15 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 16 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 17 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 18 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 19 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 20 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 21 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 22 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 23 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 24 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 25 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 26 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 27 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 28 --> 25 (Inappropriate ioctl for device)
> /dev/bus/usb/002/010 test 29 --> 25 (Inappropriate ioctl for device)
> 
> 
> but if I am running ./testusb -a then it is resulting "no test devices 
> recognized".
> 
> Please specify the test run process clearly and tell me whether this 
> test is enough to cover all USB classes(Ethernet class, common class etc)
testing.
> 

testusb is moved into tools/usb/testusb.c You can execute "make -C
tools/usb/" to build it.
usbtest module (drivers/usb/misc/usbtest.c) will tell you the test scope. It
focuses on testing different types of endpoint transfer.

Thanks,
Rui

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