From: ur_soft precision data solutions <email@hidden>
Date: Tue, 2 Aug 2005 19:05:02 +0200
Delivered-to: email@hidden
Delivered-to: email@hidden
Hi,
I'm new in the USB world willing to control a custom USB device from
user space.
I followed the "HID Manager Basics" and "USBSimple" examples and
installed USB Prober including logging (MaxOS X 10.3.9). I guess I also
read the relevant (updated) documentation.
I've learned from that, that the AppleUSBComposite driver matches
against and configures the device, sets the default configuration and
creates the IORegistry nubs corresponding to the driver, the HID
interface and the 2 endpoints (interrupt IN and interrupt OUT).
In my code I can enumerate device and interface, but can only open the
device, not the HID interface. So far I'm fine.
But how can I finally send/receive data to/from the endpoints? Besides
(*hidDeviceInterface)->get/setElementValue(...)I found the
IOHIDOutputTransactionInterface in the IOHIDLib.h, but no sufficient
documentation how to work with it.
Is my approach correct? Any hint or suggestion welcome, thanks.
Ulrich
_______________________________________________
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