Re: [Spca50x-devs] About " How to increase the packet size (USB)"
- Date: Mon, 19 Nov 2007 09:06:59 +0530
- From: "Manjunatha AM" <manjunatham@xxxxxxxxxxxxxxx>
- Subject: Re: [Spca50x-devs] About " How to increase the packet size (USB)"
static struct fifo_cfg __initdata mode_2_cfg[] = {
{ .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 256, .mode = BUF_DOUBLE,},
{ .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 256, .mode = BUF_DOUBLE, },
{ .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, },
{ .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, },
{ .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 1024,},
{ .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, },
};
-----Original Message-----Hi,
From: kashin Lin [mailto:kashin08@xxxxxxxxx]
Sent: Saturday, November 17, 2007 12:18 AM
To: manjunatham@xxxxxxxxxxxxxxx
Subject: About "[Spca50x-devs] How to increase the packet size (USB)"
i seen your posts on the mailinglist regarding using webcam on Davinci EVM.
( http://linux.omap.com/pipermail/davinci-linux-open-source/2007-July/003602.html )
and i think the problem i encounter is the same as yours. so i send this mail for more
help.
i use 2.6.23(montavista) kernel for my TI-DAVINCI based board, gspcav1-20070508 as my
webcam driver and spcaview-20061208 as the application to test. i got -ENOSPC when submit
urb, so it seems FIFO size isn't big enough.
i wonder how you reslove it? how to increase the FIFO size?
i am not familiar with the usb host controller driver. can you show me detail to achieve it?
p.s. currently, i change ".maxpacket" in fifo mode 2 of ep1 & ep2 RX from 512 -> 1024.
and the ENOSPC error msg disappear but i got " Couldnt get videopict params with VIDIOCGPICT"
when i use spcaview...
so i think the way i change FIFO size is wrong... so i really need your help.
Thanks in advance
Best regard,
kashin lin
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Spca50x-devs mailing list Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/spca50x-devs
- Prev by Date: [Spca50x-devs] ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
- Next by Date: [Spca50x-devs] sn9c201 support again (still?)
- Previous by thread: [Spca50x-devs] vc0323 webcam progress
- Next by thread: Re: [Spca50x-devs] About " How to increase the packet size (USB)"
- Index(es):