[alsa-devel] Guide to USB debugging in Windows?
Does anyone have instructions on how to use a USB traffic monitor on windows to extract some bits needed to control a sound device under ALSA? As in, for people not normally developing in windows?
I have here a Sound Devices USBPre v1. It is mostly USB 1.1 sound interface compatible and it accepts a stream played from ALSA under Linux just fine. The problem is that the manufacturer has decided to, in addition to the standard usb sound interface, have all the different inputs on the device behind on/off switches, all of them controlled by secret bits in the windows and mac drivers, all of them default to off. So thingie is a brick as-is. I don't blame them too hard, they now make a v2 of this devices and fixed it.
Just so that I don't appear more insane than usual, let me say why I want to bother.
The windows drivers for this are only available in 32 bit, and the mac drivers are 32 bit only as well, in addition the mac drivers never went > 16bit/48KHz. The inability to use this on modern macs and windows machines has pushed the price of these things very low on Ebay, considering it is a fully professional device with the best mic preamps you can get. If would be really cool if this could work under ALSA, and as you see I figured it needs just a couple of bits that you need to flip with some magic to at least get it to run up to 16bit/48KHz.
Martin
Martin Cracauer wrote:
Does anyone have instructions on how to use a USB traffic monitor on windows to extract some bits needed to control a sound device under ALSA?
http://blogs.msdn.com/b/usbcoreblog/archive/2009/12/04/etw-in-the-windows-7-...
Regards, Clemens
Install WIn 7 in a VM (Linux host), attach the USB device to it (qemu, Virtualbox, VMWare support this). You can snoop USB traffic using usbmon in Linux. You can use wireshark for getting the data flowing in the device.
Hope this helps, PrasannaKumar
participants (3)
-
Clemens Ladisch
-
Martin Cracauer
-
PrasannaKumar Muralidharan