Thanks for the help,
Set bmCapabilities field (4th byte) to 0x03
Re: CDC device with 2 interfaces - Apple Mailing Lists
I tried this but i got the exact same behavior.
Did you see "A new network interface has been detected" dialog on the Mac?
Did you push "cancel" button on the dialog?
If you would push "Network Preferences..." button on the dialog, OS grabs the device.
I don't get any dialog of any kind. I get the /dev/tty.usbmodem1 device, but they don't clean-up when de device is removed, and they keep stacking (usbmodem2, 3, 4...). If I try to access the devices the CPU goes crasy and I have to restart my MAC.
In the dmg of Mac OS X USB Debug kit, you'll see two install packages.
Install this one with -log
And then, USBProber.app puts debug messages to USB Logger pane.
Thanks ! that's much better. But I still get very litte information related to AppleUSBCDC driver. Most messages are from upper USB layers.
Plus the messages in the USB Prober Log doesn't include the ones I see in dmesg (ALTERT from driver). And none from the XTRACE from the driver sources. Is there something else to do to turn them on ?
All messages are just status like this, no real error message:
4.364  Finding device driver for Peripheral module, matching personality using com.apple.driver.AppleUSBCDC, score: 69000, wildCard = 0
4.955  Finding driver for interface #0 of Peripheral module, matching personality using com.apple.driver.AppleUSBCDCACMControl, score: 50000, wildCard = 0
5.165  Finding driver for interface #1 of Peripheral module, matching personality using com.apple.driver.AppleUSBCDCACMData, score: 50000, wildCard = 0
5.398  Finding driver for interface #1 of Peripheral module, matching personality using com.apple.driver.AppleUSBCDCECMData, score: 50000, wildCard = 0