I am sending an audio stream (youtube, spotify, facebook, etc) from a bluetooth device to the imx8m and playing it on the speakers that are connected to the audio jack. The problem is that after a while (2 or 3 minutes, sometimes less) the audio stream is cut due to an error with the PCM loopback.
To manage the audio stream I use the following command:
Hi @henrique.tx ,
I tried the same parameters as in your documentation and it gave me the same error. I started to vary the parameters: buffer, sync, tlatenc and thread, and the results improved but after a while the audio stream stopped indicating “Poll FD initialization failed”.
Occasionally I have noticed that the phone experiences disconnections from the bluetooth interface with the imx8mm but this is not so common but it is a concern.
All these tests are performed in a controlled environment, with a distance of less than 1 meter, with two approved antennas connected to the BT module of the Verdin and an iPhone.
I don’t have another alsaloop active, I was just testing different values for the thread parameter.
My tdx-info output:
Software summary #------------------------------------------------------------
Bootloader: U-Boot
Kernel version: 5.15.77-6.3.0-devel+git.ddc6ca4d76ea #1 SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023
Kernel command line: root=PARTUUID=8a41bcca-02 ro rootwait console=tty1 console=ttymxc0,115200 consoleblank=0 earlycon
Distro name: NAME=“TDX Wayland with XWayland”
Distro version: VERSION_ID=6.3.0-devel-20230801092402-build.0
Hostname: verdin-imx8mm-06902571 #------------------------------------------------------------
Hardware info #------------------------------------------------------------
HW model: Toradex Verdin iMX8M Mini WB on Dahlia Board
Toradex version: 0055 V1.1B
Serial number: 06902571
Processor arch: aarch64 #------------------------------------------------------------
I just tested the use case smartphone Android 13 --(Bluetooth)--> Verdin iMX8M Mini --(audio cable)--> phone and I could listen uninterruptedly and without problems to a 9min+ soundtrack from Youtube Music without issue (specifically this one ).
This is the tdx-info output of my setup:
Software summary
------------------------------------------------------------
Bootloader: U-Boot
Kernel version: 5.15.77-6.4.0-devel+git.ddc6ca4d76ea #1 SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023
Kernel command line: root=PARTUUID=168d4aa8-02 ro rootwait console=tty1 console=ttymxc0,115200 consoleblank=0 earlycon
Distro name: NAME="TDX Wayland with XWayland"
Distro version: VERSION_ID=6.4.0-devel-20230829164534-build.0
Hostname: verdin-imx8mm-06827728
------------------------------------------------------------
Hardware info
------------------------------------------------------------
HW model: Toradex Verdin iMX8M Mini WB on Dahlia Board
Toradex version: 0055 V1.1A
Serial number: 06827728
Processor arch: aarch64
------------------------------------------------------------