I am getting the following ALSA error when running eiq_genai_flow with asr enabled
Currently we are using the SGTL5000 module, the system can detect it.
Is it possible to configure the default sound card?
root@imx95aom5521a1:~/dm-eiq-genai-flow-demonstrator/eiq_genai_flow# ./eiq_genai_flow
Target Device: i.MX95
LLM used: danube-onnx
TTS model used 16kHz quantized
ALSA lib confmisc.c:855:(parse_card) cannot find card 'default'
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such device
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM sysdefault:CARD=default
Exception in thread Thread-5 (handle_playback):
Traceback (most recent call last):
File "threading.py", line 1075, in _bootstrap_inner
File "threading.py", line 1012, in run
File "tts/model.py", line 179, in handle_playback
File "tts/player.py", line 23, in __init__
File "tts/player.py", line 28, in open_pcm_device
alsaaudio.ALSAAudioError: No such device [sysdefault:CARD=default]
root@imx95aom5521a1:~/dm-eiq-genai-flow-demonstrator/eiq_genai_flow# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: soundhdmi [sound-hdmi], device 0: 42670000.sai-i2s-hifi i2s-hifi-0 [42670000.sai-i2s-hifi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sgtl5000 [sgtl5000], device 0: HiFi sgtl5000-0 [HiFi sgtl5000-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@imx95aom5521a1:~/dm-eiq-genai-flow-demonstrator/eiq_genai_flow#