Re: Libusbk for Window 10 signing
Børge Strand-Bergesen <[email protected]> Mon, 5 Oct 2015 06:37:35 +0200
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAE9Na6G8HLfZGJXV2rXMEcg+Ygr9wJmKMuceNkXkgePppjLWVg@mail.gmail.com> |
Hi Dave, while I can't point you to a source I can at least tell you how I share your pain, and share my own insight. The Audio Widget project has an open source ASIO driver based on libusbK. It works like a charm. Let me know and I'll point you to this User Mode code. MS offer of closed source audio drivers example code. It will tell the OS "hey, I'm a sound card" and accept audio. None of them send the audio out over UAC2. Because of licensing, the MS example code can't yet be taken practically into the open and expanded into a UAC2 driver. In order to get anywhere I see two options: 1) This is already done by a few entities: Make a virtual sound card, push the audio back into User Mode, run a service to forward it to ASIO drivers. 2) This is considered very hard and closed source: Write kernel-mode code which combines low-level USB access (in your case WinUSB), MS audio driver example code and UAC2 flowcharts (inspired by the Audio Widget ASIO driver). In the ASIO driver there is an .h file from Steinberg which isn't distributed. Instead, there is a place holder and instructions on how to obtain the file. The same could maybe be done with the MS examples needed, assuming they wouldn't need much rewriting, or could (legally) be patched. Don't let the cost of signing scare you off. As long as there are test certificates available for evaluation, I'm sure production certificates can be crowd sourced. You're far from the only guy to bring up this problem. Unfortunately, talking to MS about it is about as productive as talking to a tree. All the best, Børge On Mon, Oct 5, 2015 at 2:52 AM, Dave <[email protected]> wrote: > Travis wrote regarding WinUSB: > > You can even add things to you USB descriptor which identifies it as a > "winusb" device and eliminate the need for a driver installer all-together. > > I recently experimented with this on an XMOS-based implementation if a > USB-I2S adapter supporting USB Audio 2 and isosynchronous transfers. I hoped > to replace the Thesycon drivers normally used with XMOS adapters with WinUSB > on Windows 10. (Microsoft claims to support isosynchronous transfers under > Windows 8.1 and Windows 10 using WinUSB.) I added a Windows Compatible ID to > the device's firmware and successfully got the adapter to be recognized as a > WinUSB device when it was plugged in, but the OS did not bother to expose > any of the audio interfaces. It looks as if one still must have a layer > above WinUSB to support USB Audio 2. > > I wonder if anyone can point me to a source of information on using WinUSB > for audio 2. I have not been able to find anything on Microsoft's developer > sites. It seems Microsoft is still lagging behind Linux and OS-X in its > audio support. > > Best regards, > > Dave > > From: Travis <libusbdotnet@gm...> - 2015-08-10 14:58:09 > > Greetings, > > LibusbK is already signed with a DigiCert High Assurance EV Root CA. > > At some point, I would like to add the WinUSB ISO support to the libusbK > library and let it become our "primary" driver. There is little > advantage to using libusbK.sys compares to the newer WinUsb.sys with ISO > support. > > That said, nothing is going to stop working. Even if we support WinUSB > ISO, we will not throw libusbK.sys away. I would expect most all users > to WANT to transition to the winusb driver. There are some big > advantage because it is essentially a built-in windows driver for custom > usb devices. You can even add things to you USB descriptor which > identifies it as a "winusb" device and eliminate the need for a driver > installer all-together. > > Regards, > Travis > > > ------------------------------------------------------------------------------ > _______________________________________________ > Libusb-win32-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel ------------------------------------------------------------------------------ _______________________________________________ Libusb-win32-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel