Part Number:TMS320DM8148
Tool/software: Linux
I am using BT820 USB HCI dongle with DM8148 custom board. I have enabled below configuration in my kernel 2.6.37,
CONFIG_RFKILL=y CONFIG_RFKILL_INPUT=y CONFIG_BT=y CONFIG_BT_L2CAP=y CONFIG_BT_SCO=y CONFIG_BT_RFCOMM=y CONFIG_BT_RFCOMM_TTY=y CONFIG_BT_BNEP=y CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y CONFIG_BT_HIDP=y CONFIG_BT=y CONFIG_BT_L2CAP=y CONFIG_BT_RFCOMM=y CONFIG_BT_HIDP=y CONFIG_BT_HCIBTUSB=y CONFIG_BT_HCIUART=y
In lsusb I am able to see my dongle,
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
When I try to enable blue-tooth with bluetoothd command, I got error Can't init device hci0: Input/output error (5). Below are detailed logs,
bluetoothd -n -d
bluetoothd[17768]: Bluetooth daemon 4.98
bluetoothd[17768]: src/main.c:parse_config() parsing 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_interval=30
bluetoothd[17768]: src/main.c:parse_config() Key file does not have key 'DeviceID'
bluetoothd[17768]: Starting SDP server
bluetoothd[17768]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[17768]: src/plugin.c:add_plugin() Loading audio plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading serial plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading service plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading hciops plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading mgmtops plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading formfactor plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading storage plugin
bluetoothd[17768]: src/plugin.c:add_plugin() Loading adaptername plugin
bluetoothd[17768]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[17768]: plugins/service.c:register_interface() path /org/bluez/17768/any
bluetoothd[17768]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/17768/any
bluetoothd[17768]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity'
bluetoothd[17768]: network/manager.c:read_config() Config options: Security=true
bluetoothd[17768]: input/manager.c:input_manager_init() input.conf: Key file does not have key 'IdleTimeout'
bluetoothd[17768]: audio/manager.c:audio_manager_init() audio.conf: Key file does not have key 'AutoConnect'
bluetoothd[17768]: audio/unix.c:unix_init() Unix socket created: 9
bluetoothd[17768]: Unable to start SCO server socket
bluetoothd[17768]: Failed to init audio plugin
bluetoothd[17768]: plugins/hciops.c:hciops_init()
bluetoothd[17768]: plugins/hciops.c:hciops_setup()
bluetoothd[17768]: src/main.c:main() Entering main loop
bluetoothd[17768]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 2 op 0 soft 0 hard 0
bluetoothd[17768]: plugins/hciops.c:init_known_adapters()
bluetoothd[17768]: plugins/hciops.c:init_device() hci0
bluetoothd[17768]: Listening for HCI events on hci0
bluetoothd[17777]: Can't init device hci0: Input/output error (5)
bluetoothd[17768]: plugins/hciops.c:init_device() child 17777 forked
bluetoothd[17768]: plugins/hciops.c:child_exit() child 17777 exited
Also I am not able to see my device MAC with hciconfig,
hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
Can any one suggest what I am missing?