Not getting audio output from audio jack.

Hi,
I am using Apalis imx8 module with Reference image-6.7 version OS. I have connected my phone via bluetooth to the module and played an audio. I got the status as playing. But on connecting headset to the green port of audio jack, we are not getting audio output.
How to figure out the issue.I am bit confused that whether it is because of using normal headset(3.5mm). Please help us to resolve the issue.

Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

To address the issue of not receiving audio output through the headset connected to the green port of the audio jack on your Apalis iMX8 module, please follow these steps:

  1. Check the Headset Compatibility: Ensure that the headset is compatible with the audio jack on the carrier board. Most headsets with a 3.5mm connector should work, but there can be exceptions based on the wiring standard (OMTP or CTIA).

  2. Verify Audio Route Configuration: The audio routing on the Apalis iMX8 may need to be configured to output audio through the jack. This can involve checking the ALSA mixer settings to ensure that the correct output device is selected and not muted. You can use alsamixer or amixer commands to check and adjust these settings. For example, to list all controls, you can use amixer controls, and to set a specific control, use amixer cset name='ControlName' value.

  3. Bluetooth Audio Profile: When connecting your phone via Bluetooth, ensure that the A2DP (Advanced Audio Distribution Profile) is used for high-quality audio streaming. If the headset is connected and configured as an HFP (Hands-Free Profile) device, it might not route the audio correctly. You can check the active profile using bluealsa-aplay -L.

  4. Test Audio Output: To verify that the audio jack and the headset are functioning correctly, try playing a local audio file directly through the audio jack without involving Bluetooth. For example, you can use:

    aplay -D plughw:0,0 <audio_file_name>.wav
    

    Ensure to replace <audio_file_name> with the path to an actual audio file. This test will help determine if the issue is with the Bluetooth audio routing or the audio output hardware.

  5. Review System Logs: Check the system logs for any errors related to audio or Bluetooth. You can use dmesg and journalctl commands to review the logs. Look for any messages related to ALSA or the Bluetooth audio profile that might indicate what the issue is.

  6. Update and Reboot: Ensure your system is up to date. Although you’re using a specific version of the Reference Image, it’s good practice to check for any updates or patches that might address audio-related issues. After updating, reboot your system to apply any changes.

If after these steps the issue persists, it might be necessary to

Please, also check if these links can help you solve your problem:

How to Setup Bluetooth Audio Profiles (Linux) | Toradex Developer Center.

Hi @Shanmugapriyan,

As suggested by Toradex AI, Please follow steps as below:

Best regards
Ritesh Kumar

We successfully played a local audio file and received audio output. However, when playing audio via Bluetooth, there is no audio output from the audio jack.

Hi @Shanmugapriyan,

Have you followed steps mentioned in given article?

Best regards
Ritesh Kumar

Hi @ritesh.tx

We have resolved the previous issue by using the command bluealsa-aplay --profile-a2dp. However, when a call comes in, the audio playback is paused. We need to ensure that phone calls can also be attended via Bluetooth. What steps should we follow?

Hi @Shanmugapriyan ,

You probably need to set HFP profile to be able to hear sound during call.
Please also see

Hi @ritesh.tx ,
Thanks for your reply. We resolved the issue. But we getting noise during calls. Is there any possible ways to reduce a noise.

Hi @Shanmugapriyan,

To further look can you please share exact steps you followed so that we can mirror same setup and test here.

Best regards
Ritesh Kumar