Re: Question r/e zero byte bulk transfer on musb gadget (causes kernel panic)

2014-11-03 Thread Breton M. Saunders
On 01/11/2014 15:05, Alan Stern wrote: On Sat, 1 Nov 2014, Breton M. Saunders wrote: This is required behavior, for example, during the data phase of a bulk-only mass-storage transfer. The specification states that under certain circumstances, the device _must_ send a zero-length packet on

Re: Question r/e zero byte bulk transfer on musb gadget (causes kernel panic)

2014-11-01 Thread Breton M. Saunders
On 31/10/14 14:23, Alan Stern wrote: On Fri, 31 Oct 2014, Peter Stuge wrote: Breton M. Saunders wrote: Are zero length transfers from a device to the PC on a bulk endpoint sensible? I don't see how they could be. If the device has no data to send it responds with a NAK handshake. I

Question r/e zero byte bulk transfer on musb gadget (causes kernel panic)

2014-10-30 Thread Breton M. Saunders
Hi All, I want to ask what the correct USB behavior should be for a gadget attempting to perform a zero byte transfer (note transfer, not transaction) on a bulk-in endpoint should be: Background: * Basically I've got a hacked up kernel; hardware is TI omap dm3730 (an overo gumstix bo

Re: Help r/e gadgetfs bulk xfer problem on Overo gumstix

2013-07-18 Thread Breton M. Saunders
Alan, Thanks for your advice, I believe I had a stupid coding error. Things are working now. Cheers, -Brett On 18/07/13 15:13, Alan Stern wrote: On Thu, 18 Jul 2013, Breton M. Saunders wrote: All, I'm running into problems with the gadgetfs usb.c bulk transport ex

Help r/e gadgetfs bulk xfer problem on Overo gumstix

2013-07-18 Thread Breton M. Saunders
All, I'm running into problems with the gadgetfs usb.c bulk transport example, and am looking for some advice as to how to approach this problem. I am using the source code found at http://www.linux-usb.org/gadget/usb.c, which I compile for an overo gumstix board. Basically, I use a