testusb: test13 is broken at super speed

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

 



Hi Raveendra,


On 5/20/2013 4:24 PM, V K Raveendra Talabattula wrote:
Hello Pratysuh,

I tried to create the usbmon log before that i tried once again
executing the test case 2(with the arguments you gave) by rebooting the
system then it passed.

Actullay if some test case fails then if I run any test case after that
then that test case is also failing, same happend with test case 2
previosuly.

And it seems these below values that present in testusb.c are not
suitable for running all the test cases for USB3.0.

  param.length = 512;(s)
  param.vary = 512;(v)
  param.sglen = 32; (g)

  I have chnaged above values to param.length = 1024 (that you gave )

Yes, for superspeed keep length as 1024.


                                            and also         param.vary
=  1024

With this I am able to run all the test cases successfully except test
case 8 and 13.

For test 8 pass argument something like this

./testusb -a -c 1000 -t 8 -g 32 -v 1024 -s 4096

for test 13 is broken.

http://permalink.gmane.org/gmane.linux.usb.general/72098

@Sarah: Could you see anything unusual in the xhci debug log posted at above link.

Regards
Pratyush


I am geting the below error when executing those test cases

8  - value too large for defined type
13 - invalid argument

I tried with different values but still could not make it run.

I think it is again to do with proper arguments fo them.

Can you please help me with the argument values that may be required for
them.

Thanks,

Raveendra

------- *Original Message* -------

*Sender* : Pratyush Anand<pratyush.anand@xxxxxx>

*Date* : May 20, 2013 15:58 (GMT+09:00)

*Title* : Re: Regarding the patches related USB3.0 ischronous testing

share your lecroy traffic capture log or usbmon log (if you do not have
lecroy)

Also share dmesg.

On 5/20/2013 12:26 PM, V K Raveendra Talabattula wrote:
 > Hi,
 >
 > I tried it and got the same error(protocol error)
 >
 > --Raveendra
 >
 > ------- *Original Message* -------
 >
 > *Sender* : Pratyush Anand
 >
 > *Date* : May 20, 2013 15:25 (GMT+09:00)
 >
 > *Title* : Re: Regarding the patches related USB3.0 ischronous testing
 >
 > try
 > ./testusb -a -c 1000 -t 2 -s 1024
 > and let me know.
 >
 > On 5/20/2013 11:38 AM, V K Raveendra Talabattula wrote:
 >  > Hello Pratyush,
 >  >
 >  > Need some help regarding the bulk read test.
 >  >
 >  > I was using the same usbtest and testusb files and when I am
running the
 >  > bulk read tests it is giving me  "protocol error".
 >  >
 >  > But bulk writting test case is fine.
 >  >
 >  > I am executing as below
 >  >
 >  > ./testusb  -D /proc/bus/usb/004/009 -t2
 >  >
 >  > Do you have any idea on this.
 >  >
 >  > Thanks,
 >  >
 >  > Raveendra
 >  >
 >  > ------- *Original Message* -------
 >  >
 >  > *Sender* : Pratyush Anand
 >  >
 >  > *Date* : May 13, 2013 18:01 (GMT+09:00)
 >  >
 >  > *Title* : Re: Regarding the patches related USB3.0 ischronous testing
 >  >
 >  > Hi Raveendra,
 >  >
 >  > On 5/10/2013 3:20 PM, V K Raveendra Talabattula wrote:
 >  >  > Hello Pratyush,
 >  >  >
 >  >  > I was unable to execute the ischronous tests for USB3.0 gadet.
 >  >  >
 >  >  > When I am executing the below command
 >  >  >
 >  >  > ./testusb  -D /proc/bus/usb/004/009 -t15
 >  >  >
 >  >  > the output i am getting is
 >  >  >
 >  >  > unknown speed /proc/bus/usb/004/009
 >  >
 >  > It is fine.
 >  > Have you captured traffic on analyzer (lecroy or anyother).
 >  > What do you see there?
 >  >
 >  >  >
 >  >  > and after that nothing is coming.
 >  >
 >  > Can you try
 >  > #./testusb -a -c 1000 -t 15 -g 10
 >  >
 >  > Let me know lecroy capture or usbmon capture.
 >  > Also demsg of your host PC.
 >  >
 >  >  >
 >  >  > I am using the attached usbtest.c and testusb.c files.
 >  >
 >  > Seems ok.
 >  >
 >  > Pl keep linux-usb in cc from next time. You will get input from
various
 >  > people.
 >  >
 >  > Thanks
 >  >
 >  >  >
 >  >  > When I see the code of testusb.c I am not finding the support for
 > USB3.0
 >  >  > in that.
 >  >  >
 >  >  > Can you please check the files and let us know whether the
problem is
 >  >  > with the files or anything else?
 >  >  >
 >  >  > Thanks,
 >  >  >
 >  >  > Raveendra
 >  >  >
 >  >  > ------- *Original Message* -------
 >  >  >
 >  >  > *Sender* : Pratyush Anand
 >  >  >
 >  >  > *Date* : Apr 29, 2013 18:39 (GMT+09:00)
 >  >  >
 >  >  > *Title* : Re: Regarding the patches related USB3.0 ischronous
testing
 >  >  >
 >  >  > These patches would have been intermediate, and finally would
not have
 >  >  > applied....
 >  >  >
 >  >  > [PATCH v3 0/3] isoc support for gadget zero and usbtest
 >  >  > [PATCH v3 3/3] usb: usbtest: add super speed isoc support to
usbtest
 >  >  >
 >  >  >
 >  >  > testcase 15, 16 (isoc tests) is there in the usbtest.c which I
sent .
 >  >  > forget about these patches. this usbtest.c should work. If that
 > does not
 >  >  > work then revert.
 >  >  >
 >  >  >
 >  >  > On 4/29/2013 2:32 PM, V K Raveendra Talabattula wrote:
 >  >  >>
 >  >  >> Hi Pratyush,
 >  >  >>
 >  >  >> Thanks for the mail. Actually I am checking the contents of the
 >  >  >> usbtest.c wih the    "[PATCH v3 3/3] usb: usbtest: add super speed
 >  >  >> isoc support to usbtest"     and I am not seeing any of the code
 >  >  >> chages mentioned in the patch.
 >  >  >>
 >  >  >> Same thing I observed in the usbtest.c that i have also.
 >  >  >>
 >  >  >> As far as my understaning is concerned i should have usbtest.c
 > updated
 >  >  >> after applying both the below patches.
 >  >  >>
 >  >  >> [PATCH v3 0/3] isoc support for gadget zero and usbtest
 >  >  >> [PATCH v3 3/3] usb: usbtest: add super speed isoc support to
usbtest
 >  >  >>
 >  >  >> but unfortunately i do not have path file conrrsponding
 > to  "[PATCH v3
 >  >  >> 0/3] isoc support for gadget zero and usbtest"   to apply.
 >  >  >>
 >  >  >> Please tell me if my understaing is corect or not. Thanks
 >  >  >>
 >  >  >> --Raveendra
 >  >  >>
 >  >  >> Thankswhaever the
 >  >  >>
 >  >  >> ------- *Original Message* -------
 >  >  >>
 >  >  >> *Sender* : Pratyush Anand
 >  >  >>
 >  >  >> *Date* : Apr 29, 2013 17:28 (GMT+09:00)
 >  >  >>
 >  >  >> *Title* : Re: Regarding the patches related USB3.0 ischronous
testing
 >  >  >>
 >  >  >> It is there.
 >  >  >>
 >  >  >> git show v3.9-rc4:drivers/usb/misc/usbtest.c >> usbtest.c
 >  >  >>
 >  >  >> see attached usbtest.c
 >  >  >>
 >  >  >>
 >  >  >> On 4/29/2013 12:11 PM, V K Raveendra Talabattula wrote:
 >  >  >>>
 >  >  >>> Hi Pratyush,
 >  >  >>>
 >  >  >>> Thanks a lot for the reply.
 >  >  >>>
 >  >  >>> I was able to find out the files
 >  >  >>> (zero.c,f_loopback.c,f_sourcesink.c,g_zero.h) with isoc support.
 >  >  >>>
 >  >  >>> I just compared the patches with the files that are present in
 > kernel
 >  >  >>> (3.8.2) i am using and it looks fine.
 >  >  >>>
 >  >  >>> But I am unable to find out the updated usbtes.c file that
supports
 >  >  >>> isochronous testing.
 >  >  >>>
 >  >  >>> I checked the other kernel versions also apart from 3.8.2
that i am
 >  >  >>> using.I checked the torvalds tree also.
 >  >  >>>
 >  >  >>> Can you please tell me where I can get the updated usbtest.c
file?
 >  >  >>>
 >  >  >>> Thanks,
 >  >  >>>
 >  >  >>> Raveendra
 >  >  >>>
 >  >  >>> ------- *Original Message* -------
 >  >  >>>
 >  >  >>> *Sender* : Pratyush Anand
 >  >  >>>
 >  >  >>> *Date* : Apr 27, 2013 02:45 (GMT+09:00)
 >  >  >>>
 >  >  >>> *Title* : Re: Regarding the patches related USB3.0 ischronous
 > testing
 >  >  >>>
 >  >  >>> Hi Raveendra,
 >  >  >>>
 >  >  >>> Thanks for contacting me.
 >  >  >>> I think, all the needed patch to test isoc for usb2.0/3.0 are
there
 >  >  >>> in Linus's tree.
 >  >  >>> If you will fetch latest Linux you will find them there.
 >  >  >>>
 >  >  >>> Rgds
 >  >  >>> Pratyush
 >  >  >>>
 >  >  >>> On 4/26/2013 5:21 PM, V K Raveendra Talabattula wrote:
 >  >  >>>>
 >  >  >>>> Hello Pratyush,
 >  >  >>>>
 >  >  >>>> I am Raveendra.While searching USB 3.0 gadget driver testing I
 > found
 >  >  >>>> your name as one of the person who have worked on it.
 >  >  >>>>
 >  >  >>>> I am trying to test the USB 3.0 gadget driver for isochronous
 > support.
 >  >  >>>> Can you please send me the .patch files for below patches.If
I am
 >  >  >>>> not wrong below are all the required patches and please send
all of
 >  >  >>>> them to my mail ID and any other if i missed to mention
 >  >  >>>>
 >  >  >>>> [PATCH v3 0/3] isoc support for gadget zero and usbtest
 >  >  >>>> [PATCH v3 1/3] usb: gadget: add isochronous support to
gadget zero
 >  >  >>>> [PATCH v3 2/3] usb: usbtest: two super speed fixes for usbtest
 >  >  >>>> [PATCH v3 3/3] usb: usbtest: add super speed isoc support to
 > usbtest
 >  >  >>>> [PATCH v3 3/3] usb: usbtest: add super speed isoc support to
 > usbtest
 >  >  >>>>
 >  >  >>>>
 >  >  >>>> Thanks,
 >  >  >>>> Raveendra
 >  >  >>>>
 >  >  >>>
 >  >  >>>
 >  >  >>
 >  >  >>
 >  >  >
 >  >  >
 >  >
 >  >
 >
 >




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