libusb-win32 kernel interface passthrough for composite device
Raymond Bian <[email protected]> Fri, 28 Jun 2024 12:46:33 -0700
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CACKfYpTkCtYQn5pbhTwnVm-3AuVJxhrnqaaFCOEsMGgGbbM1cQ@mail.gmail.com> |
--===============8896784113322161358== Content-Type: multipart/alternative; boundary="000000000000cca3ca061bf8817a" --000000000000cca3ca061bf8817a Content-Type: text/plain; charset="UTF-8" Hello, I'm looking to write a Windows driver/achieve similar functionality using libusb-win32 for the Apple iPad. I wish to achieve the following with the driver: 1. The driver should be able to send vendor-specific control messages to the device (to expose a CDC NCM interface in a new configuration). 2. The driver should be able to set the device's USB configuration (to this new configuration). 3. The driver should pass through the PTP and Apple USBMUX interfaces to their appropriate (and default) drivers. 4. The driver should configure and present the NCM Data and NCM Control interfaces as a Windows Network Adapter. From these requirements, I'm thinking that this driver will have a similar role as the Windows Generic Parent Driver. My questions are: 1. Is the "passthrough" of interfaces possible with the libusb-win32 kernel driver? Or will I have to write my own? 2. Windows recently added support for UMDF NetAdapterCx drivers. Would a driver like that be able to communicate with libusb's kernel driver? Or would it have to be bundled within the kernel driver itself? Thanks in advance --000000000000cca3ca061bf8817a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"> Hello, I'm looking to write a Windows driver/achieve similar functionality usi= ng libusb-win32 for the Apple iPad. I wish to achieve the following with th= e driver:</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">1. The driver sh= ould be able to send vendor-specific control messages to the device (to exp= ose a CDC NCM interface in a new configuration).=C2=A0</div><div dir=3D"ltr= ">2. The driver should be able to set the device's USB configuration (t= o this new configuration).=C2=A0</div><div dir=3D"ltr">3. The driver should= pass through the PTP and Apple USBMUX interfaces to their appropriate (and= default) drivers.=C2=A0</div><div dir=3D"ltr">4. The driver should configu= re and present the NCM Data and NCM Control interfaces as a Windows Network= Adapter.=C2=A0</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">From these= requirements, I'm thinking that this driver will have a similar role a= s the Windows Generic Parent Driver. My questions are:=C2=A0</div><div dir= =3D"ltr"><br></div><div dir=3D"ltr">1. Is the "passthrough" of in= terfaces possible with the libusb-win32 kernel driver? Or will I have to wr= ite my own?<br></div><div>2. Windows recently added support for UMDF NetAda= pterCx drivers. Would a driver like that be able to communicate with libusb= 's kernel driver? Or would it have to be bundled within the kernel driv= er itself?</div><div><br></div><div>Thanks in advance<br></div></div> --000000000000cca3ca061bf8817a-- --===============8896784113322161358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8896784113322161358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Libusb-win32-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel --===============8896784113322161358==--