I have a Mangoh green board with WP7611 module. I’d like to use the microphone/speaker as USB devices on an attached host. I’ve set up the following through the AT interface:
AT!USBCOMP?
Config Index: 1
Config Type: 1 (Generic)
Interface bitmask: 0009010D (diag,nmea,modem,rmnet0,audio,ecm)
OK
AT!AVCFG?
!AVCFG: 0,1,3
!AVCFG: 1,1,3
!AVCFG: 2,1,3
!AVCFG: 3,1,3
!AVCFG: 4,1,3
!AVCFG: 5,1,3
!AVCFG: 6,1,2
!AVCFG: 7,1,2
!AVCFG: 8,1,2
!AVCFG: 9,1,2
Index 5 is the active profile, and my understanding is that “5,1,3” should connect audio to USB
And I see audio input and output devices on the host (Ubuntu 18.04):
ghost@vnuc:~$ arecord --list-devices
**** List of CAPTURE Hardware Devices ****
card 1: WP7611 [Sierra Wireless WP7611], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
It’s not clear to me if I need to do anything else. Can the firmware do this without software running on the application processor, or do I need to write a Legato application? I’ve tried modifying the StreamMedia example application, but now matter what I do, I can’t get sound on the speaker or anything I say into the microphone to record to a file.