我使用的是 Dell Inspiron N5030 笔记本电脑,想要连接我的蓝牙扬声器 (Ultimate Ears)。这里有一些输出:
$ uname -a
Linux sandy-pc 4.19.8-2-MANJARO #1 SMP PREEMPT Sat Dec 8 14:45:36 UTC 2018 x86_64 GNU/Linux
+
$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
+
$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-12-20 01:21:24 +01; 46min ago
Docs: man:bluetoothd(8)
Main PID: 2060 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4670)
Memory: 1.8M
CGroup: /system.slice/bluetooth.service
└─2060 /usr/lib/bluetooth/bluetoothd
Dez 20 01:21:24 sandy-pc systemd[1]: Starting Bluetooth service...
Dez 20 01:21:24 sandy-pc bluetoothd[2060]: Bluetooth daemon 5.50
Dez 20 01:21:24 sandy-pc systemd[1]: Started Bluetooth service.
Dez 20 01:21:24 sandy-pc bluetoothd[2060]: Starting SDP server
Dez 20 01:21:24 sandy-pc bluetoothd[2060]: Bluetooth management interface 1.14 initialized
$ bluetoothctl
Agent registered
+
[bluetooth]# power on
No default controller available
+
$ dmesg | grep -i 'firmware\|blue'
[ 0.534496] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.680030] acpi PNP0A03:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 0.769546] pci 0000:09:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[ 16.996999] [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.
[ 1338.119780] Bluetooth: Core ver 2.22
[ 1338.121301] Bluetooth: HCI device and connection manager initialized
[ 1338.121308] Bluetooth: HCI socket layer initialized
[ 1338.121312] Bluetooth: L2CAP socket layer initialized
[ 1338.121328] Bluetooth: SCO socket layer initialized
[ 1348.722030] audit: type=1130 audit(1545265284.923:73): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1348.775361] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1348.775363] Bluetooth: BNEP filters: protocol multicast
[ 1348.775370] Bluetooth: BNEP socket layer initialized
+
$ lspci -knn | grep Net -A2
0c:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Wistron NeWeb Corp. DNXA-95 802.11bgn Wireless Half-size Mini PCIe Card [185f:30af]
Kernel driver in use: ath9k
+
$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0c45:6482 Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
我注意到的一件事是每次重新启动后蓝牙服务都会被禁用。我每次都sudo modprobe btusb
必须跑步。sudo systemctl restart bluetooth
有没有办法让它自动启动?
另一件事:我的 BIOS 版本是 A02,但是是从 09/13/2010 开始的。有一张是 2011 年的。这会是个问题吗?
使用 Linux Mint:
mint@mint:~$ hcitool dev
Devices:
答案1
我在使用 Dell XPS 9370 时遇到了类似的问题,我可以用以下方法解决:
sudo add-apt-repository ppa:canonical-kernel-team/ppa
sudo apt-get update
sudo apt-get install linux-oem-osp1
其中安装了以下内核:
Linux xps 5.0.0-1050-oem-osp1 #55-Ubuntu SMP 4 月 24 日星期五 11:08:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux