Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
 
Timothy Desrochers
Software Development Manager
PASCO scientific
email@hidden
(916) 786-3800 x323
 
 _______________________________________________
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



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.