Hi, On Thu, 6 Jan 2005, Ian Campbell wrote: > When I tried it I found that DEFAULT_FMINTERVAL wasn't defined anywhere, > I tried setting FI=11999,FSMPS=0 as that was what the docs said the > default was but that didn't work.
FI is the number of bit times in a frame, i.e., 11999 bit times in 1 ms result in 12Mbit/s transfer rate. FSMPS shows during how many bit times in the frame the usb transfers are allowed. If it is set to 0, no transfers can happen. > I found that the old 2.4 driver I was using (bingo, and probably its > predecessors) set FSMPS to: > ((FI - 210) * 6) / 7 > which seems to work, although I haven't a clue what it means :-(. The > datasheet says FSMPS is calculated by the HCD so I am slightly surprised > I needed to write anything at all. I guess you have a definition of > DEFAULT_FMINTERVAL that I don't. Did you get the driver running under something newer than 2.6.9? Is it 2.6.10? I wrote the driver on 2.6.9. There the definition is present. Had no time yet to port it to 2.6.10. > I also copied the sw reset logic from the 2.4 driver, with the current > sw reset I see a hang shortly after the usbstorage driver is finished > initialising but with this change everything is OK. Thanks for the sw reset code. It works also here. I have used hardware reset until now. > BTW I also remember reading that lowercase is frowned on in CONFIG > options. Yeah, fixed this. Thank you for the feedback! Good to hear you got it running. Olav ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel