<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ALSA error running eiq_genai_flow with ASR in Generative AI &amp; LLMs</title>
    <link>https://community.nxp.com/t5/Generative-AI-LLMs/ALSA-error-running-eiq-genai-flow-with-ASR/m-p/2171124#M9</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am getting the following ALSA error when running eiq_genai_flow with asr enabled:&lt;/P&gt;&lt;PRE&gt;./eiq_genai_flow -i kasr --output-mode text&lt;BR /&gt;Target Device: i.MX95&lt;BR /&gt;&lt;BR /&gt;ASR model used: whisper-small.en&lt;BR /&gt;LLM used: danube-onnx&lt;BR /&gt;&lt;BR /&gt;##### Press Enter to start ASR #####&lt;BR /&gt;I'm listening!&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/confmisc.c:855:(parse_card) cannot find card 'default'&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/confmisc.c:422:(snd_func_concat) error evaluating strings&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/confmisc.c:1342:(snd_func_refer) error evaluating name&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5727:(snd_config_expand) Evaluate error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/pcm/pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM sysdefault:CARD=default&lt;BR /&gt;Exception in thread audio_capture_thread:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "threading.py", line 1075, in _bootstrap_inner&lt;BR /&gt;File "threading.py", line 1012, in run&lt;BR /&gt;File "asr/streaming/audio_capture.py", line 90, in capture_audio&lt;BR /&gt;File "asr/streaming/audio_capture.py", line 69, in open_pcm_device&lt;BR /&gt;alsaaudio.ALSAAudioError: No such device [sysdefault:CARD=default]&lt;/PRE&gt;&lt;P&gt;Both arecord and aplay are functional.&lt;/P&gt;&lt;P&gt;Here are the output of arecord:&lt;/P&gt;&lt;PRE&gt;arecord -l&lt;BR /&gt;**** List of CAPTURE Hardware Devices ****&lt;BR /&gt;card 0: wm8904audio [wm8904-audio], device 0: sai-tx-rx-wm8904-hifi wm8904-hifi-0 [sai-tx-rx-wm8904-hifi wm8904-hifi-0]&lt;BR /&gt;Subdevices: 1/1&lt;BR /&gt;Subdevice #0: subdevice #0&lt;BR /&gt;&lt;BR /&gt;arecord -L&lt;BR /&gt;null&lt;BR /&gt;Discard all samples (playback) or generate zero samples (capture)&lt;BR /&gt;default:CARD=wm8904audio&lt;BR /&gt;wm8904-audio, sai-tx-rx-wm8904-hifi wm8904-hifi-0&lt;BR /&gt;Default Audio Device&lt;BR /&gt;sysdefault:CARD=wm8904audio&lt;BR /&gt;wm8904-audio, sai-tx-rx-wm8904-hifi wm8904-hifi-0&lt;BR /&gt;Default Audio Device&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Is there a way to configure the default audio card for eiq_genai_flow ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Hervé&lt;/P&gt;</description>
    <pubDate>Wed, 17 Sep 2025 12:21:48 GMT</pubDate>
    <dc:creator>herveld</dc:creator>
    <dc:date>2025-09-17T12:21:48Z</dc:date>
    <item>
      <title>ALSA error running eiq_genai_flow with ASR</title>
      <link>https://community.nxp.com/t5/Generative-AI-LLMs/ALSA-error-running-eiq-genai-flow-with-ASR/m-p/2171124#M9</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am getting the following ALSA error when running eiq_genai_flow with asr enabled:&lt;/P&gt;&lt;PRE&gt;./eiq_genai_flow -i kasr --output-mode text&lt;BR /&gt;Target Device: i.MX95&lt;BR /&gt;&lt;BR /&gt;ASR model used: whisper-small.en&lt;BR /&gt;LLM used: danube-onnx&lt;BR /&gt;&lt;BR /&gt;##### Press Enter to start ASR #####&lt;BR /&gt;I'm listening!&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/confmisc.c:855:(parse_card) cannot find card 'default'&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/confmisc.c:422:(snd_func_concat) error evaluating strings&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/confmisc.c:1342:(snd_func_refer) error evaluating name&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/conf.c:5727:(snd_config_expand) Evaluate error: No such device&lt;BR /&gt;ALSA lib /usr/src/debug/alsa-lib/1.2.12/src/pcm/pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM sysdefault:CARD=default&lt;BR /&gt;Exception in thread audio_capture_thread:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "threading.py", line 1075, in _bootstrap_inner&lt;BR /&gt;File "threading.py", line 1012, in run&lt;BR /&gt;File "asr/streaming/audio_capture.py", line 90, in capture_audio&lt;BR /&gt;File "asr/streaming/audio_capture.py", line 69, in open_pcm_device&lt;BR /&gt;alsaaudio.ALSAAudioError: No such device [sysdefault:CARD=default]&lt;/PRE&gt;&lt;P&gt;Both arecord and aplay are functional.&lt;/P&gt;&lt;P&gt;Here are the output of arecord:&lt;/P&gt;&lt;PRE&gt;arecord -l&lt;BR /&gt;**** List of CAPTURE Hardware Devices ****&lt;BR /&gt;card 0: wm8904audio [wm8904-audio], device 0: sai-tx-rx-wm8904-hifi wm8904-hifi-0 [sai-tx-rx-wm8904-hifi wm8904-hifi-0]&lt;BR /&gt;Subdevices: 1/1&lt;BR /&gt;Subdevice #0: subdevice #0&lt;BR /&gt;&lt;BR /&gt;arecord -L&lt;BR /&gt;null&lt;BR /&gt;Discard all samples (playback) or generate zero samples (capture)&lt;BR /&gt;default:CARD=wm8904audio&lt;BR /&gt;wm8904-audio, sai-tx-rx-wm8904-hifi wm8904-hifi-0&lt;BR /&gt;Default Audio Device&lt;BR /&gt;sysdefault:CARD=wm8904audio&lt;BR /&gt;wm8904-audio, sai-tx-rx-wm8904-hifi wm8904-hifi-0&lt;BR /&gt;Default Audio Device&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Is there a way to configure the default audio card for eiq_genai_flow ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Hervé&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 12:21:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Generative-AI-LLMs/ALSA-error-running-eiq-genai-flow-with-ASR/m-p/2171124#M9</guid>
      <dc:creator>herveld</dc:creator>
      <dc:date>2025-09-17T12:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALSA error running eiq_genai_flow with ASR</title>
      <link>https://community.nxp.com/t5/Generative-AI-LLMs/ALSA-error-running-eiq-genai-flow-with-ASR/m-p/2178143#M18</link>
      <description>&lt;P&gt;Hi Hervé,&lt;/P&gt;
&lt;P&gt;This demo package is currently limited to i.MX95 and i.MX8P boards equipped with the &lt;STRONG&gt;WM8962 audio codec&lt;/STRONG&gt;. That’s why it doesn’t work with boards using the &lt;STRONG&gt;WM8904 codec&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Unfortunately, this version doesn’t offer the option to change the codec configuration. However, the next release — planned for the end of Q4 — will introduce the ability to select both capture and playback codecs.&lt;/P&gt;
&lt;P&gt;Thanks for your understanding, and best regards,&lt;BR /&gt;Pierre&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 11:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Generative-AI-LLMs/ALSA-error-running-eiq-genai-flow-with-ASR/m-p/2178143#M18</guid>
      <dc:creator>Pierre_M</dc:creator>
      <dc:date>2025-09-30T11:31:22Z</dc:date>
    </item>
  </channel>
</rss>

