Need a assistance in getting USB information using DriverKit Extension

I want to get the information of USB like, USB name, size, VID, PID, etc using DriverKit Extension but I'm facing difficulty finding such references or Sample code for the same. Please help me with the Sample code to get USB info with the help of Dext.

Thanks

Replies

I want to get the information of USB like, USB name, size, VID, PID, etc using DriverKit Extension

I’d like to clarify your goals here. Let’s start with something simple: What platform are you targeting?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I'm targeting MacOS platform and need to have control over USB and PCI devices using the drivers we are going to build, using these drivers we need to fetch the USB/PCI devices information. PCIDriverKit and SCSIPeriferalDriverKit are the frameworks going to be used.

I'm mainly looking for PCs device drivers to get the PCI info with PCIDriverKit framework on MacOS platform. Any updates?

  • Have you tried IORegistryExplorer? If all the information you need is there, you won't need DriverKit to extract it.

Add a Comment

Any updates on this?