Comprobaciones básicas
# Bluetooth service status
systemctl status bluetooth
# Bluetooth adapter information (hciconfig is deprecated; use bluetoothctl/btmgmt)
bluetoothctl show
bluetoothctl list # List all adapters
# RF switch status
rfkill list bluetoothSi Bluetooth está desactivado:
sudo rfkill unblock bluetooth
sudo systemctl restart bluetoothUsando bluetoothctl
sudo bluetoothctlComandos comunes:
power on # Turn on Bluetooth
agent on # Enable agent
default-agent # Set as default agent
scan on # Scan for devices
devices # List discovered devices
pair XX:XX:XX:XX:XX # Pair
trust XX:XX:XX:XX:XX # Trust device
connect XX:XX:XX:XX:XX # Connect
info XX:XX:XX:XX:XX # View device info
remove XX:XX:XX:XX:XX # Remove device
quit # ExitProblemas comunes
No puedo descubrir dispositivos
# Confirm the Bluetooth adapter is powered on
bluetoothctl power on
# Rescan
sudo bluetoothctl
scan onSi aún no se encuentran los dispositivos, verifique el registro del kernel:
sudo dmesg | grep -i bluetooth
sudo dmesg | grep -i "hci\|btusb"Fallo de emparejamiento
- Elimine el registro de emparejamiento anterior y vuelva a emparejar:
sudo bluetoothctl
remove XX:XX:XX:XX:XX:XX
scan on
pair XX:XX:XX:XX:XX:XX-
Algunos dispositivos requieren ingresar un código PIN, generalmente
0000o1234 -
Borre el caché de Bluetooth:
sudo rm -rf /var/lib/bluetooth/*
sudo systemctl restart bluetoothEmparejado pero no se puede conectar
# Trust the device first
sudo bluetoothctl
trust XX:XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XX:XXSi aparece “Error al conectar: org.bluez.Error.Failed”:
# Restart the Bluetooth stack
sudo systemctl restart bluetooth
sudo modprobe -r btusb && sudo modprobe btusbDesconexiones frecuentes después de conectarse
# View Bluetooth logs
journalctl -u bluetooth -f
# Disable Bluetooth power management
sudo nano /etc/bluetooth/main.confAgregar o modificar en la sección [Policy]:
[Policy]
AutoEnable=true
[General]
FastConnectable=trueReinicie el servicio:
sudo systemctl restart bluetoothMala calidad de audio de los auriculares Bluetooth
Es posible que los auriculares Bluetooth utilicen el protocolo SCO/HSP (modo de llamada) en lugar de A2DP (audio de alta calidad).
# Check the current audio protocol
wpctl status
# Switch to A2DP in PipeWire
# In GNOME Sound settings, select the output profile as "High Fidelity Playback (A2DP Sink)"Latencia del teclado/ratón Bluetooth
hcitool está en desuso; Los parámetros de conexión ahora son negociados automáticamente por el kernel y BlueZ. Para solucionar problemas de latencia, primero confirme la conexión con bluetoothctl info XX:XX:XX:XX:XX:XX, luego inspeccione/administre el adaptador con btmgmt:
# View adapter info and current connections
btmgmt info
btmgmt con # List current connectionsActualización de BlueZ
Ubuntu 26.04 viene con la pila Bluetooth BlueZ. Consulta la versión:
bluetoothd --versionSi tiene problemas de compatibilidad, instale una versión más reciente (si está disponible):
sudo apt update
sudo apt install --only-upgrade bluezAdaptadores Bluetooth USB
Si el Bluetooth incorporado es problemático, puede utilizar un adaptador USB Bluetooth:
# Confirm detection
lsusb | grep -i bluetooth
# Load driver
sudo modprobe btusb
# If there are multiple adapters, list and choose which one to use
bluetoothctl list # List all adapters and their MACs
bluetoothctl select XX:XX:XX:XX:XX:XX # Select a specific adapter
bluetoothctl power on # Power on that adapterDepuración de registros de Bluetooth
# Enable verbose logging
sudo nano /etc/systemd/system/bluetooth.service.d/override.conf[Service]
ExecStart=
ExecStart=/usr/libexec/bluetooth/bluetoothd -dsudo systemctl daemon-reload
sudo systemctl restart bluetooth
journalctl -u bluetooth -f