Messages in this thread | | | From | Anssi Hannula <> | Subject | Re: [REGRESSION] "USB: use kfifo to buffer usb-generic serial writes" causes gobi_loader to hang | Date | Mon, 22 Feb 2010 01:06:36 +0200 |
| |
On maanantai 22 helmikuu 2010 00:12:36 Oliver Neukum wrote: > Am Sonntag, 21. Februar 2010 22:42:12 schrieb Anssi Hannula: > > And of course this doesn't explain why it hangs (and the WARNING) if I > > remove the sleep calls I added in gobi_loader. > > Please tell us where you put a delay.
As I said earlier, the delay was put *before* most of the data gets written.
More specifically, I inserted a delay of one second between transmission of magic1 and magic2, one between magic2 and magic3, and one between magic3 and the first firmware file.
If I additionally insert a one-second delay before the fd is closed, I get this usbmon log: http://stuff.onse.fi/gobi2000/gobi-regression5.mon.log
The firmware upload is still unsuccessful.
-- Anssi Hannula
| |