Re: [PATCH 14/16] USB: Add usbfs ioctl to get the frame number

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sat, May 12, 2007 at 12:44:38AM -0700, Pete Zaitcev wrote:
> On Fri, 11 May 2007 23:23:18 -0700, Greg KH <[email protected]> wrote:
> 
> > I thought that you needed to do something with this value pretty
> > quickly, and that by the time you were able to send something back into
> > the kernel, the value would be not correct anymore.  But if this is
> > really just like a timestamp, then ok, I have no objection other than it
> > needs to be correct for all host controllers.
> 
> Greg, I'm sorry if I'm wrong, but it looks you missed the funny part.
> Danny's device remembers the value that HC circulated in the SOF frame.
> It then supplies that value alongside some data it returns. By reading
> the "current" frame number from HC, Danny's application can tell
> how many frames back, approximately, these data were generated
> (this is not the time when it was transferred across USB).

Ah, yeah, I missed that.

If Alan fixes up the hcds, I'll take the patch.

thanks,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.