Jump to content

User:MadGoatHaz/Realtek Bluetooth Authentication Issues Troubleshooting

From ArchWiki
  1. Realtek Bluetooth Authentication Issues Troubleshooting

This guide addresses common Bluetooth authentication issues on Linux systems, particularly focusing on Realtek Bluetooth adapters (such as RTL8761BU, RTL8761B, RTL8761A) that experience "Authentication Failed (0x05)" errors. The solution involves enabling the Bluetooth service, configuring user permissions, adjusting system settings, and ensuring proper firmware loading.

    1. Problem Description

Users with Realtek Bluetooth adapters may encounter the following symptoms:

  • Bluetooth service fails to start properly
  • "Authentication Failed (0x05)" errors in the logs
  • Inability to detect or pair with Bluetooth devices
  • Controller appears in bluetoothctl show but is not functional
    1. Affected Models

This troubleshooting guide specifically addresses issues with the following Realtek Bluetooth adapters:

  • RTL8761BU
  • RTL8761B
  • RTL8761A
  • Other Realtek Bluetooth 5.0+ adapters
    1. Solution

Enable Bluetooth Service

Ensure the Bluetooth service is enabled and running:

sudo systemctl enable bluetooth
sudo systemctl start bluetooth

Configure User Permissions

Add your user to the lp group, which is required for Bluetooth access:

sudo usermod -a -G lp $USER

After adding your user to the group, either log out and back in or run:

newgrp lp

Enable AutoEnable in Configuration

Edit /etc/bluetooth/main.conf and ensure the AutoEnable setting is enabled:

sudo sed -i 's/#AutoEnable=true/AutoEnable=true/' /etc/bluetooth/main.conf

Load Required Zstd Module

For Realtek Bluetooth adapters, the firmware files may be compressed with zstd. Load the required module:

sudo modprobe zstd

To make this permanent, add zstd to /etc/modules-load.d/bluetooth.conf:

echo "zstd" | sudo tee /etc/modules-load.d/bluetooth.conf

Reset Bluetooth Adapter

Reset the Bluetooth adapter by removing and reinserting the kernel module:

sudo modprobe -r btusb
sudo modprobe btusb
sudo systemctl restart bluetooth
    1. Verification

Check that the service is running:

systemctl status bluetooth

Check controller status:

bluetoothctl show

Enable discoverable and pairable modes:

bluetoothctl discoverable on
bluetoothctl pairable on
    1. Prevention

To prevent recurrence of these issues:

  • Ensure the zstd module loads at boot by adding it to /etc/modules-load.d/bluetooth.conf
  • Keep AutoEnable set to true in /etc/bluetooth/main.conf
  • Verify user group membership regularly
    1. Cross-link to GitHub Repository

For additional details, automated scripts, and community contributions, see our GitHub repository: GitHub repository

Note This guide specifically addresses Realtek Bluetooth adapter authentication issues. For general Bluetooth troubleshooting, see Bluetooth#Troubleshooting.