All of lore.kernel.org
 help / color / mirror / Atom feed
* Guide to USB debugging in Windows?
@ 2013-03-29 15:36 Martin Cracauer
  2013-03-29 20:36 ` Clemens Ladisch
  2013-03-30 16:49 ` PrasannaKumar Muralidharan
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Cracauer @ 2013-03-29 15:36 UTC (permalink / raw)
  To: alsa-devel

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 <cracauer@cons.org>   http://www.cons.org/cracauer/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guide to USB debugging in Windows?
  2013-03-29 15:36 Guide to USB debugging in Windows? Martin Cracauer
@ 2013-03-29 20:36 ` Clemens Ladisch
  2013-03-30 16:49 ` PrasannaKumar Muralidharan
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2013-03-29 20:36 UTC (permalink / raw)
  To: Martin Cracauer; +Cc: alsa-devel

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-usb-core-stack.aspx


Regards,
Clemens

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guide to USB debugging in Windows?
  2013-03-29 15:36 Guide to USB debugging in Windows? Martin Cracauer
  2013-03-29 20:36 ` Clemens Ladisch
@ 2013-03-30 16:49 ` PrasannaKumar Muralidharan
  1 sibling, 0 replies; 3+ messages in thread
From: PrasannaKumar Muralidharan @ 2013-03-30 16:49 UTC (permalink / raw)
  To: Martin Cracauer; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-30 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-29 15:36 Guide to USB debugging in Windows? Martin Cracauer
2013-03-29 20:36 ` Clemens Ladisch
2013-03-30 16:49 ` PrasannaKumar Muralidharan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.