web-dev-qa-db-ja.com

17.04から17.10にアップグレードすると、Bluetooth機能が失われます

1日前または17.04から17.10に更新する前に、Bluetooth経由でコンピューターをヘッドフォンに接続することができました。今はできません。 BluetoothマネージャーとBluetoothアダプターをソフトウェアマネージャーからインストールする必要があるかもしれないと思いましたが、これは役に立ちませんでした。誰かが私が端末で使用できるコードを提案して、bluetoothドライバーまたは機能していないものを再インストールして、コンピューターでbluetooth機能を使用できるようになりますか? Bluetoothの設定では、ドングルを差し込んでBluetoothを使用するようになっています。これは以前は言いませんでした。

brian @ brian-Gazelle-Professional:〜$ Sudo service bluetooth status 
 [sudo] brianのパスワード:
●bluetooth.service-Bluetoothサービス
 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(150903536 2.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" pro file = "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 "
2
B. Kunzelmann

昨日、Kubuntuを17.04から17.10にアップグレードしました。

ほとんど同じ問題ですが、Bluetoothサービスが実行されていても、Bluetoothスピーカー(RYGHT TANK)を接続できなくなりました。

これが私のSudo service bluetooth statusdmesg | 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

接続を試みた後のメッセージの印刷画面: 接続失敗

何か案が?

編集(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

編集(11/05)(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)

編集(11/05それを得た!):私は解決策になった:

Sudo apt install kmix
reboot

それから

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

(最後のコマンドが失敗する場合があります)

次に、保存したすべてのBluetoothデバイスを削除して、再度ペアリングします。

オーディオ設定のリストの一番上でbluetoothデバイスを設定することを忘れないでください: Kmix configuration

3
s.aaliy