Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
userland access to IOUSBDeviceInterface for HID device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

userland access to IOUSBDeviceInterface for HID device



Is there any way (from user space, of course), to access the
IOUSBDeviceInterface for a device currently controlled by the HID manager?

Here's the background. Our application wants to control a device based on a
Cypress FX-2 chip with on-board firmware. When the device boots up, it
presents itself as a HID device.

Our application wants to load new firmware into RAM on this device. (by
sending the Cypress vendor-specific device firmware upload request). Once it
has the new firmware, it would Re-enumerate (a virtual unplug/replug cycle)
and come up as a vendor-specific device which we would control.

Currently, the only way I can see to get this to work is to install a
codeless kext which makes the device uninteresting to the HID manager.
However, the user experience is not good if the device was already plugged
in when our application starts, because then the kext is installed too late
to prevent the HID manager from grabbing it.

Does anyone know an elegant solution to this?

Stuart



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

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 © 2011 Apple Inc. All rights reserved.