Thread-topic: Finding Interfaces on Dev. Trans. Kit
I am testing my
PPC-Carbon-CFM app which uses a PPC-Mach-O bundle for USB access on my
just-arrived Developer Transition Kit. Impressively, the app installed, ran,
detected our USB device, and completed all requests to endpoint
0.
I was not able to
access endpoint 2 (bulk in), however, because my interface
iterator can't find any interfaces for my device. I create the iterator
with all request fields set to kIOUSBFindInterfaceDontCare. The
CreateInterfaceIterator call completes without error. My device has only one
interface which has a single bulk-in endpoint.
USBProber shows the
correct device and interface descriptors. My calls to GetNumberOfConfigurations,
GetConfigurationDescriptorPtr, and SetConfiguration all complete without
error.
Is there something
particular about the Intel Mac OS with regard to finding interfaces from PPC
code? I was surprised to see the failure occur at this point. I expected
byte-swapping failures in my endpoint 0 handling, but have found no problems
there.
_______________________________________________
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