Replies: 2 comments 1 reply
-
I'm guessing this is a TX2... and you're comparing stock L4T R28.2.1 against which build of the demo distro (i.e., which branch)? Given how ancient R28.2.1 is, it might be easier to figure out what's missing by comparing with stock L4T R32.x. |
Beta Was this translation helpful? Give feedback.
-
Well alrighty then, running a devkit image built from the same tegrademo source (I had created a custom devkit machine at the same time) appears to work on the devkit hdmi output, didn't even need to flash it with the stock R32.5.x. So that opens a can of worms since the major difference is a custom device tree... probably specifically some changes to enable the second monitor output. I suppose it's likely I missed something updating from R28.2.1 device tree. |
Beta Was this translation helpful? Give feedback.
-
Ok, I am sort of in a serious lack of knowledge hole to utilize the audio (alsa) compared to the OTS Jetpack/Ubuntu I had been using. Our application uses dsnoop and dshared configurations to capture audio and also alsasink playback to the tegra_hda (hdmi) audio out.
My problem is for the same asound.rc (with changes due to reordering of the hw assignments) I don not have the necessary devices generated.
In the Ubuntu sample rootfs, for each device the plughw and dmix versions are automatically created, and my additional dshare and dsnoop devices are also (as per aplay -L)
Ubuntu (Linux 4.4.38, alsa 1.1.2?)
root@LB-E459:/etc/modprobe.d# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: tegrahda [tegra-hda], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: tegrahda [tegra-hda], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 0: ADMAIF1 CIF ADMAIF1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 1: ADMAIF2 CIF ADMAIF2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 2: ADMAIF3 CIF ADMAIF3-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 3: ADMAIF4 CIF ADMAIF4-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 4: ADMAIF5 CIF ADMAIF5-4 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 5: ADMAIF6 CIF ADMAIF6-5 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 6: ADMAIF7 CIF ADMAIF7-6 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 7: ADMAIF8 CIF ADMAIF8-7 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 8: ADMAIF9 CIF ADMAIF9-8 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 9: ADMAIF10 CIF ADMAIF10-9 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 10: ADMAIF11 CIF ADMAIF11-10 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 11: ADMAIF12 CIF ADMAIF12-11 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 12: ADMAIF13 CIF ADMAIF13-12 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 13: ADMAIF14 CIF ADMAIF14-13 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 14: ADMAIF15 CIF ADMAIF15-14 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 15: ADMAIF16 CIF ADMAIF16-15 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 16: ADMAIF17 CIF ADMAIF17-16 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 17: ADMAIF18 CIF ADMAIF18-17 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 18: ADMAIF19 CIF ADMAIF19-18 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 19: ADMAIF20 CIF ADMAIF20-19 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 154: ADSP PCM1 ADSP-FE1-154 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 155: ADSP PCM2 ADSP-FE2-155 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: CODEC [USB AUDIO CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@LB-E459:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Playback/recording through the PulseAudio sound server
music
demixer
voice
aux_plug
music_and_voice
dshare
snd_front_left
snd_front_right
dsnooped
record_left
record_right
dmix:CARD=tegrahda,DEV=3
tegra-hda, HDMI 0
Direct sample mixing device
dmix:CARD=tegrahda,DEV=7
tegra-hda, HDMI 0
Direct sample mixing device
dsnoop:CARD=tegrahda,DEV=3
tegra-hda, HDMI 0
Direct sample snooping device
dsnoop:CARD=tegrahda,DEV=7
tegra-hda, HDMI 0
Direct sample snooping device
hw:CARD=tegrahda,DEV=3
tegra-hda, HDMI 0
Direct hardware device without any conversions
hw:CARD=tegrahda,DEV=7
tegra-hda, HDMI 0
Direct hardware device without any conversions
plughw:CARD=tegrahda,DEV=3
tegra-hda, HDMI 0
Hardware device with all software conversions
plughw:CARD=tegrahda,DEV=7
tegra-hda, HDMI 0
Hardware device with all software conversions
sysdefault:CARD=tegrasndt186ref
tegra-snd-t186ref-mobile-rt565x,
Default Audio Device
dmix:CARD=tegrasndt186ref,DEV=0
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=1
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=2
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=3
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=4
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=5
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=6
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=7
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=8
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=9
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=10
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=11
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=12
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=13
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=14
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=15
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=16
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=17
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=18
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=19
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=154
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dmix:CARD=tegrasndt186ref,DEV=155
tegra-snd-t186ref-mobile-rt565x,
Direct sample mixing device
dsnoop:CARD=tegrasndt186ref,DEV=0
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=1
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=2
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=3
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=4
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=5
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=6
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=7
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=8
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=9
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=10
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=11
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=12
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=13
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=14
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=15
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=16
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=17
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=18
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=19
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=154
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
dsnoop:CARD=tegrasndt186ref,DEV=155
tegra-snd-t186ref-mobile-rt565x,
Direct sample snooping device
hw:CARD=tegrasndt186ref,DEV=0
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=1
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=2
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=3
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=4
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=5
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=6
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=7
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=8
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=9
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=10
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=11
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=12
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=13
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=14
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=15
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=16
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=17
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=18
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=19
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=154
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
hw:CARD=tegrasndt186ref,DEV=155
tegra-snd-t186ref-mobile-rt565x,
Direct hardware device without any conversions
plughw:CARD=tegrasndt186ref,DEV=0
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=1
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=2
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=3
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=4
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=5
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=6
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=7
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=8
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=9
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=10
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=11
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=12
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=13
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=14
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=15
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=16
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=17
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=18
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=19
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=154
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
plughw:CARD=tegrasndt186ref,DEV=155
tegra-snd-t186ref-mobile-rt565x,
Hardware device with all software conversions
sysdefault:CARD=CODEC
USB AUDIO CODEC, USB Audio
Default Audio Device
front:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
Front speakers
surround21:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
Direct sample mixing device
dsnoop:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
Direct sample snooping device
hw:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
Direct hardware device without any conversions
plughw:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
Hardware device with all software conversions
USB AUDIO CODEC, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=CODEC
USB AUDIO CODEC
USB Stream Output
sysdefault:CARD=tegrasndt186ref
tegra-snd-t186ref-mobile-rt565x,
Default Audio Device
front:CARD=tegrasndt186ref,DEV=0
tegra-snd-t186ref-mobile-rt565x,
Front output / input
usbstream:CARD=tegrasndt186ref
tegra-snd-t186ref-mobile-rt565x
USB Stream Output
sysdefault:CARD=s2253
Sensoray 2253, Sensoray 2253
Default Audio Device
usbstream:CARD=s2253
Sensoray 2253
USB Stream Output
Yocto (Linux-l4t-4.9. alsa 1.2.4)
root@ML-A8FE:/etc/modprobe.d# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: tegrahda [tegra-hda], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: tegrahda [tegra-hda], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CODEC [USB AUDIO CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 0: ADMAIF1 CIF ADMAIF1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 1: ADMAIF2 CIF ADMAIF2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 2: ADMAIF3 CIF ADMAIF3-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 3: ADMAIF4 CIF ADMAIF4-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 4: ADMAIF5 CIF ADMAIF5-4 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 5: ADMAIF6 CIF ADMAIF6-5 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 6: ADMAIF7 CIF ADMAIF7-6 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 7: ADMAIF8 CIF ADMAIF8-7 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 8: ADMAIF9 CIF ADMAIF9-8 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 9: ADMAIF10 CIF ADMAIF10-9 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 10: ADMAIF11 CIF ADMAIF11-10 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 11: ADMAIF12 CIF ADMAIF12-11 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 12: ADMAIF13 CIF ADMAIF13-12 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 13: ADMAIF14 CIF ADMAIF14-13 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 14: ADMAIF15 CIF ADMAIF15-14 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 15: ADMAIF16 CIF ADMAIF16-15 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 16: ADMAIF17 CIF ADMAIF17-16 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 17: ADMAIF18 CIF ADMAIF18-17 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 18: ADMAIF19 CIF ADMAIF19-18 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: tegrasndt186ref [tegra-snd-t186ref-mobile-rt565x], device 19: ADMAIF20 CIF ADMAIF20-19 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: s2253 [Sensoray 2253], device 0: s2253 [Sensoray 2253]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@ML-A8FE:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
oss
Open Sound System
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
usbstream:CARD=tegrahda
tegra-hda
USB Stream Output
default:CARD=CODEC
USB AUDIO CODEC, USB Audio
Default Audio Device
sysdefault:CARD=CODEC
USB AUDIO CODEC, USB Audio
Default Audio Device
front:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
Front output / input
surround21:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CODEC,DEV=0
USB AUDIO CODEC, USB Audio
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=CODEC
USB AUDIO CODEC
USB Stream Output
default:CARD=tegrasndt186ref
tegra-snd-t186ref-mobile-rt565x,
Default Audio Device
sysdefault:CARD=tegrasndt186ref
tegra-snd-t186ref-mobile-rt565x,
Default Audio Device
front:CARD=tegrasndt186ref,DEV=0
tegra-snd-t186ref-mobile-rt565x,
Front output / input
usbstream:CARD=tegrasndt186ref
tegra-snd-t186ref-mobile-rt565x
USB Stream Output
default:CARD=s2253
Sensoray 2253, Sensoray 2253
Default Audio Device
sysdefault:CARD=s2253
Sensoray 2253, Sensoray 2253
Default Audio Device
usbstream:CARD=s2253
Sensoray 2253
USB Stream Output
Its so bad I'm not even sure entirely where to start,
HDMI-0
root@ML-A8FE:/usr/share/sounds/alsa# aplay -D plughw:0,3 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono <-- NO Audio out on the monitor....hmmmm Mono?
root@ML-A8FE:/usr/share/sounds/alsa# aplay -D hw:0,3 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1349: Channels count non available
root@ML-A8FE:/usr/share/sounds/alsa# aplay -D hw:0,3 -c 2 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1349: Channels count non available
HDMI-1
root@ML-A8FE:/usr/share/sounds/alsa# aplay -D plughw:0,7 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono <-- NO Audio out on the monitor
USB CODEC (usb audio device on custom carrier - worked before with OTS Jetpack R28.2.1)
root@ML-A8FE:/usr/share/sounds/alsa# aplay -D plughw:1,0 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1407: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 12000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 48000
TICK_TIME: 0
My guess is either something is missing package wise maybe that keeps it all from working as expected, or I'm looking at the wrong things, odd that plughw doesn't puke in aplay but doesn't show up in the aplay -L output.
I found differences between tegrademo and R28.2.1 filesystem wise, but I don't know to chalk it up to linux changes or something missing...
/etc/modprobe.d doesn't have any .conf in tegrademo
root@LB-E459:/etc/modprobe.d# ls -al
total 68
drwxrwxr-x 2 root root 4096 Oct 7 21:48 .
drwxr-xr-x 139 root root 12288 Oct 7 18:17 ..
-rw-r--r-- 1 root root 2507 Jul 31 2015 alsa-base.conf
-rw-rw-r-- 1 root root 84 Jun 25 2020 bcmdhd.conf
-rw-r--r-- 1 root root 325 Mar 13 2016 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1603 Mar 13 2016 blacklist.conf
-rw-r--r-- 1 root root 210 Mar 13 2016 blacklist-firewire.conf
-rw-r--r-- 1 root root 697 Mar 13 2016 blacklist-framebuffer.conf
-rw-r--r-- 1 root root 156 Jul 31 2015 blacklist-modem.conf
-rw-rw-r-- 1 root root 17 Jun 25 2020 blacklist-mttcan.conf
lrwxrwxrwx 1 root root 41 May 3 2016 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root 583 Mar 13 2016 blacklist-rare-network.conf
-rw-r--r-- 1 root root 1077 Mar 13 2016 blacklist-watchdog.conf
-rw-r--r-- 1 root root 390 Apr 12 2016 fbdev-blacklist.conf
-rw-r--r-- 1 root root 347 Mar 13 2016 iwlwifi.con
root@ML-A8FE:/etc/modprobe.d# ls -al
total 8
drwxr-xr-x 2 root root 4096 Mar 9 2018 .
drwxr-xr-x 57 root root 4096 Oct 7 18:38 ..
alsa-base.conf contains some things that force USB (snd-usb-audio driver) to index 2, which would explain one change (added to rootfs to test but missing some knowledge to make it take affect when driver is loaded).
/usr/share/alsa/ has changes that appear to be later version changes but the existing does have /usr/share/alsa/cards/tegra-snd-t186r.conf that may have been replaced by something else..
Further poking around I added the pulseaudio packages and apparently that made my USB audio out work at least...shrug..
root@ML-A8FE:/usr/share/sounds/alsa# aplay -D plughw:1,0 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono <-- I should have known but Mono refers to the source file it appears.
And gst-launch pipelines using the created dsnoop elements appear to work even though they aren't listed in the aplay outputs. I captured from USB audio in to USB audio out
But I still don't have anything out of the HDMI...checking into volume settings I guess
Beta Was this translation helpful? Give feedback.
All reactions