> -----Original Message----- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: 2006-Aug-08 15:30 > To: Dave Higton > Cc: USB development list > Subject: RE: [Linux-usb-users] Linux-usb-users > > On Tue, 8 Aug 2006, Dave Higton wrote: > > > > > If I call usb_interrupt_read() with a timeout of 1, on > average about > > > > half of the reads simply fail to return any data, i.e. > the returned > > > > value is -110 despite the device having sent one or more > > > messages. [snip] > > > Are you certain that the device sent one or more messages? > > > Given that the > > > timeout was one frame, how could it have possibly sent > more than one > > > message? > > > > Not one or more messages: zero or one message. Messages are only > > sent when there is a change in state of any of the switches. > > That "one or more" was a direct quote from your previous message.
I agree, but I think the context is a little different. My "one or more" meant that the host misses messages apparently randomly, and sometimes misses two or more consecutive messages. Such missed messages are a minimum of some tens of milliseconds apart. My "zero or one" was in the context of the number of messages that can be sent in a frame, or in the time between calling usb_interrupt_read and the timeout. (Just by way of a clarification of what I meant; I'm not picking an argument with you!) Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel