Greg KH wrote: > On Sat, Oct 20, 2001 at 08:48:58AM +0200, Juergen Stuber wrote: > > No, but from a captured log under W98 I figured that it basically > > sends/receives the data as is on the IR Port, but only once. > > I see urbs with exactly the data that should be sent/received according > > to the protocol for the Mindstorms RCX going up/down. One curious thing > > is that the Windows URBs may hold packets larger than the 8 byte limit. > > Inside the tower is a seemingly well-known chip (I don't know it though), > > thanks to David Wegmuller for pointing it out: > > So, the protocol is just sending the "normal" serial data across the > interrupt endpoints?
Yes. > If so, a simple usb-serial driver should be able to do the trick. I looked at that as the first option, but that would need a modification of the serial driver framework to be able to use interrupt endpoints instead of bulk endpoints, or am I missing something? Would you do that modification? > That way you don't have to change any older userspace programs that are > expecting to talk to a serial port, That's not a big problem, it seems they need to be changed anyway for the windows version to work, and the change is minor. > and you don't have to worry about registering a minor number for your driver. That'd be nice. Jürgen -- Jürgen Stuber <[EMAIL PROTECTED]> http://www.loria.fr/~stuber/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel