蓝牙在Ubuntu 14.04中不起作用


11

我的笔记本电脑是索尼VPCEH15EN。在Ubuntu的早期版本(如12.04和13.10)中,我的蓝牙曾经可以正常工作。但是现在在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

输出 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)

的输出 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)

这是输出 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

我在Kubuntu 14.04上也有这个问题。我测试了较新的内核3.15rc2,但没有任何变化...可能是systemd-udev和upstart-udev冲突吗?

它也不会出现lsusb吗?
Nattgew 2014年

我认为报告错误更有效率。
Braiam

新增的输出lsusb
M.Tarun

Answers:


3

检查您的dmesg日志:

dmesg | grep -i blue

就我而言,我遇到了固件丢失的问题:

$ 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

解决方法是:

sudo apt-get install linux-firmware

希望对您有所帮助。


1
那没有帮助。我已经有安装和我没有任何错误,在我的dmesg
Ubuntuser

1

我有两台笔记本电脑-一台东芝和一台富士通,它们都非常老,并且都是带有Windows 7和Ubuntu 14.04 LTE 32位的双启动计算机。通过蓝牙链接到Bose迷你Soundlink扬声器播放音乐,两台计算机和两个操作系统都可以正常工作。我将USB蓝牙加密狗用于链接,并且一切正常。

但是,使用更新得多的笔记本电脑,运行64位版本Ubuntu 14.04 LTE的Toshiba Satellite Pro C50-A-1K9,即使使用相同的加密狗和相同的扬声器,我也无法使用蓝牙。第一次找到设备时,尝试配对,但要求从设备输入特定的4位代码。这当然是不可能的,因为Bose迷你Soundlink扬声器没有键盘!首次尝试之后,进一步尝试搜索蓝牙设备一无所获。如果我再回到旧的记事本计算机上,它们也根本找不到Windows或Ubuntu 14.04 32位设备。我强烈怀疑Ubuntu 14.04 LTE的64位版本已向扬声器发送了代码,从而阻止了此后通过蓝牙链接。

如果其他任何人都拥有Bose mini soundlink扬声器并需要解决此问题,则

  1. 首先打开扬声器,然后在扬声器发出哔哔声时按住蓝牙按钮约十秒钟,即可对扬声器进行恢复出厂设置,现在可以在旧计算机和Windows 7或Ubuntu 14.04 LTE 32位上再次使用。
  2. 除非熟练的程序员发现错误,否则避免在Ubuntu 14.04 LTE 64位版本上使用蓝牙!

0

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.localmodprobe ath3k在行出口0上方添加重新启动,如果运气好的话,蓝牙也可以工作

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.