Ubuntu 18.04でBluetoothが機能しない

Ubuntu 18.04でBluetoothが機能しない

Ubuntu 18.04ではBluetoothが機能しません(最近インストールしました)。 StackExchangeでほとんどすべての回答を試しましたが、役に立ちません。

以下は、問題を理解するのに役立ついくつかのコマンドです。

$ systemctl status bluetooth

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: inactive (dead)
     Docs: man:bluetoothd(8)
lines 1-4/4 (END)

始めることができることを知っていますが、 systemctl start bluetooth状態以外には何も変更しないので役に立ちません。

そして

$ sudo bluetoothctl

手動でキャンセルする必要がある空のカーソルを除いて、何もしません。

どんな答えでも誰かが言ったように私もbluezをインストールしました。バージョンは

$ dpkg --status bluez | grep '^Version:'
Version: 5.50-0ubuntu0ppa1

Bluetoothサービスを起動する$ systemctl start bluetoothと、bluetoothctl次のようになります。

(base) ahmad@ahmad-HP-Laptop-15-da1xxx:~$ bluetoothctl 
Agent registered
[bluetooth]# list
[bluetooth]# scan on
No default controller available
[bluetooth]# power
Missing on/off argument
[bluetooth]# power on
No default controller available
[bluetooth]# 

しかし、上部に見苦しい小さなBluetoothのシンボルが見えますが(おそらくbluezのためだろう)、それを開くと、以下のようなウィンドウが表示されます。

この問題を解決するのに役立ちます。

編集する

1つの追加コマンドが役に立ちます。 Bluetoothを起動した後、次も入力しました。

(base) ahmad@ahmad-HP-Laptop-15-da1xxx:~$ lspci -knn | grep Net -A3; lsusb
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
    Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
    Kernel driver in use: rtl8821ce
    Kernel modules: rtl8821ce
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0408:5365 Quanta Computer, Inc. 
Bus 001 Device 002: ID 04f2:1055 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ベストアンサー1

BLUEMANをインストールしました。

sudo apt-get install blueman -y && blueman-manager

これは私にとって効果的です

注:これを行う前に、以下をインストールする必要があります。

sudo apt-get install bluetooth bluez bluez-tools rfkill -y

sudo rfkill list

sudo rfkill unblock bluetooth

sudo service bluetooth start

おすすめ記事