On Thu, 2005-01-06 at 19:31 +0200, Olav Kongas wrote: > 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 understood that, but the isp116x datasheet says that FSMPS is calculated by the HCD, which I took to mean the hardware but I guess must have meant the driver. > > 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. Yes, it's 2.6.10, it looks to me as if the FmInterval stuff is the only thing that needs changing. > Thank you for the feedback! Good to hear you got it running. Thanks again for the driver! Ian. -- Ian Campbell ------------------------------------------------------- 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