Não consigo ligar o Bluetooth no Ubuntu 22.04 LTS

Não consigo ligar o Bluetooth no Ubuntu 22.04 LTS

Acabei de instalar uma nova cópia do Ubuntu 22.04 LTS no meu laptop Lenovo e todo o sistema Bluetooth não funciona (quero dizer, o botão de alternância não funciona). Estou recebendo a mensagem mostrada na imagem abaixo:

Configurações de Bluetooth

Aqui está a saída de lspci -knn | grep Net -A3; lsusb; dmesg | grep -i blue:

09:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Lenovo QCA9565 / AR9565 Wireless Network Adapter [17aa:4026]
    Kernel driver in use: ath9
    Kernel modules: ath9k
Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0cf3:3004 Qualcomm Atheros Communications 
AR3012 Bluetooth 4.0
Bus 002 Device 003: ID 13d3:5727 IMC Networks Lenovo EasyCamera
Bus 002 Device 002: ID 1c4f:0c07 SiGma Micro USB Keyboard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg: read kernel buffer failed: Operation not permitted

Eu tentei de tudo, mas não consigo fazer funcionar. Estou esquecendo de algo?

Responder1

Então, finalmente encontrei a solução para isso

(ISSO FUNCIONOU PARA MIM)*

$ sudo systemctl status bluetooth.service

Sua saída deve ser semelhante a:

 bluetooth.service
 Loaded: masked (Reason: Unit bluetooth.service is masked.)
 Active: inactive (dead)

Para corrigir isso,

$ systemctl desmascara bluetooth.service

$ sudo systemctl iniciar bluetooth.service

$ sudo rmmod btusb

$ sudo systemctl ativar bluetooth

bluetooth.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth

$ sudo systemctl status bluetooth.service

bluetooth.service - LSB: Start bluetooth daemons
 Loaded: loaded (/etc/init.d/bluetooth; generated)
 Active: active (exited) since Wed 2022-05-11 22:00:50 +0545; 1min 31>
   Docs: man:systemd-sysv-generator(8)
    CPU: 2ms

$ sudo apt-get remover bluez

$ sudo apto instalar bluez

Estes são apenas para verificação:

$ sudo systemctl iniciar bluetooth

$ sudo systemctl status bluetooth.service

bluetooth.service - Bluetooth service
 Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vend>
 Active: active (running) since Wed 2022-05-11 22:08:13 +0545; 1min 2>
   Docs: man:bluetoothd(8)
 Main PID: 84272 (bluetoothd)
 Status: "Running"
  Tasks: 1 (limit: 4525)
 Memory: 692.0K
    CPU: 102ms
 CGroup: /system.slice/bluetooth.service
         └─84272 /usr/lib/bluetooth/bluetoothd

$ sudo apt-get install pulseaudio-module-bluetooth

$ killall pulseaudio

Reinício

ESTRONDO!

Responder2

Experimente isto:

sudo apt update && sudo apt upgrade
sudo systemctl start bluetooth
rfkill unblock bluetooth

editar: tente reinicializar depois também

Responder3

Então finalmente encontrei a solução para isso.

Fonte:A resposta de Nilson OliveiraparaUbuntu 22.04 LTS diz que nenhum bluetooth foi encontrado, conecte um dongle para usar o bluetooth

Confira o resultado para isso:

sudo dmesg |grep -i bluetooth

Meu caso foi idêntico ao seu, e estava dando esse erro no resultado:

[    3.935429] Bluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu

E a solução foi seguirresposta do zxcdeparaArquivo de patch não encontrado ar3k/AthrBT_0x31010000.dfu:

Você pode tentar minha solução:

  1. Baixar linux-firmware_1.201.tar.xzdehttp://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.201.tar.xz (você pode visitarhttps://packages.ubuntu.com/impish/linux-firmwarepara mais detalhes).
  2. Extraia linux-firmware_1.201.tar.xze copie a ar3kpasta para /lib/firmware.
  3. Reinicie o seu computador.
  1. Se você obtiver a saída no blockquote acima, baixe linux-firmware_1.201.tar.xzemaqui.

  2. Extraia-o e vá para a pasta conforme mostrado abaixo:

    pasta extraída

  3. Copie a pasta ar3kpara /lib/firmware. Você também pode usar o seguinte comando:

    sudo cp -R ar3k /lib/firmware
    

    Observação:Certifique-se de abrir o terminal dentro da pasta extraída.

  4. Reinicie o seu PC e você poderá usar o Bluetooth novamente.

Responder4

Por favor, tente o seguinte em um terminal (verifique se o sistema está inativo): ~$ hciconfig

hci0:   Type: Primary  Bus: USB
    BD Address: C0:18:85:50:33:42  ACL MTU: 1022:8  SCO MTU: 121:3
    DOWN 
    RX bytes:1087 acl:0 sco:0 events:128 errors:0
    TX bytes:4933 acl:0 sco:0 commands:95 errors:18

Se o sistema estiver realmente inoperante, digite o seguinte e reinicie

~$ sudo hciconfig -a hci0 up

informação relacionada