Hi all ,
I have been trying to communicate with my device in my Big Sur, I am able to open IOUSBHostDevice in start function , But not getting Interface(IOUSBHostInterface),
IOUSBHostDevice ::CreateInterfaceIterator();
is returning Null value, Unable to use getchildIterator().
Any Help is appreciated
I have been trying to communicate with my device in my Big Sur, I am able to open IOUSBHostDevice in start function , But not getting Interface(IOUSBHostInterface),
IOUSBHostDevice ::CreateInterfaceIterator();
is returning Null value, Unable to use getchildIterator().
Any Help is appreciated
Interfaces are created when the device is configured. If you're matching on an IOUSBHostDevice you'll likely need to configure the device from your driver which will, in turn, create the interfaces. If you only require working with interfaces and you have a composite device (class/sub-class = 0) or interface association device (class = 239, sub-class = 2, protocol = 1) consider matching on the IOUSBHostInterface instead and allowing the Apple provided (AppleUSBHostCompositeDevice) driver to configure the device.