From: Alan Stern <[EMAIL PROTECTED]>
> > > I use a program "amload" to upload a firmware image into a ADSL modem
> > > (zyxel 630-11 - based on Alcatel Dynamite chipset). It uses ubsdevfs to
> > > upload the firmware.
> > >
> > > It can upload the firmware (using ep 5).
> > >
> > > Then amload tries to send control messages to the modem (it's the first time
> > > that control messages
> > > are sent).
> > > This is the point where it fails due to a timeout. And so the modem is not
> > > setup properly.
> > >
> > > See attached files for a more complete report.
> >
> >The problems you identified with the usb_xxxtoggle macros have been fixed
> >in more recent kernels. What happens if you try running your program
> >under 2.4.22? Or under 2.6.0?
A distinct possibility is that the modem needs to be reset somehow in order for the new firmware to take effect. If that reset were failing, it could account for what you see.
I've tried to reset all endpoints (0,5 and 7) and rescan the usb bus once the firmware is uploaded and before sending the first control message. But it doesn't solve the problem : I still get the USB control message timeouts.
Could it be possible that the firmware is buggy and that it doesn't understand the fixes included in the later kernels ? (It is working with kernels < 2.4.21-pre4 ).
Mathias Gug
_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel