On Thu, 13 May 2004, Patrick Boettcher wrote: > On Thu, 13 May 2004, Alan Stern wrote: > > No, your use of usb_sndctrlpipe is correct. > > That's good to hear ... > > > However without seeing more of the context, it's impossible to say whether > > your use of fw and b is correct. This sort of error might occur if you > > pass an invalid address, for example. Also, you have the kernel trusting > > the value in b[1]; you should check to make sure it's in the correct > > range. > > Yes, you're right, but before spamming the ML with detailed code, my first > try is always smaller. Past shows, that my problems mostly caused by easy > mistakes. > This time I attached my source file (vp7041.c) and the fwloader > written by Peter Schildmann (vp7041fwload.c). > > Thanks for your help, > Patrick
I can't tell you what's wrong with this. All I can suggest is to add a lot more testing and debugging messages just to make sure that it's nothing stupid... Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
