EC20CEFAG R08A03M4G - UAC playback degrades then dies on Linux, works fine on Windows - firmware request

Content:

Hello Quectel Support Team,

I am developing a VoIP gateway using the EC20-CE FAG module. I have encountered a critical UAC (USB Audio Class) playback issue on Linux and would like to request the latest firmware (e.g., R08A19 or newer) as mentioned in other related threads.

Hardware & Firmware:

  • Module: EC20CEFAG-512-SGNS

  • Revision: EC20CEFAGR08A03M4G

  • OS: Ubuntu 26.04 LTS (Linux Kernel 7.0), Windows 10/Server 2025

  • UAC Configuration: AT+QCFG="usbcfg",0x2C7C,0x0125,1,1,1,1,1,0,1 (UAC enabled)

  • Voice Routing: AT+QPCMV=1,2 (UAC voice routing enabled, returns OK)

Issue Description:

  1. On Windows: Playback through the “AC interface” (UAC) is extremely stable and quality is perfect. (Note: Capture has no level, but since Linux Capture works, the hardware is fine).

  2. On Linux: Playback (host to module) starts normally, but gradually degrades (dropped frames, volume drops, crackling) and then goes completely silent within 15 seconds to 2 minutes.

  3. Self-healing: Pausing the audio stream for a few seconds and resuming temporarily restores the sound, but it dies again shortly after.

  4. No URCs or dmesg errors: During the death of the audio stream, the AT port receives no +QPCMV: 0 URC, and dmesg shows no USB or ALSA errors. The module silently stops consuming data.

Test Data & Evidence:

  • cat /proc/asound/card2/stream0 shows:

    • Playback: Endpoint 0x06 (6 OUT) (ADAPTIVE)

    • Capture: Endpoint 0x8a (10 IN) (ASYNC)

    • Rates: 8000, Data packet interval: 1000 us.

  • Tested with PipeWire (default desktop) and ALSA hw: direct connection.

  • Tried speaker-test -D hw:CARD=Android,DEV=0 -p 32, -p 64, and -p 128 to adjust buffer sizes (both low and high). All configurations eventually fail with the same symptom.

  • Capture (network to host) works flawlessly on Linux (KDE level meter fluctuates normally), confirming the ASYNC IN endpoint is healthy.

Conclusion & Request:
It seems the module’s ADAPTIVE OUT endpoint has a firmware-level state machine issue (FIFO overflow/stall) when the host does not pace the isochronous packets exactly like usbaudio.sys on Windows. Since Linux snd-usb-audio relies on application-driven pacing, it triggers this bug.

Could you please provide the latest firmware package (R08A19+) which includes the “improved UAC and VoLTE” fixes? I am happy to flash it using QFlash and provide the test results back to the community.

You can send it to my forum registered email or via DM

Thank you for your time and support.

Best regards,

heaimi

Dear Customer,

The firmware that you are using now is the latest firmware for EC20CEFA.

Since the issue also occurs with direct ALSA playback, a PipeWire-specific cause is less likely. However, the current results are not sufficient to confirm a module FIFO overflow or an endpoint stall.

For your buffer tests, please note that speaker-test -p specifies the period time in microseconds, rather than the buffer size in frames. Therefore, please share the actual period and buffer sizes reported by the application.

Please also test with the audio format explicitly set to 8 kHz, 16-bit, mono, as specified in the UAC application note:

speaker-test -D hw:CARD=Android,DEV=0 -r 8000 -F S16_LE -c 1 -t sine

Run this during an established voice call and confirm whether the remote party initially hears the tone, then loses it while the call remains connected.

If it still fails, please provide:

  • The complete ATI response and uname -r output.

  • The complete speaker-test output.

  • AT+QPCMV? and AT+CLCC responses before and immediately after the audio disappears.

  • The following readings while playback works and again after it becomes silent:

cat /proc/asound/card2/stream0
cat /proc/asound/card2/pcm0p/sub0/status
cat /proc/asound/card2/pcm0p/sub0/hw_params