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: Read HID device's interrupt input in Mac OS X 10.2




David,

Thank you for reply me so soon. I try to use a code-less kext to match my device, it works great! I can read from the interrupt pipe in OS 10.2 now, thank you so much!

Best regards,
Beth



David Ferguson <email@hidden>

2005-04-14 01:07

To
email@hidden
cc
email@hidden
Subject
Re: Read HID device's interrupt input in Mac OS X 10.2





Beth,

We would really encourage you to fix the firmware in your device.   UPS support is provided in MacOS X for Power Class devices.  These are just hid devices with  specific power-class usages, so the entire effort is to just create the hid report descriptor, then the OS will do the right thing!   You can download the PowerClass spec from http://www.usb.org/developers/devclass_docs#approved

Otherwise you might look at using a code-less kext to cause the HID driver not to match your device, then just create a user-client application to read from the interrupt pipe.  That seems like such a hack.    Do the right thing -- be class compliant!!

Regards,

David Ferguson
USB Software Team
Apple Computer



At 6:22 PM +0800 4/13/05, email@hidden wrote:
Hi,

 I am a novice of Mac. I'm working on an HID device. My device defines as Usage page (Generic Desktop Control) and Usage (Game pad),but it actually is an UPS device.  All input data come in via an interruptPipe(End Point 1). I must receive all  the input data in my program.
It's OK to receive data by using the setInterruptReportHandlerCallback method in OS 10.3. But this method only works under 10.3.x and upper version OS. How can I read HID device raw reports under Mac OS 10.2 ? Any kind of help is appreciated.


Thanks,
Beth


_______________________________________________
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: 
 >Re: Read HID device's interrupt input in Mac OS X 10.2 (From: David Ferguson <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.