Perdeu a funcionalidade do bluetooth após a atualização de 17.04 para 17.10

2

Um dia atrás ou antes de atualizar de 17.04 para 17.10, consegui conectar meu computador com meus fones de ouvido via bluetooth. Agora eu não posso. Eu pensei que talvez eu precisasse instalar o Bluetooth Manager e o Adaptador Bluetooth do Gerenciador de software, mas isso não ajudou. Alguém pode sugerir algum código que eu possa usar através do terminal para reinstalar os drivers bluetooth ou o que não está funcionando para que eu possa voltar a usar a função bluetooth no meu computador? Nas configurações, Bluetooth, diz que conecte um dongle para usar o bluetooth agora. Não disse isso antes.

brian@brian-Gazelle-Professional:~$ sudo service bluetooth status
[sudo] password for brian: 
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: inactive (dead)
     Docs: man:bluetoothd(8)

brian@brian-Gazelle-Professional:~$ dmesg | grep -i blue
[ 1837.682565] audit: type=1400 audit(1509035362.629:112): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.bluetoothctl" pid=5534 comm="apparmor_parser"
[ 1837.739136] audit: type=1400 audit(1509035362.686:113): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.bluez" pid=5536 comm="apparmor_parser"
[ 1837.796899] audit: type=1400 audit(1509035362.743:114): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.btmgmt" pid=5538 comm="apparmor_parser"
[ 1837.855706] audit: type=1400 audit(1509035362.802:115): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.btmon" pid=5540 comm="apparmor_parser"
[ 1837.906840] audit: type=1400 audit(1509035362.853:116): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.hciattach" pid=5542 comm="apparmor_parser"
[ 1837.960018] audit: type=1400 audit(1509035362.906:117): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.hciconfig" pid=5544 comm="apparmor_parser"
[ 1838.017010] audit: type=1400 audit(1509035362.963:118): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.hcidump" pid=5546 comm="apparmor_parser"
[ 1838.071942] audit: type=1400 audit(1509035363.018:119): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.hcitool" pid=5548 comm="apparmor_parser"
[ 1838.121894] audit: type=1400 audit(1509035363.068:120): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.obex" pid=5550 comm="apparmor_parser"
[ 1838.170836] audit: type=1400 audit(1509035363.117:121): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.bluez.obexctl" pid=5552 comm="apparmor_parser"
    
por B. Kunzelmann 26.10.2017 / 18:25

1 resposta

3

Eu atualizei o Kubuntu de 17.04 para 17.10 ontem.

Principalmente o mesmo problema para mim, não consigo mais conectar meu alto-falante bluetooth (RYGHT TANK), embora meu serviço bluetooth esteja em execução.

Aqui estão os meus resultados sudo service bluetooth status e dmesg | grep -i blue :

soul@soul-ZBOX-ID88-ID89-ID90:~$ sudo service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-10-27 23:50:19 CEST; 5min ago
     Docs: man:bluetoothd(8)
 Main PID: 11613 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─11613 /usr/lib/bluetooth/bluetoothd

oct. 27 23:50:18 soul-ZBOX-ID88-ID89-ID90 systemd[1]: Starting Bluetooth service...
oct. 27 23:50:19 soul-ZBOX-ID88-ID89-ID90 bluetoothd[11613]: Bluetooth daemon 5.46
oct. 27 23:50:19 soul-ZBOX-ID88-ID89-ID90 systemd[1]: Started Bluetooth service.
oct. 27 23:50:19 soul-ZBOX-ID88-ID89-ID90 bluetoothd[11613]: Starting SDP server
oct. 27 23:50:19 soul-ZBOX-ID88-ID89-ID90 bluetoothd[11613]: Bluetooth management interface 1.14 initialized

soul@soul-ZBOX-ID88-ID89-ID90:~$ dmesg | grep -i blue
[   21.008903] Bluetooth: Core ver 2.22
[   21.008918] Bluetooth: HCI device and connection manager initialized
[   21.008920] Bluetooth: HCI socket layer initialized
[   21.008922] Bluetooth: L2CAP socket layer initialized
[   21.008927] Bluetooth: SCO socket layer initialized
[   31.455093] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   31.455095] Bluetooth: BNEP filters: protocol multicast
[   31.455098] Bluetooth: BNEP socket layer initialized
[  116.012720] Bluetooth: RFCOMM TTY layer initialized
[  116.012730] Bluetooth: RFCOMM socket layer initialized
[  116.012738] Bluetooth: RFCOMM ver 1.11

Uma tela de impressão da mensagem depois de tentar se conectar: falha na conexão

Alguma ideia?

EDIT (11/05):

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2017-11-05 09:42:42 CET; 7h ago
     Docs: man:bluetoothd(8)
 Main PID: 958 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─958 /usr/lib/bluetooth/bluetoothd

nov. 05 09:42:40 soul-ZBOX-ID88-ID89-ID90 systemd[1]: Starting Bluetooth service...
nov. 05 09:42:40 soul-ZBOX-ID88-ID89-ID90 bluetoothd[958]: Bluetooth daemon 5.46
nov. 05 09:42:42 soul-ZBOX-ID88-ID89-ID90 bluetoothd[958]: Starting SDP server
nov. 05 09:42:42 soul-ZBOX-ID88-ID89-ID90 bluetoothd[958]: Bluetooth management interface 1.14 initialized
nov. 05 09:42:42 soul-ZBOX-ID88-ID89-ID90 systemd[1]: Started Bluetooth service.
nov. 05 16:32:46 soul-ZBOX-ID88-ID89-ID90 bluetoothd[958]: a2dp-sink profile connect failed for FC:58:FA:55:F4:68: Protocol not available
nov. 05 16:32:54 soul-ZBOX-ID88-ID89-ID90 bluetoothd[958]: a2dp-sink profile connect failed for FC:58:FA:55:F4:68: Protocol not available
nov. 05 16:33:02 soul-ZBOX-ID88-ID89-ID90 bluetoothd[958]: a2dp-sink profile connect failed for FC:58:FA:55:F4:68: Protocol not available

EDIT (11/05) (depois de ter instalado o pulseaudio-module-bluetooth):

soul@soul-ZBOX-ID88-ID89-ID90:~$ service bluetooth status
    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
       Active: active (running) since Sun 2017-11-05 17:05:04 CET; 3min 32s ago
         Docs: man:bluetoothd(8)
     Main PID: 875 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/bluetooth.service
               └─875 /usr/lib/bluetooth/bluetoothd

    nov. 05 17:04:57 soul-ZBOX-ID88-ID89-ID90 systemd[1]: Starting Bluetooth service...
    nov. 05 17:04:58 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: Bluetooth daemon 5.46
    nov. 05 17:05:04 soul-ZBOX-ID88-ID89-ID90 systemd[1]: Started Bluetooth service.
    nov. 05 17:05:04 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: Starting SDP server
    nov. 05 17:05:05 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: Bluetooth management interface 1.14 initialized
    nov. 05 17:06:23 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: Endpoint registered: sender=:1.69 path=/MediaEndpoint/A2DPSource
    nov. 05 17:06:23 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: Endpoint registered: sender=:1.69 path=/MediaEndpoint/A2DPSink
    nov. 05 17:07:23 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: Unable to get connect data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
    nov. 05 17:07:23 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: connect error: Connection refused (111)
    nov. 05 17:07:26 soul-ZBOX-ID88-ID89-ID90 bluetoothd[875]: connect error: Connection refused (111)

EDIT (11/05 entendi!): Acabei com uma solução:

sudo apt install kmix
reboot

então

sudo apt install pulseaudio-module-bluetooth
reboot
pactl load-module module-bluetooth-discover

(último comando pode falhar)

Em seguida, remova todos os seus dispositivos Bluetooth salvos e os emparelhe novamente.

Não se esqueça de definir os dispositivos bluetooth no topo da lista de configurações de áudio:

    
por s.aaliy 28.10.2017 / 00:18