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: question for HID access



Hi Philip,

You will actually have to use the HID Manager instead of the USB lib to access the device. The following web page should give you a quick run down as to how to interact with the HID Manager:

http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/ intro/chapter_1_section_1.html#//apple_ref/doc/uid/TP40000970-CH202

The IOKit/hid/IOHIDLib.h header is also a good place to look.

Since you are dealing with Interrupt reports, you will want to focus on using IOHIDDeviceInterface::setInterruptReportHandler.

- Rob

On Oct 25, 2005, at 12:18 PM, Philip Lukidis wrote:

I've since found docs on Apple's site, and have cobbled together some code
to open my device interface. Unfortunately, it seems that somebody has
already opened the interface, and enforced exclusive access.


Does this mean that I have to write a codeless kext? If so, what are the
drawbacks with this approach? If anybody could provide some insight, I
would appreciate it.


thanks,

Philip Lukidis

-----Original Message-----
From: Philip Lukidis
Sent: Monday, October 24, 2005 9:38 AM
To: email@hidden
Subject: question for HID access


Hello. I'm relatively new to MacOSX. I have a composite USB device, which
has several HID interfaces. I need to poll getReport for one or more of the
interfaces, which have interrupt endpoints. For Windows this was really
easy; all I had to do was make a USB filter driver, which would intercept
the getReport data on the way up the USB stack.


How should I approach this problem on MacOSX? I need to support 10.3.0 and
up.


thanks for any ideas,

Philip Lukidis
 _______________________________________________
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

_______________________________________________ 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: question for HID access (From: Philip Lukidis <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.