g_audio audio gadget

   Has anybody had any luck getting g_audio working on the beagle?
I'm trying to use the beagleboard as a USB audio device, rather than

Currently, I can get the g_audio module to compile, and load properly,
but when I actually try to connect to a host, I get a kernel oops.

I'll post more details if anybody's interested :slight_smile:


Did you get this to work in the end?
I’m currently trying to achieve the same with a BeagleBoneBlack, alas without success:

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 armv7l GNU/Linux
root@beaglebone:~# modprobe -vv g_audio
insmod /lib/modules/3.8.13/kernel/drivers/usb/gadget/g_audio.ko
libkmod: INFO libkmod/libkmod-module.c:829 kmod_module_insert_module: Failed to insert module ‘/lib/modules/3.8.13/kernel/drivers/usb/gadget/g_audio.ko’: No such device
ERROR: could not insert ‘g_audio’: No such device
libkmod: INFO libkmod/libkmod.c:319 kmod_unref: context 0x210f8 released


Any hints on how to load g_audio properly?

I have not played with the audio gadget much. But, I had somebody that knows USB better than I take a look, and he said that the OMAPs USB peripheral was broken in isocronous device mode. If the BBB uses the same USB device peripheral, it will have the same problem.

I think he used usbtest to look at it.