蓝牙设备不可用?


13

我按照本教程设置了蓝牙加密狗并使其运行。我有与教程中相同的蓝牙加密狗,但似乎无法正常工作。我进入步骤“ C”,然后遇到问题。这是我运行以诊断问题的一些命令:

$ hcitool scan
Device is not available: No such device
$ lsusb
...
Bus 001 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
...
$ hciconfig dev
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:1B:10:00:2A:EC  ACL MTU: 1017:8  SCO MTU: 64:0
        DOWN
        RX bytes:1355 acl:0 sco:0 events:49 errors:0
        TX bytes:204 acl:0 sco:0 commands:48 errors:0
$ hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:1B:10:00:2A:EC  ACL MTU: 1017:8  SCO MTU: 64:0
        DOWN
        RX bytes:1355 acl:0 sco:0 events:49 errors:0
        TX bytes:204 acl:0 sco:0 commands:48 errors:0
        Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy:
        Link mode: SLAVE ACCEPT
$ hcitool dev
Devices:
$ sudo hciconfig hci0 piscan
Can't set scan mode on hci0: Network is down (100)
$ sudo hciconfig hci0 reset
Can't init device hci0: Operation not supported (95)
$ /etc/init.d/bluetooth status
[ ok ] bluetooth is running.
$ sudo bluez-simple-agent
Traceback (most recent call last):
  File "/usr/bin/bluez-simple-agent", line 104, in <module>
    path = manager.DefaultAdapter()
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter

有什么建议么?电源不是问题,因为我正在从有源USB集线器运行加密狗。

我不需要告诉我降级软件的解决方案。那不是解决方案,而是一种解决方法。


您从集线器为蓝牙加密狗,Pi或两者提供的电源是什么?
史蒂夫·罗比拉德

@SteveRobillard只是加密狗。
syb0rg 2013年

从/etc/init.d/bluetooth状态返回的内容
Steve Robillard 2013年

@SteveRobillard在我运行的命令的底部对其进行了编辑。它说它正在运行。
syb0rg 2013年

3
我遇到与您完全相同的错误。您是否对此有任何更新?
catteneo 2014年

Answers:


8

答案较晚,但最近经历过。我注意到该接口已关闭。你也很沮丧

sudo hciconfig hci0 up更新的固件上运行可以解决我的问题。不知道这是怎么发生的,因为raspberrypi.org线程中的人坚持降级。


在我用rfkill
mlhDev

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.