CLOSED. Jetson TX1 usb mic not working

Hi Nvidia,

I have Samson Go Direct usb mic.
On fresh installed system l4t 24.2.1 mic is present in sound settings as input device and works fine.
But on l4t 28.1 i can’t see usb input device in sound settings.

Here is dmesg after plugin usb mic:
[ 886.265661] usb 1-3.1: USB disconnect, device number 4
[ 891.083357] usb 1-3.1: new full-speed USB device number 5 using xhci-tegra
[ 891.117513] usb 1-3.1: New USB device found, idVendor=17a0, idProduct=0130
[ 891.124647] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 891.133227] usb 1-3.1: Product: Samson Go Mic Direct
[ 891.138739] usb 1-3.1: Manufacturer: Samson Technologies
[ 891.154363] input: Samson Technologies Samson Go Mic Direct as /devices/70090000.xusb/usb1/1-3/1-3.1/1-3.1:1.2/0003:17A0:0130.0004/input/input6

Here is arecord -l:

**** List of CAPTURE Hardware Devices ****
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 0: ADMAIF1 CIF ADMAIF1-0
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 1: ADMAIF2 CIF ADMAIF2-1
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 2: ADMAIF3 CIF ADMAIF3-2
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 3: ADMAIF4 CIF ADMAIF4-3
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 4: ADMAIF5 CIF ADMAIF5-4
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 5: ADMAIF6 CIF ADMAIF6-5
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 6: ADMAIF7 CIF ADMAIF7-6
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 7: ADMAIF8 CIF ADMAIF8-7
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 8: ADMAIF9 CIF ADMAIF9-8
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt210ref [tegra-snd-t210ref-mobile-rt565x], device 9: ADMAIF10 CIF ADMAIF10-9
Subdevices: 1/1
Subdevice #0: subdevice #0

Where is the different of that systems?

Best regards, Viktor.

Possibly there is a driver by default in R24.2.1 which just isn’t configured in R28.1. There would be a “card 2” and not just “card 1” if the headset had triggered load of a driver. My headset does trigger card 2, which also triggers module loads. What is your “lsmod” showing with the headset connected? These are the ones my headset triggers on R28.2:

snd_usb_audio         183258  2
snd_usbmidi_lib        26147  1 snd_usb_audio
snd_hwdep               8187  1 snd_usb_audio

I have checked it.

Here is lsmod and .config for the l4t 24.2.1, where is usb mic working:
lsmod
Module Size Used by
bnep 14976 2
bcmdhd 7466032 0
cfg80211 451987 1 bcmdhd
bluedroid_pm 11260 0

CONFIG_SND_VIA82XX is not set

CONFIG_SND_VIA82XX_MODEM is not set

CONFIG_SND_VIRTUOSO is not set

CONFIG_SND_VX222 is not set

CONFIG_SND_YMFPCI is not set

CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y

CONFIG_SND_USB_UA101 is not set

CONFIG_SND_USB_CAIAQ is not set

CONFIG_SND_USB_6FIRE is not set

CONFIG_SND_SOC=y
CONFIG_SND_SOC_DMAENGINE_PCM=y

CONFIG_SND_ATMEL_SOC is not set

CONFIG_SND_DESIGNWARE_I2S is not set

CONFIG_SND_SOC_TEGRA is not set

CONFIG_SND_SOC_TEGRA_ALT=y
CONFIG_SND_SOC_TEGRA_ALT_210=y
CONFIG_SND_SOC_TEGRA210_XBAR_ALT=y

Here is lsmod and .config for the l4t 28.1, where is usb mic NOT present:

Module Size Used by
bcmdhd 7667373 0
bluedroid_pm 13770 0

CONFIG_SND_HDA_CODEC_VIA is not set

CONFIG_SND_HDA_CODEC_HDMI=y

CONFIG_SND_HDA_CODEC_CIRRUS is not set

CONFIG_SND_HDA_CODEC_CONEXANT is not set

CONFIG_SND_HDA_CODEC_CA0110 is not set

CONFIG_SND_HDA_CODEC_CA0132 is not set

CONFIG_SND_HDA_CODEC_CMEDIA is not set

CONFIG_SND_HDA_CODEC_SI3054 is not set

CONFIG_SND_HDA_GENERIC is not set

CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
# CONFIG_SND_USB_AUDIO is not set

CONFIG_SND_USB_UA101 is not set

CONFIG_SND_USB_CAIAQ is not set

CONFIG_SND_USB_6FIRE is not set

CONFIG_SND_USB_HIFACE is not set

CONFIG_SND_BCD2000 is not set

CONFIG_SND_USB_POD is not set

CONFIG_SND_USB_PODHD is not set

CONFIG_SND_USB_TONEPORT is not set

CONFIG_SND_USB_VARIAX is not set

CONFIG_SND_SOC=y

CONFIG_SND_ATMEL_SOC is not set

CONFIG_SND_DESIGNWARE_I2S is not set

Both kernel provided by LeopardImaging with csi camera support.
Will try to rebuild kernel.

Yes, my kernel has:

CONFIG_SND_USB=y
<b>CONFIG_SND_USB_AUDIO=m</b>

I have made kernel with CONFIG_SND_USB=y,CONFIG_SND_USB_AUDIO=y in tegra21_defconfig and usb mic works now.
Closed.