[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-31 Thread Pat LaVarre
> > Yes on paper the 1999 Sep 31 BOT 1.0 (aka BBB = command/ data/ > > status by bulk/ bulk/ bulk) allows stall-free device, provided such > > a device reports accurate dCSWDataResidue. > > My current patch only does this for successful commands which return > short data (such as Mode Sense). But

[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-29 Thread Julian Back
Pat LaVarre wrote: Sorry the GUI here sent that last reply from me prematurely. Continuing now from where I left off: I've also added an option to the mass storage gadget to pad out short replies rather than sending the short reply and stalling (this seems to be a valid alternative according

[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-28 Thread Pat LaVarre
Sorry the GUI here sent that last reply from me prematurely. Continuing now from where I left off: > > > I've also added an option to the mass storage gadget to pad out short > > > replies rather than sending the short reply and stalling (this seems > > > to be a valid alternative according to th

[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-28 Thread Pat LaVarre
> > The problem is that the hardware is (again) trying to be too clever. I > > set a bit in a register to stall an endpoint. The hardware also has an > > internal stall bit for each endpoint (not accessible to software). When > > the host attempts a transaction on an endpoint the hardware che