Authored by Philip Ries [MSFT]
Last week, at the Microsoft Build Developer Conference-2013, a new Windows Runtime API (Windows.Devices.Usb) was unveiled for Windows 8.1 Preview. Windows Store apps can now use the new API to communicate with USB devices. For more information, see this video.
In this post, I'll provide some instructions that you might find useful while debugging your app. Follow these instructions on the system that is running your app:
echo F849C3C0-E2B0-4FCE-944A-E16EBBB964DC UsbWinRT > UsbWinRT.ctl
echo EF201D1B-4E45-4199-9E9E-74591F447955 WinUsb >> UsbWinRT.ctl
The preceding commands,
The messages shown in Traceview are debug trace statements for the trace providers specified in step 3:
If you are trying to analyze errors originating from the device, it's best to use a USB ETW trace or a hardware bus trace.