I am trying to implement the interface to a composite USB device, to which one 
of the interfaces is HID.
the device has a working Windows interface application, so I am trying to match 
my functionality to that.

when I try to do a set report (type output, report ID 4, 2 bytes of data) to 
the HID it does not return an error but the device does not do what it is 
supposed to either.
the windows guy and I captured the packets being transferred from both the 
windows app and my OS X app and compared them.
on windows the report packets are coming down as "control transfer” packets 
(which work).
on OS X the report packets come down as “output report” packets (which do not 
work).

I read some USB documentation that said that report type output set report 
calls will be sent as output report data.
whereas report type feature set report calls will be sent as control calls.
so I tried changing the kIOHIDReporttypeOutput argument on my 
IOHIDDeviceSetReport call to kIOHIDReportTypefeature
but that just returned a pipe stall (404F) error.

can anyone point me in the direction of what might be going wrong or what I 
might try next.

as always, thank you very much, in advance, for any help you might be able to 
give me.


Richard Hood
________________________________ [email protected] ___
Apple Macintosh Software Development
Mac OS X, Cocoa, Carbon, Driver & Kernel Expertise
iPad iOS Development Experience







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to