Unable to Enable Bluetooth Power on Verdin AM62 Board

I’m encountering an issue while trying to enable Bluetooth on a Verdin AM62 board running the following environment:

root@verdin-am62-15133450:~# uname -a
Linux verdin-am62-15133450 6.1.83-6.8.0-devel+git.3122b7a08184 #1 SMP PREEMPT Wed Jul 31 08:58:43 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

Here’s what happens when I try to enable Bluetooth via bluetoothctl:

root@verdin-am62-15133450:~# bluetoothctl
Agent registered
[CHG] Controller 6C:1D:EB:9D:3B:FC Pairable: yes
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed

The bluetoothctl command registers the agent, but when I try to turn on the Bluetooth power, I get the error org.bluez.Error.Failed.

Has anyone encountered a similar issue or knows what could be causing this failure? Any insights or suggestions on how to resolve it would be greatly appreciated!

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


The issue you’re encountering with enabling Bluetooth on the Verdin AM62 board could be due to several factors. Here are a few steps and suggestions to help you troubleshoot and potentially resolve the problem:

  1. Check Bluetooth Service Status:
    Ensure that the Bluetooth service is running correctly. You can check the status with the following command:

    systemctl status bluetooth
    

    If the service is not running, you can start it with:

    systemctl start bluetooth
    
  2. Verify Bluetooth Hardware:
    Make sure that the Bluetooth hardware is correctly recognized by the system. You can use the hciconfig command to check the status of Bluetooth devices:

    hciconfig -a
    

    This should list the Bluetooth devices and their status.

  3. Check Kernel Modules:
    Ensure that the necessary kernel modules for Bluetooth are loaded. You can list the loaded modules with:

    lsmod | grep bluetooth
    

    If the required modules are not loaded, you may need to load them manually. Common modules include btusb, btbcm, and bluetooth.

  4. Firmware Files:
    Some Bluetooth adapters require firmware files to function correctly. Ensure that the necessary firmware files are present in /lib/firmware.

  5. Logs and Debugging:
    Check the system logs for any relevant error messages that might provide more insight into the issue. You can use dmesg or check the journal logs:

    dmesg | grep -i bluetooth
    journalctl -xe | grep bluetooth
    
  6. BlueZ Configuration:
    Ensure that the BlueZ (the official Linux Bluetooth protocol stack) configuration is correct. Sometimes, configuration issues can cause the org.bluez.Error.Failed error.

  7. Permissions:
    Ensure that the user has the necessary permissions to control Bluetooth. You might need to add the user to the bluetooth group:

    usermod -aG bluetooth <username>
    

If none of these steps resolve the issue, it might be helpful to provide more detailed logs or error messages. Additionally, checking the Toradex community forums or contacting Toradex support might provide more specific guidance tailored to the Verdin AM62 module.

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

Bluetooth (Linux) | Toradex Developer Center.

Hello @Manuele,

Please verify whether an overlay is applied?

Hi @Manuele

Sorry for the delay.

First, if you are using a single antenna, check if it’s in the correct slot.

Then, as mentioned by @ToradexAI, check if the service is running.

Finally, enable the Bluetooth device using ConnMan.

connmanctl enable bluetooth