On Sat, Aug 15, 2009 at 04:20:57PM -0700, Robin Callender wrote: > This patch applies to the USB Gadget Audio driver, g_audio.ko. > > The fixes include -- > * driver bind and unbind processing > * several configuration structs were incomplete or not packed. > > The additions include ... > * Endpoint ControlSelector support added: handles Sample_Freq. > * USB_DT_AC_FEATURE_UNIT_SIZE() macro handles different element sizes. > > > With these changes I was able to get the USB Gadget Audio driver to pass > audio playback (speaker) from a WindowXP laptop running WMP-11 to a set > of USB-speakers on a Linux (ubuntu) system via the g_audio + net2280 udc driver. > > Below shows a simple line diagram of this test configuration. > > [WMP-11] --usb--> [g_audio + net2280] --/dev/snd/pcmC0D0p--> [ALSA] --usb--> USB-speakers > [--WindowsXP---][--------------------- Ubuntu (9.04) Linux ---------------][----hw device---] > > > Signed-off-by: Robin Callender <robin_callender@xxxxxxxxxxx> > > > diff -uprN linux-2.6.30.4.orig/drivers/usb/gadget/audio.c linux-2.6.30.4/drivers/usb/gadget/audio.c Can you diff this against the linux-next tree? Lots has happened to the audio.c driver in there, and this patch doesn't apply at all. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html