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 polling



The HID driver will always have a read pending on an interrupt pipe. A synchronous function will only return when the device returns data. An async function will only call the completion when the data is returned. Of course, both can return if the pipe is aborted or reset.

The Keyboard on the Macbook is just a standard USB HID device.

David Ferguson
USB Software Team


On Oct 24, 2006, at 11:57 AM, Arvind Dalvi wrote:

hello,

as stated in the USB specification, a device cannot send data unless
the host/driver asks for it.
does that mean, to implement a USB keyboard driver, i have to poll
using some sort of loop, or timer event ?

does Apple uses a special technique on their integrated keyboard for Macbook ?

thanks,
a.d.
_______________________________________________
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

_______________________________________________ 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
References: 
 >USB polling (From: "Arvind Dalvi" <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.