iMX.6 USB Audio Class 2.0 (g_audio module) not working with Windows 10 (working with Ubuntu 16.04 LTS)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX.6 USB Audio Class 2.0 (g_audio module) not working with Windows 10 (working with Ubuntu 16.04 LTS)

3,120 Views
brendanta
Contributor II

Hello,

I am looking at getting my device recognised as an audio device through the USB OTG module on a Windows 10 machine.  The Windows UAC 2.0 driver is generic and does not seem to work with the UAC 2.0 driver from the variscite-linux kernel. I can confirm that the UAC 2.0 OTG works with my Ubuntu 16.04 machine in both input and output directions. 

Device:

root@var-som-mx6:~# modprobe g_audio
g_audio gadget: Linux USB Audio Gadget, version: Feb 2, 2012
g_audio gadget: g_audio ready
root@var-som-mx6:~# g_audio gadget: high-speed config #1: Linux USB Audio Gadget
root@var-som-mx6:~# lsmod
Module Size Used by
usb_f_uac2 12787 1
g_audio 3659 0
libcomposite 45395 2 usb_f_uac2,g_audio
configfs 24149 3 usb_f_uac2,libcomposite

Host:

brendan@btapc:~/nfsroots$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT2020 Digital [VT2020 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT2020 Alt Analog [VT2020 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Gadget [Linux USB Audio Gadget], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
brendan@btapc:~/nfsroots$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT2020 Alt Analog [VT2020 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Gadget [Linux USB Audio Gadget], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

I note that UAC 2.0 is now supported by Windows 10 with their recent Creators update (build 14915): Windows support for USB Audio 2.0? - Microsoft Community 

Hello everyone, As you have found out, we have an initial version of a USB Audio 2 driver in the latest Windows Insider release! This is an initial version with only limited features enabled (playback only, no recording support as of now). I encourage everyone to test the driver with your USB Audio 2 devices and file bugs via the feedback app.

Your feedback is important to us and we share your frustration at how long it has taken us to get here. Please keep the feedback coming!

The driver is available in all versions of Windows 10 - including mobile.

- Bala Sivakumar
Program Manager, Audio at Microsoft

I haven't had any luck with getting my device recognised as a sound device on Windows 10 (see screenshot). 

Can anyone shed some light on Windows drivers for this to work as a USB sound device on a Windows 10 machine?

Thanks

Labels (5)
0 Kudos
1 Reply

1,427 Views
chris_f
Contributor V

brendanta

Did you manage to fix this issue?

0 Kudos