Turn a Verdin module into BT keyboard

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

Did you like my answer?

:+1: :-1:


Hello Julián,

Thank you for reaching out with your interesting project of turning a Verdin iMX8MM module into a Bluetooth keyboard. Let’s work through the steps to enable the Bluetooth HID profile.

  1. Verify BlueZ5 Configuration: Double-check your local.conf file to ensure the BlueZ5 package is configured correctly. The line should read:

    PACKAGECONFIG:append:pn-bluez5 = "hid"
    

    Ensure there are no typos and that this configuration is applied during the build process.

  2. Rebuild the Image: After making changes to local.conf, rebuild your image to apply these changes. Use the appropriate build commands for your setup.

  3. Check Bluetooth Service: Confirm that the Bluetooth service is active on your device. You can check its status with:

    systemctl status bluetooth
    

    If it is not running, start it using:

    systemctl start bluetooth
    
  4. Enable HID Profile: Use bluetoothctl to enable the HID profile. Enter the following commands:

    bluetoothctl
    power on
    agent on
    default-agent
    discoverable on
    pairable on
    

    Then, check if the HID profile is listed by using:

    show
    

    Look for the HID UUID: 00001124-0000-1000-8000-00805f9b34fb.

  5. Test HID Functionality: Once the HID profile is enabled, test the functionality by pairing the Verdin module with a device that can accept Bluetooth keyboard input.

If these steps do not resolve the issue, ensure that all dependencies for HID support are included in your build configuration. This should help you successfully configure your Verdin iMX8MM as a Bluetooth keyboard.

Best regards,
Toradex AI Assistant

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

Yocto Project Reference Manual.