AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / Perguntas / 1540238
Accepted
Srinath Avadhanula
Srinath Avadhanula
Asked: 2025-02-02 02:39:09 +0800 CST2025-02-02 02:39:09 +0800 CST 2025-02-02 02:39:09 +0800 CST

O pareamento Bluetooth não funciona no Ubuntu 24.04

  • 772

Tenho o Ubuntu 24.04 instalado no meu novo desktop ABS e, embora hciconfig e bluetoothctl não mostrem nenhum erro, não consigo ver nenhum dispositivo durante a varredura.

$ hciconfig
hci0:   Type: Primary  Bus: USB
        BD Address: FC:B0:DE:38:30:96  ACL MTU: 1021:8  SCO MTU: 255:12
        UP RUNNING PSCAN ISCAN
        RX bytes:5389 acl:0 sco:0 events:539 errors:0
        TX bytes:19604 acl:0 sco:0 commands:519 errors:0

Usar bluetoothctl manualmente faz algo como:

$ bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
[bluetooth]# Default agent request successful
[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller FC:B0:DE:38:30:96 Discovering: yes
[bluetooth]#

O lsmod não mostra nada de engraçado até onde eu sei:

$ lsmod | grep btusb
btusb                  77824  0
btrtl                  32768  1 btusb
btintel                57344  1 btusb
btbcm                  24576  1 btusb
btmtk                  12288  1 btusb
bluetooth            1028096  46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm

~ ⌚ 13:34:42
$ lsmod | grep bluetooth
bluetooth            1028096  46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  2 bluetooth

Aqui está o resultado de lsusb; sudo dmesg | egrep -i 'blue|firm':

$ lsusb; sudo dmesg | egrep -i 'blue|firm'
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0489:e112 Foxconn / Hon Hai Bluetooth Radio
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[    1.157720] usb 3-1: Product: Bluetooth Radio
[    4.892212] systemd[1]: Mounting snap-firmware\x2dupdater-127.mount - Mount unit for firmware-updater, revision 127...
[    4.893131] systemd[1]: Mounting snap-firmware\x2dupdater-147.mount - Mount unit for firmware-updater, revision 147...
[    5.078863] Bluetooth: Core ver 2.22
[    5.103287] NET: Registered PF_BLUETOOTH protocol family
[    5.103290] Bluetooth: HCI device and connection manager initialized
[    5.103294] Bluetooth: HCI socket layer initialized
[    5.103296] Bluetooth: L2CAP socket layer initialized
[    5.103303] Bluetooth: SCO socket layer initialized
[    5.319068] rtw89_8851be 0000:08:00.0: loaded firmware rtw89/rtw8851b_fw.bin
[    5.319858] rtw89_8851be 0000:08:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 5
[    5.319861] rtw89_8851be 0000:08:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 3
[    6.292072] [drm] Loading DMUB firmware via PSP: version=0x05000F00
[    6.292458] [drm] Found VCN firmware Version ENC: 1.30 DEC: 3 VEP: 0 Revision: 4
[    6.292464] amdgpu 0000:0b:00.0: amdgpu: Will use PSP to load VCN firmware
[    7.299392] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.299396] Bluetooth: BNEP filters: protocol multicast
[    7.299401] Bluetooth: BNEP socket layer initialized
[    7.300285] Bluetooth: MGMT ver 1.22
[    9.138499] Bluetooth: RFCOMM TTY layer initialized
[    9.138505] Bluetooth: RFCOMM socket layer initialized
[    9.138508] Bluetooth: RFCOMM ver 1.11
[ 7300.714099] audit: type=1400 audit(1738440042.768:183): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=28130 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[18100.787075] audit: type=1400 audit(1738450842.532:184): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=74038 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

Neste ponto, estou sem ideias e agradeceria muito qualquer ajuda. Para "diversão", aqui está uma sessão de depuração que tentei com chat-gpt

bluetooth
  • 1 1 respostas
  • 69 Views

1 respostas

  • Voted
  1. Best Answer
    Jeremy31
    2025-02-02T20:42:35+08:002025-02-02T20:42:35+08:00

    Verifique mokutil --sbse o Secure Boot precisará ser desabilitado e, em seguida, no terminal

    sudo apt install git dkms
    git clone https://github.com/jeremyb31/bluetooth-6.8.git -b 6.5-50
    sudo dkms add ./bluetooth-6.8
    sudo dkms install btusb/4.2

    Reinício

    Eu tenho o código no meu site github

    • 0

relate perguntas

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve