AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 702817
Accepted
user447607
user447607
Asked: 2015-11-27 06:19:19 +0800 CST2015-11-27 06:19:19 +0800 CST 2015-11-27 06:19:19 +0800 CST

帮助解决我的蓝牙问题

  • 772

我认为这台机器上的蓝牙可以工作,至少硬件可以。我已经看到它短暂地运行过一次,这意味着它可能运行的时间不止几秒钟。

我遇到了这个问题,但能够让它消失: https ://askubuntu.com/questions/690863/sound-fluctuates-wildly-back-and-forth-as-sound-device-rapidly-appears-and-disap

我有这个硬件:

sudo bluez-test-adapter list
 [ /org/bluez/599/hci0 ]
    Name = warmachine-0
    Powered = 1
    Devices = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
    DiscoverableTimeout = 0
    PairableTimeout = 0
    Discoverable = 1
    Address = 24:0A:64:03:BF:94
    Discovering = 0
    Pairable = 1
    Class = 0x000000
    UUIDs = dbus.Array([dbus.String(u'00001000-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001001-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000112d-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001112-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000111f-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000111e-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110c-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110e-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110a-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110b-0000-1000-8000-00805f9b34fb')], signature=dbus.Signature('s'), variant_level=1)

从启动时的 DMesg:

[    9.342995] Bluetooth: Core ver 2.17
[    9.343006] NET: Registered protocol family 31
[    9.343007] Bluetooth: HCI device and connection manager initialized
[    9.343013] Bluetooth: HCI socket layer initialized
[    9.343015] Bluetooth: L2CAP socket layer initialized
[    9.343017] Bluetooth: SCO socket layer initialized
[    9.344379] [drm] Initialized drm 1.1.0 20060810
[    9.350125] Bluetooth: RFCOMM TTY layer initialized
[    9.350134] Bluetooth: RFCOMM socket layer initialized
[    9.350139] Bluetooth: RFCOMM ver 1.11
[    9.351624] cfg80211: Calling CRDA to update world regulatory domain
[    9.354582] init: avahi-cups-reload main process (626) terminated with status 1
[    9.354598] ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x6 frozen
[    9.354615] ata2.00: irq_stat 0x08000002, interface fatal error
[    9.354628] ata2.00: failed command: IDENTIFY PACKET DEVICE
[    9.354643] ata2.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 7 pio 512 in
[    9.354643]          res 50/00:03:00:24:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
[    9.354669] ata2.00: status: { DRDY }
[    9.354680] ata2: hard resetting link
[    9.356030] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.356032] Bluetooth: BNEP filters: protocol multicast
[    9.356037] Bluetooth: BNEP socket layer initialized

还

sudo bluez-simple-agent hci0 24:0A:64:03:BF:94 Creating device failed: org.bluez.Error.ConnectionAttemptFailed: Page Timeout

...最后。

lsusb; lspci -nnk | grep -iA2net; uname -a; dmesg | egrep -i 'blue|firm'; rfkill list all; hciconfig -a
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1b1c:0c04 Corsair 
Bus 003 Device 003: ID 0b05:17cf ASUSTek Computer, Inc. 
Bus 003 Device 008: ID 1e7d:3264 ROCCAT 
Bus 003 Device 007: ID 1e7d:2d51 ROCCAT Kone+ Mouse
Bus 003 Device 002: ID 174c:2074 ASMedia Technology Inc. 
Bus 003 Device 006: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 003 Device 005: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
grep: 2net: invalid context length argument
Linux warmachine 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[    0.189642] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    9.342995] Bluetooth: Core ver 2.17
[    9.343007] Bluetooth: HCI device and connection manager initialized
[    9.343013] Bluetooth: HCI socket layer initialized
[    9.343015] Bluetooth: L2CAP socket layer initialized
[    9.343017] Bluetooth: SCO socket layer initialized
[    9.350125] Bluetooth: RFCOMM TTY layer initialized
[    9.350134] Bluetooth: RFCOMM socket layer initialized
[    9.350139] Bluetooth: RFCOMM ver 1.11
[    9.356030] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.356032] Bluetooth: BNEP filters: protocol multicast
[    9.356037] Bluetooth: BNEP socket layer initialized
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
2: brcmwl-0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 24:0A:64:03:BF:94  ACL MTU: 1021:8  SCO MTU: 64:1
    UP RUNNING PSCAN ISCAN 
    RX bytes:934 acl:0 sco:0 events:88 errors:0
    TX bytes:1739 acl:0 sco:0 commands:80 errors:0
    Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: RSWITCH SNIFF 
    Link mode: SLAVE ACCEPT 
    Name: 'warmachine-0'
    Class: 0x6c0100
    Service Classes: Rendering, Capturing, Audio, Telephony
    Device Class: Computer, Uncategorized
    HCI Version: 4.0 (0x6)  Revision: 0x1000
    LMP Version: 4.0 (0x6)  Subversion: 0x220e
    Manufacturer: Broadcom Corporation (15)

我这里有几个蓝牙设备,我的手机和耳机,但它们根本不扫描。...但我已经看到这台机器注册了蓝牙设备,它们只是不会保持这种状态,之后您根本无法扫描任何东西。

dmesg | egrep -i 'blue|firm'
[    0.199286] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    9.554021] Bluetooth: Core ver 2.17
[    9.554038] Bluetooth: HCI device and connection manager initialized
[    9.554045] Bluetooth: HCI socket layer initialized
[    9.554047] Bluetooth: L2CAP socket layer initialized
[    9.554051] Bluetooth: SCO socket layer initialized
[    9.556384] Bluetooth: RFCOMM TTY layer initialized
[    9.556389] Bluetooth: RFCOMM socket layer initialized
[    9.556392] Bluetooth: RFCOMM ver 1.11
[    9.556650] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.556652] Bluetooth: BNEP filters: protocol multicast
[    9.556655] Bluetooth: BNEP socket layer initialized
bluetooth
  • 1 1 个回答
  • 1001 Views

1 个回答

  • Voted
  1. Best Answer
    Jeremy31
    2015-11-28T06:49:21+08:002015-11-28T06:49:21+08:00

    我制作了一个可以与 3.13 内核一起使用的 DKMS 模块,用于安装

    wget https://www.dropbox.com/s/9yfcg4e2mn1zcs0/fw-0b05-17cf.hcd
    sudo cp fw-0b05-17cf.hcd /lib/firmware/fw-0b05_17cf.hcd
    sudo apt-get install build-essential dkms linux-headers-$(uname -r)
    wget https://www.dropbox.com/s/ol5r9dai967p6by/btusb-dkms_3.1_all.deb
    sudo dpkg -i btusb-dkms_3.1_all.deb
    

    重新启动和蓝牙应该正常工作

    • 1

相关问题

  • 哪种蓝牙耳机效果最好?

  • ubuntu无法识别笔记本电脑的内部蓝牙:如何诊断问题?

  • 如何为我的蓝牙手机分配串口?

  • 我可以将我的计算机用作 A2DP 接收器/蓝牙扬声器吗?

  • 如何解决联想笔记本电脑上恢复/电源问题时禁用的蓝牙?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve