The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Hello. I am developing a multi-interface device and several applications meant to communicate using libusb. Since there are multiple interfaces and the different apps need to communicate with different interfaces concurrently, I need to use libusbK (perhaps libusb0 would work too, I don't know. But WinUSB doesn't support that)
WCID allows me to ask for the pairing of particular interfaces with a Windows driver. However, I don't see a way to ask it to pair a Windows driver with the composite parent. After all, the Windows extended compatibility descriptor has an interface number in it ! Pairing all interfaces also doesn't automatically pair the parent. Unfortunately, having the composite parent paired to libusbK is exactly what you need to have libusb communicate with the device, and by default it's paired to usbccgp.
I may be able to use libwdi to make the pairing (after all, Zadig can) - it will need to install libusbK if not installed yet anyway - but I figure the cleanest option would be to have the device ask rather than rely on a software solution that will have to ask the user to give it the rights to proceed... So, is it possible to use WCID with the composite parent of a multi-interface device ? And if so, how ?
Thanks, J. Bernard.
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||12 September 2022||Live, Online|
|Internals & Software Drivers||23 October 2022||Live, Online|
|Kernel Debugging||14 November 2022||Live, Online|
|Developing Minifilters||5 December 2022||Live, Online|