hey,
I have a usb adaptor for audio output and input. The output is working fine. On the other hand, the input is not recording anything.
In the Setting UI, I have selected the right card but the mic “progress” control never budge. So I did try with arecord with no luck either.
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
card 2: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
arecord -t wav -c 2 -d 10 -v tmp_file.wav
aplay tmp_file.wav
no sound output :/
Hello!
What USB device are you using? Have you tested with a Linux PC?
Sounds like you have selected the USB device correctly via the GUI, but you can also use the following arecord command to ensure it is targeting the correct device …
arecord -D hw:2,0 -c 2 -d 10 -t wav -v tmp_file.wav
Finally, it could be worth checking if the USB audio card has any mixer controls for Volume/Mute that need to be configured. You can list these by …
amixer -c 2 controls
Regards,
Jon
The given commands for record tole me that the channel count was not good so I did try that :
arecord -D hw:2,0 -c 1 -d 10 -t wav -f S16_LE -r 44100 -v tmp_file.wav
still, no sound are recorded.
here a screenshot of amixer :
External Media
the USB adapter that I am using is from Ugreen :
https://www.ugreen.com/product/UGREEN_USB_Stereo_Audio_Adapter_for_3_5mm_Headphone-en.html
Hello!
What L4T release are you using? I have one of those and so can test my end.
Regards
Jon
brand new install :
NVIDIA Jetson NANO/TX1 - Jetpack 3.2 [L4T 28.2.0]
NVIDIA Jetson NANO/TX1
Board: NANO/TX1
Jetpack: 3.2 [L4T 28.2.0]
GPU Arch: 5.3
Libraries
CUDA: 9.0.252
cuDNN: 9.0.252
CUDA: 7.1.5.14-1+cuda9.0
TensorRT: 4.0.2.0-1+cuda9.0
VisionWorks: 1.6.0.500n
OpenCV: 4.1.0 compiled CUDA: YES
brand new install :
NVIDIA Jetson NANO/TX1 - Jetpack 3.2 [L4T 28.2.0]
NVIDIA Jetson NANO/TX1
Board: NANO/TX1
Jetpack: 3.2 [L4T 28.2.0]
GPU Arch: 5.3
Libraries
CUDA: 9.0.252
cuDNN: 9.0.252
CUDA: 7.1.5.14-1+cuda9.0
TensorRT: 4.0.2.0-1+cuda9.0
VisionWorks: 1.6.0.500n
OpenCV: 4.1.0 compiled CUDA: YES
I did try on a X86 linux (MacBook Pro) and it doesn’t work either.
Do you have any USB or I2C audio input device that you will advice for the TX1 and Jetson Nano?
thanks in advance.
Vincent
Hello!
I purchased two of the ugreen USB audio adapters [0] and these work fine for me on both the Jetson TX1 and my Linux PC. On the Jetson TX1 it shows up as the ‘C-Media Electronics Inc. USB Audio Device’ …
$ cat /proc/asound/cards
0 [tegrahda ]: tegra-hda - tegra-hda
tegra-hda at 0x70038000 irq 82
1 [tegrasndt210ref]: tegra-snd-t210r - tegra-snd-t210ref-mobile-rt565x
tegra-snd-t210ref-mobile-rt565x
2 [Device ]: USB-Audio - USB Audio Device
C-Media Electronics Inc. USB Audio Device at usb-70090000.xusb-3.2, full speed
If the device you have does not work on the PC either, you may wish to return it.
With regard to I2C based audio codec, I can recommend the following board …
https://fe-pi.com/products/fe-pi-audio-z-v2
However, to use this, it requires editing the device-tree for the board and re-flashing. So USB is definitely a lot simpler.
Regards,
Jon
[0] https://www.amazon.co.uk/UGREEN-Headphone-Microphone-Raspberry-Ultrabook/dp/B01N905VOY/ref=sr_1_1_sspa?crid=1XQV4JGO2YP4G&keywords=ugreen+usb+audio+adapter&qid=1559041422&s=gateway&sprefix=ugreen+usb+audio%2Caps%2C131&sr=8-1-spons&psc=1
My microphone was faulty. With a new microphone this Ugreen Audio usb adaptor is working fine now.
thanks for your support.