KEXT to DEXT:Unable to getInterface of my IOUSBHostDevice

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
IOUserUSBSerial is going to expect a USB interface for your provider, not a device. This is most likely why your initialization is failing. Instead of opening the interface and making a device request, leave the interface as you find it without opening it, and use it in your call to Start instead of "provider." That should significantly change things, so let me know what it looks like after you do that.
Hi Drebadour ,

Since I am passing interface to IOUserUSBSerial , I am able to work with my device now thanks a lot , your support is invaluable.
KEXT to DEXT:Unable to getInterface of my IOUSBHostDevice
 
 
Q