Rock on, i'll work with it this weekend. Have we committed this into sourceforge?
I've been a bit swamped with work and haven't had much time to even look at my mindstorms set let alone work on code; however, I have a machine ready as a test bed and i'll start debugging. Have a good Vacation. -Brendan On Fri, 19 Oct 2001, Juergen Stuber wrote: > Hi, > > since there is no way to do interrupt transfers from user space > I wrote a kernel driver for the LEGO USB Tower last weekend and > am now trying to debug it, currently with mixed success. > Loading/unloading, probing, and open/release seem to work ok, > but read and write don't. > To be more precise, it sends data left in an URB over and over > even though I set available_length to 0, and receiving data > doesn't work either. I guess I don't understand the way to > handle URBs in callbacks well enough. > > The minor device number and the ioctl for configuration changes > are also currently not officially allocated. > > I'm going off for a week tomorrow and can't work on it in > the meantime (maybe I can at least read a little email), > so feel free to hack away at it. > > The patch follows, it is against linux-2.4.10-ac12 but should > patch easily into newer kernels. > > Happy hacking > > Jürgen > > -- _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel