如何使USB蓝牙加密狗正常工作?(无法初始化设备hci0:连接超时(110))


14

我有一个USB蓝牙加密狗:

root@maiko-cce-lin:~# lsusb | grep Bluetooth
Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

它很少起作用,当我使它起作用时,重新启动后它将停止工作。

它没有被软件阻止:

root@maiko-cce-lin:~# rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

我的设备被识别 hciconfig

root@maiko-cce-lin:~# hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:1F:81:00:01:1C  ACL MTU: 1021:4  SCO MTU: 180:1
    DOWN 
    RX bytes:330 acl:0 sco:0 events:8 errors:0
    TX bytes:24 acl:0 sco:0 commands:30 errors:22
    Features: 0xff 0x3e 0x09 0x76 0x80 0x01 0x00 0x80
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: 
    Link mode: SLAVE ACCEPT 

但我无法打开hci界面:

root@maiko-cce-lin:~# hciconfig hci up
Can't init device hci0: Connection timed out (110)

我不明白为什么;该hcitool命令不显示任何设备:

root@maiko-cce-lin:~# hcitool dev
Devices:

我也尝试过使用此命令重新启动我的蓝牙服务(然后再次重复所有先前的命令),但是它不起作用:

root@maiko-cce-lin:~# service bluetooth restart
 * Stopping bluetooth                                                    [ OK ] 
 * Starting bluetooth                                                    [ OK ] 
root@maiko-cce-lin:~# 

有什么事吗


1
支持加密狗吗?
— 约翰

我觉得是这样的。您可以在这里确定:help.ubuntu.com/community/BluetoothSetup#Manual发现它与我拥有的设备相同。
— MaikoID 2011年

Answers:



1

FWIW我只是在相同的模型加密狗中有这些相同的症状。但是,当我将加密狗从USB集线器移到计算机上的直接USB端口时,它似乎立即解决了。如果您遇到相同的问题,则可以尝试一下。

我的症状详细:

每次插入加密狗时,我都会在/ var / log / syslog中获得如下条目:

Sep  7 10:05:20 gus-workstation bluetoothd[18537]: Listening for HCI events on hci0
Sep  7 10:05:20 gus-workstation NetworkManager[837]: <warn> bluez error  getting default adapter: No such adapter
Sep  7 10:05:30 gus-workstation bluetoothd[18538]: Can't init device hci0: Connection timed out (110)

我的也显示在hciconfig中,重新启动或重新插入的次数没有变化。

同样奇怪的是,由于加密狗已与某物配对,因此我无法重现该问题(如果我现在将其放回到集线器端口中,则现在可以正常工作了。)

Hth。


我没有使用USB集线器= | 但答案。
— MaikoID 2011年

好,再来一个!“无集线器”修复不适用于我,它在我重启机器后就停止了工作。但是,我以前运行过Ubuntu Maverick(bluez 4.69。)将dist升级到Natty(内核2.6.38-11,bluez 4.91),现在工作正常。:/
— projectgus

0

执行以下操作,它将被修复。

rfkill block bluetooth

然后

rfkill unblock bluetooth
rfkill unblock bluetooth

然后检查它是否正在使用运行

hciconfig

每次都对我有用


可以使用syslogs跟踪吗?他们在哪里?我看到设备从DOWN移到DOWN INIT RUNNING,但随后似乎出现故障并恢复为DOWN无其他信息
— jocull
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.