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 / 1503705
Accepted
jones0610
jones0610
Asked: 2024-02-16 09:58:39 +0800 CST2024-02-16 09:58:39 +0800 CST 2024-02-16 09:58:39 +0800 CST

Bluetooth não funciona no ASUS ROG M8F Ubuntu 22.04.3LTS

  • 772

Esta pergunta foi feita várias vezes, mas nenhuma resposta foi postada.

Não é possível ligar o Bluetooth no Ubuntu 23.10 (Asus ROG ROG Flow X13 GV302XV) parecia uma ótima resposta, mas não funcionou no meu caso.

sudo dkms install btusb/4.1

falhou no final da compilação. No entanto, esta resposta visava um problema com uma conexão USB BT. No meu caso, o bluetooth está implementado na mobo.

$ sudo service bluetooth status
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
     Active: active (running) since Fri 2024-02-16 21:38:23 PST; 1 day 21h ago
       Docs: man:bluetoothd(8)
   Main PID: 1905 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 76903)
     Memory: 2.3M
        CPU: 172ms
     CGroup: /system.slice/bluetooth.service
             └─1905 /usr/lib/bluetooth/bluetoothd

Feb 18 17:30:50 Ubuntu bluetoothd[1905]: Endpoint unregistered: sender=:1.89 pa>
Feb 18 17:30:50 Ubuntu bluetoothd[1905]: Endpoint unregistered: sender=:1.89 pa>

Mostra que o serviço está funcionando bem. Mas... não há ícone de bluetooth na barra de status superior direita (como na minha máquina M8H usando um dongle BT)

sudo lshw | grep blue -C 8 
configuration: driver=usbhid maxpower=500mA speed=12Mbit/s
              *-usb:1
                   description: Bluetooth wireless interface
                   product: Qualcomm Bluetooth 4.1
                   vendor: ASUSTek Computer, Inc.
                   physical id: 9
                   bus info: usb@1:9
                   version: 0.01
                   capabilities: bluetooth usb-2.01
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.15.0-94-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.15

O Bluetooth funcionou nesta máquina anteriormente, mas isso poderia ter acontecido quando versões anteriores do Ubuntu foram instaladas.

As especificações da mobo são v4.0/3.0+HS em um chipset Intel Z170.

O problema: nas configurações de BT do Ubuntu, o bluetooth está ativado e a roda de busca de dispositivos está girando, mas nenhum dispositivo foi encontrado. Isso é verdade mesmo se eu instalar um dongle BT. O desktop ao lado é uma mobo ASUS ROG M8H sem BT integrado. Com um dongle instalado, ele se conecta imediatamente a dispositivos BT selecionados. Ambas as máquinas estão executando versões idênticas do Ubuntu.

A ASUS possui firmware para bt, mas apenas no formato Microsoft. Eles deixam claro que não suportam *NIX, mas obviamente muitos de nós rodamos Ubuntu em máquinas ROG sem problemas.

Eu gostaria de poder executar apenas um alto-falante via BT em cada desktop, em vez de ter quatro conjuntos de alto-falantes, um conectado a cada máquina. Sim, eu sei que só posso emparelhar o dispositivo com um PC por vez.

sudo dmesg|grep Blue
[165140.288091] Bluetooth: hci0: unexpected event for opcode 0x2005

bluetoothctlacende, mas não entendo o suficiente sobre essa ferramenta para usá-la de forma produtiva. Parece que está funcionando bem. Apenas nenhum dispositivo foi descoberto (e sim, a antena wi-fi está conectada. O manual sugere que isso é necessário para BT)

$ hciconfig
hci0:   Type: Primary  Bus: USB
    BD Address: C8:FF:28:31:81:72  ACL MTU: 1024:8  SCO MTU: 50:8
    DOWN 
    RX bytes:13041 acl:0 sco:0 events:2012 errors:0
    TX bytes:17186 acl:0 sco:0 commands:1506 errors:0

Como esperado para uma capacidade BT integrada

$ btmgmt info
Index list with 1 item
hci0:   Primary controller
    addr C8:FF:28:31:81:72 version 7 manufacturer 29 class 0x000000
    supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr hs le advertising secure-conn debug-keys privacy static-addr phy-configuration 
    current settings: ssp br/edr le secure-conn 
    name Ubuntu
    short name 

$ bluetoothctl list
Controller C8:FF:28:31:81:72 Ubuntu [default]

$ rfkill unblock all
frankie@Ubuntu:~$ hciconfig
hci0:   Type: Primary  Bus: USB
    BD Address: C8:FF:28:31:81:72  ACL MTU: 1024:8  SCO MTU: 50:8
    DOWN 
    RX bytes:13041 acl:0 sco:0 events:2012 errors:0
    TX bytes:17195 acl:0 sco:0 commands:1509 errors:0

frankie@Ubuntu:~$ bluetoothctl power on
Failed to set power on: org.bluez.Error.Busy
frankie@Ubuntu:~$ bluetoothctl scan on
Failed to start discovery: org.bluez.Error.NotReady

$ bluetoothctl
Agent registered
[CHG] Controller C8:FF:28:31:81:72 Pairable: yes

[bluetooth]# list
Controller C8:FF:28:31:81:72 Ubuntu [default]
[bluetooth]# show
Controller C8:FF:28:31:81:72 (public)
    Name: Ubuntu
    Alias: Ubuntu
    Class: 0x00000000
    Powered: no
    Discoverable: no
    DiscoverableTimeout: 0x00000000
    Pairable: yes
    UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
    UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
    UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
    UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
    UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
    UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
    UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
    UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d0540
    Discovering: no
    Roles: central
    Roles: peripheral
Advertising Features:
    ActiveInstances: 0x00 (0)
    SupportedInstances: 0x05 (5)
    SupportedIncludes: tx-power
    SupportedIncludes: appearance
    SupportedIncludes: local-name
[bluetooth]# devices
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Busy

Ideias?

22.04
  • 1 1 respostas
  • 92 Views

1 respostas

  • Voted
  1. Best Answer
    Daniel T
    2024-02-19T11:59:30+08:002024-02-19T11:59:30+08:00

    Seu driver foi instalado com sucesso. Você só precisa ativar o dispositivo:

    1. rfkill unblock all
    2. hciconfige veja que o "DOWN" se transforma em "UP RUNNING PSCAN"
    3. bluetoothctl power on
    4. bluetoothctl scan one ver dispositivos próximos

    A ausência dmesge journalctlos erros significam que nada deu errado. Você driver=btusbcarregou o driver e detectou o dispositivo interno corretamente. O problema era o "DOWN" em hciconfig, e a coisa correspondente que você veria em rfkill list.

    • 1

relate perguntas

  • Conexão lenta à Internet no Ubuntu 22.04 Beta [fechado]

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