Hi guys,

I've met issue when I tred to enable a generic HCI USB Bluetooth
dongle on my board.

It gives following error messages about create HCI socket failed.

# /system/bin/bluetoothd -n -d
bluetoothd[1089]: Bluetooth deamon 4.69
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
parsing main.conf
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
discovto=120
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
pairto=0
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
pageto=8192
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
name=%m
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
class=0x0a0010C
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
discov_interval=0
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
deviceid=android:generic:1.5
bluetoothd[1089]: external/bluetooth/bluez/src/main.c:parse_config()
default_link_policy=7
bluetoothd[1089]: Starting SDP server
bluetoothd[1089]: opening L2CAP socket: Operation not permitted
bluetoothd[1089]: Server initialization failed
bluetoothd[1089]: external/bluetooth/bluez/src/plugin.c:plugin_init()
Loading builtin plugins
bluetoothd[1089]: external/bluetooth/bluez/src/plugin.c:add_plugin()
Loading hciops plugin
bluetoothd[1089]: external/bluetooth/bluez/src/plugin.c:plugin_init()
Loading plugins /system/lib/bluez-plugin
bluetoothd[1089]: external/bluetooth/bluez/src/plugin.c:add_plugin()
Loading audio plugin
bluetoothd[1089]: external/bluetooth/bluez/src/plugin.c:add_plugin()
Loading input plugin
bluetoothd[1089]: external/bluetooth/bluez/src/plugin.c:add_plugin()
Loading network plugin
bluetoothd[1089]: Failed to open control socket: Operation not
permitted (1)
bluetoothd[1089]: Can't init bnep module
bluetoothd[1089]: Failed to init network plugin
bluetoothd[1089]: hciops_setup
bluetoothd[1089]: Can't open HCI socket: Operation not permitted (1)
bluetoothd[1089]: adapter_ops_setup failed

I searched on the archives and found there someone mentioned to remove
the ANDROID_PARANOID_NETWORK in kernel. And I am trying to give it a
shot.

Anybody has some clues about this issue?

Regards,
Jiancong

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to