M.T*_*run 11 wireless bluetooth networking 14.04
我的笔记本电脑是索尼 VPCEH15EN。在像 12.04 和 13.10 这样的早期 Ubuntu 版本中,我的蓝牙曾经可以正常工作。但是现在在 Ubuntu 14.04 中它不起作用。
这是输出 sudo lshw -C network
*-network
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlan0
version: 01
serial: cc:af:78:b3:e5:0f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-24-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 memory:92500000-9250ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:13:00.0
logical name: eth0
version: 06
serial: 78:84:3c:e7:0f:5a
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:41 ioport:2000(size=256) memory:91404000-91404fff memory:91400000-91403fff
*-network
description: Ethernet interface
physical id: 1
logical name: wwan0
serial: fe:66:3d:53:82:83
capabilities: ethernet physical
configuration: broadcast=yes driver=qmi_wwan driverversion=22-Aug-2005 firmware=WWAN/QMI device ip=10.49.48.237 link=yes multicast=yes
Run Code Online (Sandbox Code Playgroud)
的输出 lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (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 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
07:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
0d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Run Code Online (Sandbox Code Playgroud)
的输出 ifconfig
eth0 Link encap:Ethernet HWaddr 78:84:3c:e7:0f:5a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:491 errors:0 dropped:0 overruns:0 frame:0
TX packets:491 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52829 (52.8 KB) TX bytes:52829 (52.8 KB)
wlan0 Link encap:Ethernet HWaddr cc:af:78:b3:e5:0f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Run Code Online (Sandbox Code Playgroud)
这是输出 lsusb
Bus 002 Device 006: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 005: ID 8564:1000
Bus 002 Device 004: ID 0b38:0010 Gear Head 107-Key Keyboard
Bus 002 Device 008: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 003: ID 064e:a302 Suyin Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Run Code Online (Sandbox Code Playgroud)
检查你的 dmesg 日志:
dmesg | grep -i blue
Run Code Online (Sandbox Code Playgroud)
就我而言,我遇到了缺少固件的问题:
$ dmesg | grep -i blue
[ 2.216624] Bluetooth: Core ver 2.18
[ 2.216639] Bluetooth: HCI device and connection manager initialized
[ 2.216644] Bluetooth: HCI socket layer initialized
[ 2.216646] Bluetooth: L2CAP socket layer initialized
[ 2.216653] Bluetooth: SCO socket layer initialized
[ 2.237027] Bluetooth: Firmware file "ath3k-1.fw" not found
[ 2.414454] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.414457] Bluetooth: BNEP filters: protocol multicast
[ 2.414464] Bluetooth: BNEP socket layer initialized
[ 2.419758] Bluetooth: RFCOMM TTY layer initialized
[ 2.419767] Bluetooth: RFCOMM socket layer initialized
[ 2.419772] Bluetooth: RFCOMM ver 1.11
Run Code Online (Sandbox Code Playgroud)
这是通过以下方式解决的:
sudo apt-get install linux-firmware
Run Code Online (Sandbox Code Playgroud)
希望这有帮助。
USB 3.0(xhci) 和 Atheros 蓝牙设备存在问题。我发现的解决方法包括将 ath3k 列入黑名单,echo "blacklist ath3k" | sudo tee /etc/modprobe.d/ath3k.conf然后稍后使用 /etc/rc.local 来 modprobe ath3k
gksudo gedit /etc/rc.local并在 exit 0 Reboot 行上方添加modprobe ath3k,如果幸运的话,蓝牙将工作