Web lists-archives.com

Re: [Spca50x-devs] How to increase the packet size (USB)






Hi Michel,


Thanks for your reply, Yes my Hardware usb controller supports isochronous. No we dont have any other USB device on the same usb host controller. you can see the details abt my controller in this link http://focus.ti.com/lit/ug/sprue35a/sprue35a.pdf
still i have the same problem.

As i seen in MUSB driver("drivers/usb/musb/plat_uds.c") the packet allocated to tx and rx FIFO is 512 bytes. Please suggest me how to goahead to resolve this issue.

Thanks
Manju.


-----Original Message-----
From: Michel Xhaard [mailto:mxhaard@xxxxxxxx]
Sent: Thursday, July 05, 2007 8:55 PM
To: spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
Cc: Manjunath A M; davinci-linux-open-source@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [Spca50x-devs] How to increase the packet size (USB)


Le Jeudi 5 Juillet 2007 16:03, Manjunath A M a écrit :
> Hi,
>
> I am using 2.6.20-omap1(montavista) kernel for my TI-DAVINCI based board,I
> am trying to interface USB-webcam to the board using gspcav1-20070508 and
> my application driver is spcaview-20061208.
>
> The problem i am facing is,
> gspca driver needs packet fifo size of 1023 to stream video and give output
> properly. This is happening perfectly with X86(PC- with same 2.6.20-kernel)
> properly but with our TI-DAVINCI based the packet size allocated is only
> 128(after auto negotiating by driver)due to which only half of the vidoe
> window is displayed on the TV
>
>
> I have attached the demsg of both X86 and TI-BOARD..
>
> please suggest me how i can allocate more packet size to ISOC device ep. I
> need to increase packet size to 1024 in kernel musb driver to make my
> driver work properly ( i feel)..
>
> I tried by changing the .maxpacket value to 1023 in
> "drivers/usb/musb/plat_uds.c", it didn't help me.
>
>
>  Thanks in advance
>  Manjunath AM
From the gspca logs it is trying to adapt the alternatesetting and decrease 
maxpacket size as the usb layer answer "nospace left on device", is there 
others usb device on the same usb host controller ? are you sure your 
hardware is usb isochronous capable ? 
-- 
Michel Xhaard
http://mxhaard.free.fr


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs