Hi,
I have a usb composite device with multiple interfaces that support cdc-acm UARTs.
My custom driver (.dext) loads and works for single channel usb-cdcccm device with these entries in the info.plist:
bInterfaceNumber
1
But there is no option to define multiple "bInterfaceNumber" key.
I tried bInterfaceClass also, as given below, but no success.
Option-1:
bInterfaceClass
10
bInterfaceSubClass
0
bInterfaceProtocol
0
Option-2:
bInterfaceClass
10
bInterfaceSubClass
0
bInterfaceProtocol
0
Both the above options yield no result.
But as I said in the beginning:
<key>IOProviderClass</key>
<string>IOUSBHostInterface</string>
<key>IOClass</key>
<string>IOUserSerial</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
<key>IOUserClass</key>
<string>MyDriver</string>
<key>IOUserServerName</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>idVendor</key>
<integer>VENDORID</integer>
<key>idProduct</key>
<integer>PRODUCTID</integer>
<key>bInterfaceNumber</key>
<integer>1</integer>
<key>bConfigurationValue</key>
<integer>1</integer>
"MyDriver" loads for interface-1 and works fine. The default AppleCDCACM driver loads for the 2nd channel. I want the same driver load for both the channels.
Any help/suggestions \is very much appreciated.
Thank you.
Topic:
App & System Services
SubTopic:
Drivers