如何在Lubuntu上推出Bluez

试图启动一个BT适配器/管理器(默认安装在Lubu上)一个小窗口告诉我它不能,因为没有Bluez启动。

在终端: sudo apt install bluez ,它回答:Bluez已经是新版本(5.46-0ubuntu3)然后邀请我删除一些过时的软件包。

那么Bluez Daemon将在哪里推出?

写作: systemctl status bluetooth.service ; hcitool dev systemctl status bluetooth.service ; hcitool dev

回答:

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

命令: lspci -k | grep -A3 -i "wireless\|network\|bluetooth" lspci -k | grep -A3 -i "wireless\|network\|bluetooth"答: 04:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01) Subsystem: Quanta Microsystems, Inc AR242x / AR542x Wireless Network Adapter (PCI-Express) Kernel driver in use: ath5k Kernel modules: ath5k 0f:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller oem@oem-Extensa-5220:~$

确定蓝牙子系统的状态,您可以执行以下操作

  1. 安装所需的bluez组件:

     sudo apt install bluez 
  2. 检查您的硬件是否具有蓝牙function(在PCI和USB上),找到适配器的串口:

     lspci -k | grep -A3 -i "wireless\|network\|bluetooth" lsusb | grep -i "bluetooth\|radio" hcitool dev 
  3. 检查适配器是否未被rfkill阻止,然后取消阻止:

     sudo rfkill list all sudo rfkill unblock all 
  4. 检查相应systemd服务的状态:

     systemctl status bluetooth.service 

当然,您可以确定设备的型号(例如,笔记本电脑),并在此检查蓝牙是否存在。

Interesting Posts