Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Usb Digest, Vol 2, Issue 225



Hi Mr.Ferguson,
    Thanks,I get it.
     But I have another problem.That is,
As you know,On application layer when we start
isoch reading we should create an event source
and add it to current RunLoop. When event comes
our callback function will be invoked.Is it the same
 in KEXT. If not, then how to do it.
   Thanks & Best regards.

Vimicro Corporation
email@hidden





Message: 3
Date: Mon, 10 Oct 2005 08:16:08 -0700
From: David Ferguson <email@hidden>
Subject: Re: How to issue usb isoch request in KEXT?
To: email@hidden
Message-ID: <p0602040ebf70358f649b@[17.206.37.158]>
Content-Type: text/plain; charset="us-ascii"

At 5:27 PM +0800 10/10/05, Gordon wrote:
>Hi all,
>   I met a problem that I can't issue usb isoch request in KEXT.
>That is, the way  issue isoch request  is :
>     result = fIsoPipe->Read(fIsoMDP, frameStart,  MAX_FRAME,  frameList,
>&completion);
>IOUSBIsocPipe*           fIsoPipe
>IOMemoryDescriptor*  fIsoMDP
>UInt64                             frameStart      //bus frame number
>... ...
>The problem is How can I get the bus frame number in KEXT
>

Try something like this:

frameStart = fOwner->GetDevice()->GetBus()->GetFrameNumber();

of course you will probably want to start at some frame in the
future, so add 1 or 2 frames to that number.

David Ferguson
USB Software Team
Apple Computer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.apple.com/mailman/private/usb/attachments/20051010/43c67849/attachment.html








Vimicro Corporation
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.