Re: [linux-usb-devel] at91_udc driver does not forward data received from host if size is less than ep buffer and size %64 == 0

2007-02-22 Thread Jeff Warren
On Thu, 2007-02-22 at 14:27, David Brownell wrote: > On Thursday 22 February 2007 1:35 pm, Jeff Warren wrote: > > > To be honest, I don't know what at91_udc does when it receives a ZLP > > since I can't easily generate one on the Windows host. So maybe it does > &

Re: [linux-usb-devel] at91_udc driver does not forward data received from host if size is less than ep buffer and size %64 == 0

2007-02-22 Thread Jeff Warren
On Thu, 2007-02-22 at 13:03, David Brownell wrote: > On Thursday 22 February 2007 12:51 pm, Jeff Warren wrote: > > On Thu, 2007-02-22 at 12:29, David Brownell wrote: > > > > On Linux, at least, you would set a flag in the URB to say that it must > > > terminated

Re: [linux-usb-devel] at91_udc driver does not forward data received from host if size is less than ep buffer and size %64 == 0

2007-02-22 Thread Jeff Warren
On Thu, 2007-02-22 at 12:29, David Brownell wrote: > On Thursday 22 February 2007 11:07 am, Jeff Warren wrote: > > > So I have changed my host program to check and see if the data size > > being sent to the gadget is divisible by 64 (size % 64 == 0). If it is, > > the

Re: [linux-usb-devel] at91_udc driver does not forward data received from host if size is less than ep buffer and size %64 == 0

2007-02-22 Thread Jeff Warren
s in the conventional manner. Regards, Jeff Warren - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topic

[linux-usb-devel] at91_udc driver does not forward data received from host if size is less than ep buffer and size %64 == 0

2007-02-22 Thread Jeff Warren
l chunk so that the driver will handle it correctly and the data will be processed upon transfer completion. I hate this fix, but it is the only one I can think of, anybody have a better way of fixing this issue? I looked at the driver and could not come

Re: [linux-usb-devel] at91_udc driver questions for the AT91RM9200

2006-02-03 Thread Jeff Warren
On Fri, 2006-02-03 at 13:50, David Brownell wrote: > On Friday 03 February 2006 1:12 pm, Jeff Warren wrote: > > Hey, I just noticed that your reply attributed some of your questions > to me ... please don't do that. The relevant bits I've re-quoted > using "+ &quo

Re: [linux-usb-devel] at91_udc driver questions for the AT91RM9200

2006-02-03 Thread Jeff Warren
On Fri, 2006-02-03 at 11:35, David Brownell wrote: > You might consider upgrading to at least 2.6.15 patches; there have > been a lot of improvements since this time last year. Yes, you are right, I will look at the latest patches. > > > > in the at91_ep_enable function there is code which limit

[linux-usb-devel] at91_udc driver questions for the AT91RM9200

2006-02-03 Thread Jeff Warren
ne urb can hold right? When I look at the function read_fifo in at91_udc.c, from what I read, it will only fill to the maxpacket size even if the buffer size of the urb is larger (I think...). Thank you for looking at this. Regards, Jeff Warren --