如何使我的蓝牙在 Ubuntu 16.04 上工作?

如何使我的蓝牙在 Ubuntu 16.04 上工作?

即使我在设置中打开蓝牙,我也看不到任何设备。请帮帮我 :)

笔记本电脑:联想 ThinkPad E570 我为我的蓝牙配备了英特尔无线 AC-8265。

谢谢 :)

编辑 :

0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no

编辑2:

[    3.501077] Bluetooth: Core ver 2.21
[    3.501110] Bluetooth: HCI device and connection manager initialized
[    3.501118] Bluetooth: HCI socket layer initialized
[    3.501122] Bluetooth: L2CAP socket layer initialized
[    3.501136] Bluetooth: SCO socket layer initialized
[    3.518325] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38       2015
[    3.519185] Bluetooth: hci0: Device revision is 16
[    3.519187] Bluetooth: hci0: Secure boot is enabled
[    3.519187] Bluetooth: hci0: OTP lock is enabled
[    3.519188] Bluetooth: hci0: API lock is enabled
[    3.519188] Bluetooth: hci0: Debug lock is disabled
[    3.519190] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.520068] Bluetooth: hci0: Failed to load Intel firmware file (-2)
[    3.897682] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38   2015
[    3.898687] Bluetooth: hci0: Device revision is 16
[    3.898688] Bluetooth: hci0: Secure boot is enabled
[    3.898688] Bluetooth: hci0: OTP lock is enabled
[    3.898689] Bluetooth: hci0: API lock is enabled
[    3.898690] Bluetooth: hci0: Debug lock is disabled
[    3.898690] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.898702] Bluetooth: hci0: Failed to load Intel firmware file (-2)
[    5.314755] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.314755] Bluetooth: BNEP filters: protocol multicast
[    5.314758] Bluetooth: BNEP socket layer initialized

编辑3:

cat /etc/bluetooth/main.conf | egrep -v "^#|^$"
[General]

答案1

您需要升级内核和 Linux 固件。

sudo mv /lib/firmware /lib/firmware.old sudo tar xvfz linux-firmware-1dcf7691f623c24762976e2debe05248d627e814.tar.gz sudo mv linux-firmware-1dcf7691f623c24762976e2debe05248d627e814 /lib/firmware

然后下载bluez 5.46的包源:

wget https://launchpad.net/ubuntu/+archive/primary/+files/bluez_5.46.orig.tar.xz wget https://launchpad.net/ubuntu/+archive/primary/+files/bluez_5.46-0ubuntu3.debian.tar.xz wget https://launchpad.net/ubuntu/+archive/primary/+files/bluez_5.46-0ubuntu3.dsc sudo dpkg-source -x bluez_5.46-0ubuntu3.dsc

安装构建依赖项。

sudo apt build-dep bluez sudo apt install devscripts cd bluez-5.46

构建包。

sudo debuild -b -uc -us cd .. sudo dpkg -i bluetooth_5.46-0ubuntu3_all.deb \ bluez_5.46-0ubuntu3_amd64.deb \ bluez-cups_5.46-0ubuntu3_amd64.deb \ bluez-hcidump_5.46-0ubuntu3_amd64.deb \ bluez-obexd_5.46-0ubuntu3_amd64.deb \ bluez-tests_5.46-0ubuntu3_amd64.deb \ libbluetooth3_5.46-0ubuntu3_amd64.deb \ libbluetooth3-dbg_5.46-0ubuntu3_amd64.deb \ libbluetooth-dev_5.46-0ubuntu3_amd64.deb sudo reboot

然后你就可以出发了。

相关内容