Bill Kearney - 2010-10-07

I'm trying to share a USB audio device.  I have usbip running on an x64 Ubuntu 10.04 machine.  It's sharing the only USB device attached to it, a USB audio dongle.   I can share it from the linux box.  The XP (x86) machine is running inside a Hyper-V virtual machine on a Windows 2008R2 server. 

Here's what the linux box knows about it (I can post more if need be).

usbip_bind_driver -list
List USB devices
- busid 2-2 (0d8c:0103)
         2-2:1.0 -> snd-usb-audio
         2-2:1.1 -> usbip

lsusb -s 2:2
Bus 002 Device 002: ID 0d8c:0103 C-Media Electronics, Inc. Turtle Beach Audio Advantage Micro

This is a cheapie USB sound 'card'.  $12 from Microcenter.  I've used them before and they do a decent job, nothing special. 

When I connect from an XPsp3 machine I see it connect the usbip device making the initial connection.  I can also see the USB Audio device showing up.  I see these when leaving the device manager open (devmgmt.msc).  But as soon as the XP machine attempts to initialize the audio device, BLAM, and immediate BSOD and the VM reboots.  WTF?

In the XP event log it reports an event 1003, category 102 with the following data: 
Error code 10000050, parameter1 82400000, parameter2 00000000, parameter3 f6bd49ba, parameter4 00000000.

I have another XP machine on which to test it.  The device ID reported in Windows is:  USB\VID_0D8C&PID_0103&REV_0010&MI_00.  It did not need drivers as the OS recognized and used it right away.  I verified that all the driver files listed on from the hardware machine were present in the virtual one.   All the same files are present. 

I tried another USB device, this time a flash memory drive.  Works fine.  Comes right up in XP.  I did find it odd, however, that the usbip program stayed running.  It didn't mount the device and quit.  Is this how it's supposed to work?

So is anyone else successfully using a USB audio device across usbip?