Não consigo ativar o bluetooth do Ubuntu 24.04 LTS

Instalei o sistema operacional em menos de um mês e ele veio com um grave problema no bluetooth: não consigo ativar ele.

Ele inicialmente não apresentava esse problema, mas apresentou depois de alguns dias.

No começo eu conseguia resolver esse problema com os comandos:

sudo rmmod btusb
sudo modprobe btusb

Mas agora não ativar novamente o bluetooth com esses comandos.

Já vasculei tudo na internet para resolver o problema, como reinstalar o bluez, remover ele e instalar novamente. Já li até os tópicos daqui, mas nada funciona.

Informações sobre meu sistema e dispositivo:

System:
  Kernel: 6.8.0-35-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04 LTS (Noble Numbat)
Machine:
  Type: Laptop System: Acer product: Aspire A315-41 v: V1.18
    serial: <superuser required>
  Mobo: RR model: Metapod_RR v: V1.18 serial: <superuser required>
    UEFI: Insyde v: 1.18 date: 06/18/2020
Battery:
  ID-1: BAT1 charge: 15.9 Wh (73.3%) condition: 21.7/37.0 Wh (58.5%)
    volts: 7.6 min: 7.7
CPU:
  Info: quad core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
    bits: 64 type: MT MCP cache: L2: 2 MiB
  Speed (MHz): avg: 1546 min/max: 1600/2000 cores: 1: 1433 2: 1512 3: 1600
    4: 1600 5: 1430 6: 1600 7: 1600 8: 1600
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Device-2: Quanta VGA WebCam driver: uvcvideo type: USB
  Display: wayland server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: dri: radeonsi gpu: amdgpu
    resolution: 1366x768~60Hz
  API: EGL v: 1.5 drivers: radeonsi,swrast
    platforms: wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.5-1ubuntu1
    renderer: AMD Radeon Vega 8 Graphics (radeonsi raven LLVM 17.0.6 DRM 3.57
    6.8.0-35-generic)
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.8.0-35-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp1s0f1 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    driver: ath10k_pci
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth driver: btusb type: USB
  Report: hciconfig ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: no
    address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 13.27 GiB (1.4%)
  ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0
    size: 931.51 GiB
Partition:
  ID-1: / size: 914.78 GiB used: 13.26 GiB (1.4%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 1.05 GiB used: 6.1 MiB (0.6%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 268 KiB (0.0%) file: /swap.img
Sensors:
  System Temperatures: cpu: 43.2 C mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 6.67 GiB used: 4.37 GiB (65.5%)
  Processes: 282 Uptime: 2h 21m Shell: Bash inxi: 3.3.34

Não uso nenhum tipo de dispositivo para fazer conexão bluetooth, uso apenas o que a interface do sistema me disponibiliza.

Poderiam me ajudar?

Existem N adaptadores/placas bluetooth, nos ajude a te ajudar: Como fornecer boas informações

Informe a saída do comando:

inxi -Fxz

E veja qual o status do bluetooth com o comando:

sudo service bluetooth status

Qual a marca do dispositivo bluetooth rapaz, eu tenho aqui um TP-LINK Bluetooth e um TP-LINK WI-FI e tenho mais dois TUNGLE 2.0 bluetooth 4.0 xing ling que conecta e desconecta e não funciona mais a não ser se desconectar e plugar de novo.

Fornecei as informações sobre o meu sistema e dispositivo acima e muito obrigado pela dica.

O comando “inxi -fxz” não está disponível para mim.

Com relação ao meu status do bluetooth:

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-06-04 09:08:49 -03; 2h 25min ago
       Docs: man:bluetoothd(8)
   Main PID: 938 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 8112)
     Memory: 3.0M (peak: 3.3M)
        CPU: 88ms
     CGroup: /system.slice/bluetooth.service
             └─938 /usr/libexec/bluetooth/bluetoothd

jun 04 09:08:49 caik-franco-Aspire-A315-41 systemd[1]: Started bluetooth.service - Bluetooth service.
jun 04 09:08:49 caik-franco-Aspire-A315-41 bluetoothd[938]: Starting SDP server
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: src/plugin.c:plugin_init() System does not support csip plugin
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: src/plugin.c:plugin_init() System does not support micp plugin
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: src/plugin.c:plugin_init() System does not support vcp plugin
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: src/plugin.c:plugin_init() System does not support mcp plugin
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: src/plugin.c:plugin_init() System does not support bass plugin
jun 04 09:08:50 caik-franco-Aspire-A315-41 bluetoothd[938]: src/plugin.c:plugin_init() System does not support bap plugin
jun 04 09:08:51 caik-franco-Aspire-A315-41 bluetoothd[938]: Bluetooth management interface 1.22 initialized
~

É porque ele não está instalado. Para instalar, digite o comando:

sudo apt-get install inxi

Tente o seguinte.
Vá em /etc/bluetooth e copie o arquivo “main.config”.
Cole-o em alguma pasta, como Documentos, para servir de backup.

Edite o arquivo main.config que está na pasta /etc/blueetooth, acrescentando as seguintes linhas, debaixo da seção [General]:

# Enables D-Bus experimental interfaces
# Possible values: true or false
Experimental = true

Ficará deste jeito:

Em seguida, dê o comando:

systemctl restart bluetooth

Passo pelo mesmo problema desde o 23-10 e agora com o 24-04, nenhum dispositivo bluetooth conecta, meu computado é um Dell Inspiron 5448 e nem o mouse Dell conecta nele.

segue a saída do comendo:

System:
  Kernel: 6.8.0-35-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04 LTS (Noble Numbat)
Machine:
  Type: Laptop System: Dell product: Inspiron 5458 v: 01
    serial: <superuser required>
  Mobo: Dell model: 0H23N7 v: A02 serial: <superuser required> UEFI: Dell
    v: A14 date: 11/22/2016
Battery:
  ID-1: BAT0 charge: 18.5 Wh (100.0%) condition: 18.5/32.6 Wh (56.7%)
    volts: 15.9 min: 14.8 model: LGC DELL 991XP555 status: full
CPU:
  Info: dual core model: Intel Core i5-5200U bits: 64 type: MT MCP
    arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1106 high: 1504 min/max: 500/2700 cores: 1: 1324 2: 798
    3: 798 4: 1504 bogomips: 17559
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel
    arch: Gen-8 bus-ID: 00:02.0
  Device-2: NVIDIA GK208BM [GeForce 920M] vendor: Dell driver: nvidia
    v: 470.239.06 arch: Kepler bus-ID: 08:00.0
  Device-3: Microdia Integrated Webcam HD driver: uvcvideo type: USB
    bus-ID: 2-5:3
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
    resolution: 1366x768~60Hz
  API: EGL v: 1.5 drivers: iris,kms_swrast,nvidia,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.5-1ubuntu1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 5500 (BDW
    GT2)
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:03.0
  Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Device-3: NVIDIA GK208 HDMI/DP Audio driver: snd_hda_intel v: kernel
    bus-ID: 08:00.1
  API: ALSA v: k6.8.0-35-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
    vendor: Dell Vostro 3470 driver: ath9k v: kernel bus-ID: 06:00.0
  IF: wlp6s0 state: down mac: <filter>
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
    driver: r8169 v: kernel port: e000 bus-ID: 07:00.0
  IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB bus-ID: 2-6:14
  Report: hciconfig ID: hci0 rfk-id: 5 state: up address: <filter> bt-v: 4.1
    lmp-v: 7
Drives:
  Local Storage: total: 700.51 GiB used: 109.73 GiB (15.7%)
  ID-1: /dev/sda vendor: Kingston model: SA400S37240G size: 223.57 GiB
  ID-2: /dev/sdb model: SSD 512GB size: 476.94 GiB
Partition:
  ID-1: / size: 217.97 GiB used: 27.57 GiB (12.6%) fs: ext4 dev: /dev/sda1
  ID-2: /boot/efi size: 1.05 GiB used: 6.1 MiB (0.6%) fs: vfat
    dev: /dev/sda2
  ID-3: /home size: 468.38 GiB used: 82.15 GiB (17.5%) fs: ext4
    dev: /dev/sdb1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 512.4 MiB (12.5%) file: /swap.img
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A sodimm: SODIMM C
  Fan Speeds (rpm): cpu: 3500
Info:
  Memory: total: 16 GiB available: 15.53 GiB used: 12.63 GiB (81.3%)
  Processes: 320 Uptime: 1d 22h 29m Init: systemd target: graphical (5)
  Packages: 2012 Compilers: N/A Shell: Bash v: 5.2.21 inxi: 3.3.34

Bem vindo ao fórum, Arlindo.

Qual a saída do comando:

sudo service bluetooth status

Você poderia experimentar se o bluetooth funciona em outras distros. Crie um Live USB com outro sistema como o Zorin ou Linux Mint, e veja se o bluetooth funciona neles.

Boa tarde rapaz, com todo respeito e não quero te desrespeitar mas existe uma solução alternativa mas temo que você não use essa alternativa então vamos lá.
O seu notebook foi projetado somente para windows. A alternativa seria colocar um mouse USB e colocar um adaptador bluetooth TP-LINK e seja feliz. O notebook de meu vizinho é parecido com o seu, ele instalou o fedora workstation, plugou um teclado e mouse usb externo e um nano-usb UB500 TP-LINK e ele tá feliz da vida.

wmassis desculpa pela demora, mas aqui vai a saída do comando:

Rimana desculpa a demora em responder, não se preocupe pqe vc não me desrespeita de jeito algum, afinal eu sou um vovô da TI (65 anos e ainda codando atualmente em java :slight_smile: ).
Voltando ao assunto, vc tem razão a maquina foi feita para usar com windows (que desperdício) por isso passei a utilizar o mouse na USB e desisti de tentar usar o bluetooth e tá tudo bem.
Tudo de bom pra vc e um abraço grande.

Também desisti de utilizar o mouse no bluetooth, afinal a maquina foi feita pela para ser usada com Windows (que desperdício) e por isso passei a usar o mouse pela USB.
Valeu sua ajuda e um grande abraço.

Rapaz, é USB? porque ser for e for tmb um notebook então as USB esta entrando em economia de energia.

Fiz o procedimento indicado, mas infelizmente não funcionou.
De qualquer forma obrigado.
abs.

Eu utilizo um dongle Bluetooth 5.0 Baseus Ba04, ele funciona bem, mas sempre tive um problema que na inicialização do sistema se estiver conectado na maquina ele não ativa, o sistema reconhece, mas não ativa.


Para que ele ative tenho de remover e reconectar do pc, dai então ele funciona muito bem, porem isso começou a me incomodar um pouco.
Atualmente estou utilizando o ubuntu 24.10, mas já tenho esse mesmo problema a vários anos