Linux

藍牙設備不工作 debian wheezy

  • December 3, 2017

我剛剛在 msi cx640dx 上安裝了 debian wheezy。我的藍牙設備不工作。這是一些資訊。

核心版本:

$uname -r
3.2.0-4-amd64

當我使用hcitool dev它時,不顯示任何設備。

$ hcitool dev
Devices:

並且通過掃描它說我沒有那個設備:

$ sudo hcitool scan
Device is not available: No such device

我認為以下資訊可能會有​​所幫助。

$lsmod | grep -i blue
bluetooth             119455  12 btusb,ath3k,rfcomm,bnep
rfkill                 19012  5 cfg80211,bluetooth
crc16                  12343  2 ext4,bluetooth

和。

$ lspci 
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev a1)
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
05:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)

這是核心環形緩衝區:

$ dmesg  |grep -i blue
[    7.408956] Bluetooth: Core ver 2.16
[    7.408977] Bluetooth: HCI device and connection manager initialized
[    7.408980] Bluetooth: HCI socket layer initialized
[    7.408982] Bluetooth: L2CAP socket layer initialized
[    7.408987] Bluetooth: SCO socket layer initialized
[    7.460972] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    7.485478] Bluetooth: Atheros AR30xx firmware driver ver 1.0
[    7.537981] Bluetooth: Error loading firmware
[   22.886593] Bluetooth: RFCOMM TTY layer initialized
[   22.886602] Bluetooth: RFCOMM socket layer initialized
[   22.886605] Bluetooth: RFCOMM ver 1.11
[   23.042310] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   23.042316] Bluetooth: BNEP filters: protocol multicast

如果您的驅動程序是 Atheros,您首先需要添加 APT“deb http://http.us.debian.org/debian/ testing main non-free”,然後安裝“firmware-atheros”包。

您需要以下軟體包:bluetooth、bluez、libbluetooth3,以及可能安裝的其他相關軟體包。我猜你有這些。

Atheros 韌體可能是問題的根源。有一個非免費的韌體 Atheros 包,我相信,如果它真的適合你的硬體,你可以試試。您可能需要對您擁有的硬體進行一些研究,並確定您需要哪些韌體,以及它是否可用。

一旦你讓它工作,我注意到 KDE KBluedevil 藍牙管理器不能正常工作,但 blueman 藍牙管理器包可以。

您可能需要執行類似: ‘sudo hciconfig hci0 sspmode 0’ 才能工作,可能每次。我還沒有對此進行廣泛的測試。

引用自:https://unix.stackexchange.com/questions/146097