工具/软件:Linux
我将 BT820 USB HCI 软件狗与 DM8148定制板配合使用。 我在内核2.6.37中启用了以下配置、
CONFIG_RFKILL=y CONFIG_RFKILL_INPUT=y CONFIG_BT_L2CAP=y CONFIG_BT_SCO=y CONFIG_BT_RFCOMM=y CONFIG_BT_RFCOMM_TTY=CONFIG_BT_BNEP=y CONFIG_BNEP_FILTER=y CONFIG_BT_BT_CONFIG=Y_BT_HCP_CLT_BIP_CONFIG=Y=BT_CONFIG_CLT_HIBT_BIP_CONP=Y=Y_BUCT_CONFIG_CL_CL_Y=Y=Y=BT_CONFIG_CL_CL_CL_CL_CL_CLT_BI_CL_Y=Y=Y=Y_CLT_CLT_BIP_CONP=Y=BIP_CONFIG_CL_CL
在 lsusb 中、我能够看到我的软件狗、
lsusb
总线001器件001:ID 1d6b:0002 Linux Foundation 2.0根集线器
总线001设备002:ID 0a12:0001剑桥硅无线电有限蓝牙软件狗(HCI 模式)
当我尝试使用 bluetoothd 命令启用蓝牙时、出现错误 Can't init device hci0:input / output error (5)(无法初始化设备 hci0:输入/输出错误(5))。 以下是详细日志、
bluetoothd -n -d
bluetoothd[17768]:蓝牙守护程序4.98
bluetoothd[17768]:src/main.c:parse_config()解析 main.conf
bluetoothd[17768]:src/main.c:parse_config () discovto=0
bluetoothd[17768]:src/main.c:parse_config() pairTO=0
bluetoothd[17768]:src/main.c:parse_config() pageTo=8192
bluetoothd[17768]:src/main.c:parse_config () auto_TO=60
bluetoothd[17768]:src/main.c:parse_config () name=%h-%d
bluetoothd[17768]:src/main.c:parse_config () class="0x000100"
bluetoothd[17768]:src/main.c:parse_config () discov_interve=30
bluetoothd[17768]:src/main.c:parse_config()密钥文件没有密钥'deviceID'
bluetoothd[17768]:正在启动 SDP 服务器
bluetoothd[17768]:src/plugin.c:plugin_init ()正在加载内置插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载音频插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载输入插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载串行插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载网络插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载服务插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载 hciops 插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载 mgmttop 插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载 formfactor 插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载存储插件
bluetoothd[17768]:src/plugin.c:add_plugin()正在加载适配器名称插件
bluetoothd[17768]:src/plugin.c:plugin_init()正在加载插件/usr/lib/bluetooth/plugins
bluetoothd[17768]:plugins/service.c:register_interface() path /org/bluez/17768/any
bluetoothd[17768]:plugins/service.c:register_interface()在路径/org/bluez/17768/any 上注册了接口 org.bluez.Service
bluetoothd[17768]:network/manager.c:read_config()/etc/bluetooth/network.conf:密钥文件没有密钥'DisplaySecurity'
bluetoothd[17768]:network/manager.c:read_config()配置选项:security=true
bluetoothd[17768]:input/manager.c:input_manager_init () input.conf:密钥文件没有密钥'IdleTimeout'
bluetoothd[17768]:audio/manager.c:audio_manager_init () audio.conf:密钥文件没有密钥'AutoConnect'
bluetoothd[17768]:audio/UNIX.c:UNIX_init() Unix 套接字创建时间:9.
bluetoothd[17768]:无法启动 SCO 服务器套接字
bluetoothd[17768]:无法初始化音频插件
bluetoothd[17768]:plugins/hciops.c:hciops_init ()
bluetoothd[17768]:plugins/hciops.c:hciops_setup()
bluetoothd[17768]:src/main.c:main()进入主循环
bluetoothd[17768]:src/rfkill.c:rfkill_event() RFKILL 事件 idx 0类型2运算0软0硬0
bluetoothd[17768]:plugins/hciops.c:init_known_adapters ()
bluetoothd[17768]:plugins/hciops.c:init_device () hci0
bluetoothd[17768]:侦听 hci0上的 HCI 事件
bluetoothd[17777]:无法初始化器件 hci0:输入/输出错误(5)
bluetoothd[17768]:plugins/hciops.c:init_device()子17777标记
bluetoothd[17768]:plugins/hciops.c:child_exit()子文件17777退出
此外、我无法通过 hciconfig 查看我的器件 MAC、
hciconfig
hci0: 类型:BR/EDR 总线:USB
BD 地址:00:00:00:00 :00:00 ACL MTU:0:0 SCO MTU:0:0
向下
RX 字节:0 ACL:0 SCO:0事件:0错误:0
TX 字节:0 ACL:0 SCO:0命令:0错误:0
是否有人能建议我缺少什么?