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[bluetooth](ubuntu)

Martin Hope
Fayas
Asked: 2025-04-25 10:25:19 +0800 CST

O Bluetooth não está funcionando

  • 5

Estou usando um laptop Acer Aspire Lite (AL15-41) e Ubuntu 24.04. O problema é que o Ubuntu não está reconhecendo dispositivos Bluetooth (meu celular e meu alto-falante). Meu celular não estava reconhecendo meu laptop.

captura de tela

Mudei o kernel para a versão mais recente. Nenhuma mudança nesse problema. C O que posso fazer agora?

bluetooth
  • 2 respostas
  • 133 Views
Martin Hope
Ur Niiicb
Asked: 2025-04-09 21:06:36 +0800 CST

O Bluetooth está sendo exibido, mas não detecta ou é detectado. Como consertar?

  • 5

Versão do kernel: *6.11.0-21-generic*

sudo dmesg | grep -i bluetooth | tail -n 30

[    3.686609] usb 3-3: Product: Bluetooth Radio
[    5.272165] Bluetooth: Core ver 2.22
[    5.272217] NET: Registered PF_BLUETOOTH protocol family
[    5.272220] Bluetooth: HCI device and connection manager initialized
[    5.272227] Bluetooth: HCI socket layer initialized
[    5.272231] Bluetooth: L2CAP socket layer initialized
[    5.272239] Bluetooth: SCO socket layer initialized
[    5.399632] Bluetooth: hci0: urb 000000006b6bc71e failed to resubmit (2)
[    7.443428] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[    8.555200] Bluetooth: hci0: unexpected event for opcode 0x0c03
[    8.556660] Bluetooth: hci0: unexpected event for opcode 0x0000
[    8.765298] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.765307] Bluetooth: BNEP filters: protocol multicast
[    8.765315] Bluetooth: BNEP socket layer initialized
[    8.768694] Bluetooth: MGMT ver 1.23
[   17.810960] Bluetooth: RFCOMM TTY layer initialized
[   17.810981] Bluetooth: RFCOMM socket layer initialized
[   17.810995] Bluetooth: RFCOMM ver 1.11

LSUSB

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root 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 13d3:3601 IMC Networks Bluetooth Radio
Bus 003 Device 003: ID 04f2:b729 Chicony Electronics Co., Ltd Chicony USB2.0 Camera
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

usb-devices | grep -A 20 -i bluetooth


    S:  Product=Bluetooth Radio
    S:  SerialNumber=00e04c000001
    C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
    E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
    E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
    
    T:  Bus=03 Lev=01 Prnt=02 Port=03 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
    D:  Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=04f2 ProdID=b729 Rev=27.39
    S:  Manufacturer=CHICONY
    S:  Product=Chicony USB2.0 Camera
    S:  SerialNumber=200901010001
    C:  #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
    E:  Ad=83(I) Atr=03(Int.) MxPS=  32 Ivl=4ms
    I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

lsmod | grep -i bluetooth

    bluetooth            1028096  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm

bluetooth
  • 1 respostas
  • 81 Views
Martin Hope
xealits
Asked: 2025-02-08 11:21:13 +0800 CST

Ubuntu 24.04, o controlador Bluetooth está conectado, mas não aparece no Steam

  • 5

É um controle 8BitDo SN30 pro+. Ele é conectado por meio de um dongle USB Bluetooth. Ele costumava funcionar perfeitamente bem. Mas em algum momento após uma atualização recente, todo o comportamento simplesmente degradou. Ele costumava vibrar na conexão - agora nunca mais. Ele pode se desconectar aleatoriamente logo após ser conectado. De alguma forma, reiniciando as coisas e reemparelhando, consegui fazê-lo funcionar em um jogo do Steam algumas vezes recentemente. Mas fica muito doloroso.

Vejo que ele está pareado, confiável e conectado em blueman-applet, e em bluetoothctl info. Mas o Steam não o detecta: Steam > Configurações > Controles diz "Nenhum controle detectado".

E não vejo nada relacionado a um controle em /dev. Ou seja, de acordo com o Arch Gamepad wiki, ele deveria aparecer como /dev/input/jsXe como algo em /dev/input/by-id/. No meu caso, não há jsXdispositivos, /dev/input/contém apenas eventXdispositivos e micee mouse0. Tudo o que vejo em /dev/input/by-id/são meu teclado e mouse. E há um pouco mais em /dev/input/by-path/:

$ ls /dev/input/by-path/ -l
total 0
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usb-0:2:1.1-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usb-0:2:1.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usbv2-0:2:1.1-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usbv2-0:2:1.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Feb  8 03:31 platform-eeepc-wmi-event -> ../event4
lrwxrwxrwx 1 root root 9 Feb  8 03:31 platform-i8042-serio-0-event-kbd -> ../event2

Acho que i8042é o driver do teclado. Não tenho certeza do que é platform-eeepc-wmi-event.

Então, acho que o bluetooth conecta o dispositivo, mas o controle não é reconhecido.

Quando olho journalctl -fenquanto conecto no bluetooth, recebo isto:

dunst[10327]: CRITICAL: Source ID 73 was not found when attempting to remove it
kernel: nintendo 0005:057E:2009.0008: unknown main item tag 0x0
kernel: nintendo 0005:057E:2009.0008: hidraw3: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on 44:01:bb:ad:a0:55
kernel: nintendo 0005:057E:2009.0008: Failed to get joycon info; ret=-110
kernel: nintendo 0005:057E:2009.0008: Failed to retrieve controller info; ret=-110
kernel: nintendo 0005:057E:2009.0008: Failed to initialize controller; ret=-110
kernel: nintendo 0005:057E:2009.0008: probe - fail = -110
kernel: nintendo: probe of 0005:057E:2009.0008 failed with error -110

Então, ele é reconhecido como um controle nintendo, mas falha ao ser inicializado? Como posso consertar isso? Devo instalar algum driver para o controle?

Atualização: Também atualizei o FW no controlador para a última versão suportada v6.01. Ainda assim, os mesmos erros nintendo ... failed to initialize the controllerem journalctl -f.

bluetooth
  • 1 respostas
  • 15 Views
Martin Hope
Srinath Avadhanula
Asked: 2025-02-02 02:39:09 +0800 CST

O pareamento Bluetooth não funciona no Ubuntu 24.04

  • 5

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 respostas
  • 69 Views
Martin Hope
Relic
Asked: 2025-01-08 19:35:29 +0800 CST

Sem bluetooth, WiFi funcionando para MediaTek (Bluetooth) MT7921 no Ubuntu 24.04.01 LTS

  • 5

Estou usando um Acer Nitro V ANV15 que usa MediaTek Bluetooth MT7921 para WiFi e Bluetooth. Tenho o Ubuntu 24.04.01 LTS com 6.8.0-51-generic para seu kernel.

Tentei reiniciar e verificar o status do bluetooth e ele diz que o serviço está em execução. No entanto, ao tentar ligar o bluetooth por meio das configurações do GNOME, o toggle se recusa a funcionar. Usar o terminal com bluetoothctl também diz que não há um controlador padrão.

Estranhamente, a parte do WiFi ainda funciona corretamente. Eu até tentei desligá-lo na chance remota de que pudesse estar interferindo no bluetooth, mas isso não funcionou. Eu também executei sudo apt update e upgrade só para ter certeza.

Além disso, estou fazendo dual boot com o Windows e o bluetooth funciona corretamente com esse SO. O WiFi funcionou direto da caixa durante a instalação dual boot (depois de executar sudo apt update e upgrade uma vez).

Parece que esse não é um problema antigo, considerando que vi relatos sobre isso para o kernel Linux ~5.0. Já existe alguma correção para essa versão mais nova?

EDIT: Informações adicionais conforme solicitado por Jeremy31:

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root 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 0408:403a Quanta Computer, Inc. ACER HD User Facing
Bus 003 Device 003: ID 13d3:3606 IMC Networks Wireless_Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
sudo dmesg | egrep -i 'blue|firm'
[    0.149202] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    2.048553] Bluetooth: Core ver 2.22
[    2.048577] NET: Registered PF_BLUETOOTH protocol family
[    2.048578] Bluetooth: HCI device and connection manager initialized
[    2.048582] Bluetooth: HCI socket layer initialized
[    2.048584] Bluetooth: L2CAP socket layer initialized
[    2.048588] Bluetooth: SCO socket layer initialized
[    2.371476] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
[    2.384614] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[    2.384620] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    2.743129] mt7921e 0000:3e:00.0: WM Firmware Version: ____010000, Build Time: 20240219111038
[    3.103798] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.103803] Bluetooth: BNEP filters: protocol multicast
[    3.103807] Bluetooth: BNEP socket layer initialized
[    3.774665] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
[    3.774670] sof-audio-pci-intel-tgl 0000:00:1f.3:  Firmware file:     intel/sof/sof-rpl.ri
[    3.775861] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.775866] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    3.864754] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.864759] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    4.450398] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[ 1380.079922] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[ 1380.079926] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 1380.940420] audit: type=1400 audit(1736591719.235:249): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=16622 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 5091.766316] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[ 5091.766330] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 5121.929122] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[ 5121.929127] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 5123.394812] audit: type=1400 audit(1736612644.852:267): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=42330 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
No message appears for dkms status after installing it
bluetooth
  • 1 respostas
  • 69 Views
Martin Hope
user149408
Asked: 2025-01-01 23:54:37 +0800 CST

Não é possível parear com UE MEGAOOM após desemparelhar

  • 5

Depois de ter problemas com meu UE MEGABOOM, tentei desemparelhar e parear novamente. No entanto, o pareamento falha constantemente – tentei reiniciar, assim como parear usando Blueman e bluetoothctl.

Tudo o que recebo é uma mensagem dizendo que o pareamento falhou. bluetoothctlme dá:

Failed to pair: org.bluez.Error.AuthenticationFailed

O que acontece?

bluetooth
  • 1 respostas
  • 15 Views
Martin Hope
J. Doe
Asked: 2024-12-29 00:13:23 +0800 CST

Por que o Ubuntu não consegue se conectar ao fone de ouvido pareado?

  • 5

Meu fone de ouvido está pareado com bluetooth no Ubuntu (24.04.1 LTS), mas quando clico em conectar a operação falha. Toda vez que quero conectar, preciso desconectar os fones de ouvido (da lista de dispositivos pareados) e repará-los novamente. Como resolver esse problema?

bluetooth
  • 1 respostas
  • 45 Views
Martin Hope
voidf.0xb3
Asked: 2024-11-23 03:50:14 +0800 CST

Os fones de ouvido Bluetooth devem ser pareados após cada reinicialização

  • 5

Estou tendo um problema com meus novos fones de ouvido Bluetooth (HONOR CHOICE Open-Ear Earbuds). Posso pareá-los com meu PC Ubuntu 24.10 (é um computador de mesa com um dongle Bluetooth), depois disso eles funcionam perfeitamente, até eu reiniciar o computador (ou reiniciar o bluetoothserviço), momento em que ele não consegue se conectar. Isso não aconteceu com meus fones de ouvido Bluetooth anteriores, que funcionaram perfeitamente no Ubuntu.

A única maneira de conectar os fones de ouvido após uma reinicialização é passando pelo que parece ser outro processo de pareamento: depois de alguns ajustes (desligando e ligando os fones de ouvido ou o dongle, tentando conectar repetidamente), o Ubuntu me pede para confirmar um código de 6 dígitos e, depois que clico em "Confirmar", os fones de ouvido funcionam novamente. (A questão do código de 6 dígitos é estranha por si só, a propósito: fones de ouvido anteriores não exigiam um, e não há como os fones de ouvido exibirem um código, de qualquer forma, então não estou realmente comparando esse código com nada.)

Após esse procedimento, o LinkKeyin /var/lib/bluetooth/XX:XX:XX:XX:XX:XX/XX:XX:XX:XX:XX:XX/infomuda; também, o programa Bluetooth Manager que eu instalei ( bluemanpacote) mostra o mesmo código em uma notificação rotulada como "Bluetooth Pairing Request". Isso me deixa razoavelmente certo de que esse é, de fato, outro pareamento que acontece.

Esse problema é específico do Ubuntu: ele não acontece em uma instalação do Windows 11 na mesma máquina, que não tem problemas para se reconectar após uma reinicialização. (Observe que esse não é o problema de ter que sincronizar a chave Bluetooth entre dois sistemas operacionais diferentes em caso de inicialização dupla: aqui estou pareando os fones de ouvido com o Ubuntu e, em seguida, reiniciando no Ubuntu novamente, sem tocar no Windows. Estou mencionando o Windows apenas para restringir o problema ao Ubuntu, em vez dos fones de ouvido ou do hardware do PC.)

Se eu tentar conectar os fones de ouvido via linha de comando, aparece a seguinte mensagem de erro (eu redigi o endereço do dispositivo):

$ bluetoothctl connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Failed to connect: org.bluez.Error.Failed br-connection-unknown

Como posso corrigir esse problema?

EDIT: Descobri a btmonferramenta que parece despejar o rastro completo das mensagens Bluetooth trocadas entre o computador e os dispositivos com os quais ele interage.

No rastreamento de uma tentativa de conexão com falha, encontrei a seguinte troca:

> HCI Event: Link Key Request (0x17) plen 6                                                                                                                                                                          #55 [hci0] 13.039915
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6                                                                                                                                                  #56 [hci0] 13.039939
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)

Aqui está a parte correspondente do rastreamento de uma tentativa de conexão bem-sucedida (após um pareamento e antes de uma reinicialização):

> HCI Event: Link Key Request (0x17) plen 6                                                                                                                                  #34 [hci0] 13.524821
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22                                                                                                                  #35 [hci0] 13.524834
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)
        Link key[16]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Parece que o Ubuntu não se lembra de que tem uma chave de link para o dispositivo depois que o bluetoothserviço é reiniciado.

bluetooth
  • 1 respostas
  • 75 Views
Martin Hope
daemon_nio
Asked: 2024-09-21 04:18:34 +0800 CST

Não consigo ativar o Bluetooth no Ubuntu 24.04 LTS

  • 6

Como muitos usuários, estou tendo problemas com o bluetooth. Estou usando o Linux 6.8.0-45-generic on x86_64 #45-Ubuntu 24.04.1 LTS, recém-instalado.
Quando eu entro Settings -> Bluetoothe clico no botão para habilitar, ele desabilita instantaneamente.

Meu laptop acabou de ser comprado e você pode ver as especificações completas aqui

Tentei seguir a maioria dos passos em

  • Não consigo ativar o Bluetooth no Ubuntu 22.04 LTS
  • https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1859592

Nenhum resolveu o problema.
Não consigo remover a bateria do meu laptop, então tentei desabilitar/habilitar no truque do bios, mas não ajudou.

A principal mensagem de erro relatada é:

  • Bluetooth: hci0: Opcode 0x0c03 falhou: -110
sudo dmesg | grep -i blue
[    2.511496] Bluetooth: Core ver 2.22
[    2.511532] NET: Registered PF_BLUETOOTH protocol family
[    2.511535] Bluetooth: HCI device and connection manager initialized
[    2.511548] Bluetooth: HCI socket layer initialized
[    2.511553] Bluetooth: L2CAP socket layer initialized
[    2.511561] Bluetooth: SCO socket layer initialized
[    4.437283] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.437291] Bluetooth: BNEP filters: protocol multicast
[    4.437307] Bluetooth: BNEP socket layer initialized
[    4.675379] Bluetooth: hci0: Opcode 0x0c03 failed: -110

Mas diferente de muitas outras pessoas que relataram o erro, quando verifico o status do bluetooth.service ele diz ativo :

sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-09-17 13:17:46 BST; 21min ago
       Docs: man:bluetoothd(8)
   Main PID: 949 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 37564)
     Memory: 2.8M (peak: 3.1M)
        CPU: 51ms
     CGroup: /system.slice/bluetooth.service
             └─949 /usr/libexec/bluetooth/bluetoothd

Sep 17 13:17:46 matrix bluetoothd[949]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support micp plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support vcp plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support mcp plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support bass plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support bap plugin
Sep 17 13:17:46 matrix bluetoothd[949]: Bluetooth management interface 1.22 initialized
Sep 17 13:17:46 matrix systemd[1]: Starting bluetooth.service - Bluetooth service...
Sep 17 13:17:46 matrix (uetoothd)[949]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (>
Sep 17 13:17:46 matrix systemd[1]: Started bluetooth.service - Bluetooth service.

Alguém tem alguma dica do que eu poderia tentar/verificar?




Editado: Adicionando lsusbsaída conforme solicitado.

$ lsusb; sudo dmesg| grep -i firm
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 13d3:3585 IMC Networks Wireless_Device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2b7e:c858 Kingcome FHD WebCam
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

É um bluetooth interno, não um usb... mas foi adicionado caso eu esteja esquecendo de alguma coisa.

bluetooth
  • 1 respostas
  • 67 Views
Martin Hope
Andrew Harlan
Asked: 2024-08-31 16:08:27 +0800 CST

Preciso habilitar a conexão bluetooth no Ubuntu para o mouse bluetooth?

  • 5

Percebi que a conexão bluetooth estava desligada no Ubuntu, mesmo usando um mouse bluetooth. O ponteiro não se move suavemente há alguns dias, então estou procurando as possíveis razões. Acho que o mouse faz a comunicação bluetooth por meio de seu dongle USB, mas me pergunto se devo habilitar a conexão bluetooth no Ubuntu também. Ligá-lo não ajudou a resolver o problema.

bluetooth
  • 1 respostas
  • 18 Views

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