我有一个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:~#
有什么不对的?
发布于 2011-08-04 10:32:39
你所描述的看起来像这个报告的臭虫。
发布于 2011-09-07 00:37:30
我只是有同样的症状用同样的模型。然而,当我将dongle从USB集线器移到计算机上的直接USB端口时,它似乎马上就解决了。如果你有同样的问题,那就试试吧。
详细地
每次插入dongle,我都会在/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)
我的也显示在海肯图&没有多少的重新启动或答复造成了影响。
同样奇怪的是,我现在不能重现这个问题了,因为dongle已经成对了(如果我现在把它放回hub端口,它现在就可以正常工作了)。
Hth。
发布于 2018-04-14 08:24:03
执行以下操作,它将被修复。
rfkill block bluetooth
然后
rfkill unblock bluetooth
rfkill unblock bluetooth
之后,检查它是否正在使用
hciconfig
每次都对我有用
https://unix.stackexchange.com/questions/17104
复制相似问题