Dear andy Did you get any resolution about this issue? I have got one so.
On Wednesday, November 23, 2011 11:02:00 AM UTC+8, andy xu wrote: > > Hi all: > hciattach complete with success and hcitool scan can get information > of other devices under command line, but when start bluetooth from UI, > there's no response. It seems there's error in dbus, > the log as follow: > D/BluetoothService( 140): Bluetooth state 10 -> 11 > V/BluetoothService.cpp( 140): enableNative > I/bluedroid( 140): Starting hciattach daemon > V/BluetoothEventRedirector( 326): Received > android.bluetooth.adapter.action.STATE_CHANGED > I//system/bin/hciattach( 600): Device setup complete > I/bluedroid( 140): Starting bluetoothd deamon > I//system/bin/bluetoothd( 607): bluetoothd[608]: Bluetooth deamon > 4.69 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() parsing main.conf > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() discovto=120 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() pairto=0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() pageto=8192 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() name=%m > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() class=0x40020C > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() discov_interval=0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() deviceid=android:generic:1.5 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/main.c:parse_config() default_link_policy=7 > I//system/bin/bluetoothd( 607): bluetoothd[608]: Starting SDP server > I//system/bin/bluetoothd( 607): bluetoothd[608]: Got Unix socket fd > '10' from environment > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adding device id > record for 000a:0000 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/plugin.c:plugin_init() Loading builtin plugins > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/plugin.c:add_plugin() Loading hciops plugin > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/plugin.c:plugin_init() Loading plugins /system/lib/bluez- > plugin > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/plugin.c:add_plugin() Loading audio plugin > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/plugin.c:add_plugin() Loading input plugin > I//system/bin/bluetoothd( 607): bluetoothd[608]: HCI dev 0 registered > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/plugins/hciops.c:init_device() child 610 forked > I//system/bin/bluetoothd( 607): bluetoothd[608]: HCI dev 0 up > I//system/bin/bluetoothd( 607): bluetoothd[608]: Starting security > manager 0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: bluez manager.c > manager_start_adapter > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > hci_read_local_version > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > hci_read_local_features > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/adapter.c:btd_adapter_set_class() Changing Major/Minor class > to 0x00020c > I//system/bin/bluetoothd( 607): bluetoothd[608]: Stopping Inquiry at > adapter startup > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > adapter_get_path:/org/bluez/608/hci0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Adding record with > handle 0x10001 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 00000019-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 00000100-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 00001002-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 0000110a-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 0000110d-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: bluez manager.c > manager_update_svc > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > adapter_get_path:/org/bluez/608/hci0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Adding record with > handle 0x10002 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 00000017-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 00000100-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 00001002-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 0000110c-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/src/sdpd-service.c:add_record_to_server() Record pattern UUID > 0000110e-0000-1000-8000-00805f9 > I//system/bin/bluetoothd( 607): bluetoothd[608]: bluez manager.c > manager_update_svc > I//system/bin/bluetoothd( 607): bluetoothd[608]: bluez manager.c > manager_update_adapters > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > adapter_get_path:/org/bluez/608/hci0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > adapter_start /org/bluez/608/hci0 has been enabled > I//system/bin/bluetoothd( 607): bluetoothd[608]: Adapter > adapter_get_path:/org/bluez/608/hci0 > I//system/bin/bluetoothd( 607): bluetoothd[608]: Entering main loop > I//system/bin/bluetoothd( 607): goto g_main_context_iterate > I//system/bin/bluetoothd( 607): bluetoothd[608]: external/bluetooth/ > bluez/plugins/hciops.c:child_exit() child 610 exited > W/libdbus ( 608): 608: assertion failed "!(connection)- > >have_connection_lock" file "external/dbus/dbus/dbus-connection.c" > line 2677 function dbus_connection_unref > I//system/bin/bluetoothd( 607): watch_func flags:9 > DBUS_WATCH_READABLE:1 DBUS_WATCH_WRITABLE:2 DBUS_WATCH_HANGUP:8 > DBUS_WATCH_ERROR:4 > I//system/bin/bluetoothd( 607): D-Bus not compiled with backtrace > support so unable to print a backtrace > I/DEBUG ( 94): *** *** *** *** *** *** *** *** *** *** *** *** *** > *** *** *** > I/DEBUG ( 94): Build fingerprint: 'generic/cardhu/cardhu:2.3.4/ > GRJ22/eng.root.20111114.102107:eng/debug,test-keys' > I/DEBUG ( 94): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault > addr deadbaad > I/DEBUG ( 94): r0 00000027 r1 deadbaad r2 a0000000 r3 00000000 > I/DEBUG ( 94): r4 00000001 r5 00000000 r6 00000a75 r7 00000021 > I/DEBUG ( 94): r8 ae738474 r9 00000a6c 10 00000000 fp 00000000 > I/DEBUG ( 94): ip afd46668 sp bebf89f0 lr afd19411 pc > afd15ee0 cpsr 60000030 > I/DEBUG ( 94): d0 0000000000000000 d1 0000000000000000 > I/DEBUG ( 94): d2 0000000000000000 d3 0000000000000000 > I/DEBUG ( 94): d4 0000000000000000 d5 0000000000000000 > I/DEBUG ( 94): d6 0000000000000000 d7 0000000000000000 > I/DEBUG ( 94): d8 0000000000000000 d9 0000000000000000 > I/DEBUG ( 94): d10 0000000000000000 d11 0000000000000000 > I/DEBUG ( 94): d12 0000000000000000 d13 0000000000000000 > I/DEBUG ( 94): d14 0000000000000000 d15 0000000000000000 > I/DEBUG ( 94): d16 3fe0000000000000 d17 3fe0000000000000 > I/DEBUG ( 94): d18 0000000000000000 d19 0000000000000000 > I/DEBUG ( 94): d20 0000000000000000 d21 0000000000000000 > I/DEBUG ( 94): d22 0000000000000000 d23 0000000000000000 > I/DEBUG ( 94): d24 0000000000000000 d25 0000000000000000 > I/DEBUG ( 94): d26 0000000000000000 d27 0000000000000000 > I/DEBUG ( 94): d28 0000000000000000 d29 0000000000000000 > I/DEBUG ( 94): d30 0000000000000000 d31 0000000000000000 > I/DEBUG ( 94): scr 00000010 > I/DEBUG ( 94): > I/DEBUG ( 94): pid: 608, tid: 608 >>> /system/bin/bluetoothd <<< > I/DEBUG ( 94): #00 pc 00015ee0 /system/lib/libc.so > I/DEBUG ( 94): #01 pc 0002cd1c /system/lib/libdbus.so > I/DEBUG ( 94): #02 pc 000164a6 /system/lib/libdbus.so > I/DEBUG ( 94): #03 pc 00010c58 /system/lib/libdbus.so > I/DEBUG ( 94): #04 pc 000451ec /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #05 pc 000338e2 /system/lib/libdbus.so > I/DEBUG ( 94): #06 pc 00033b02 /system/lib/libdbus.so > I/DEBUG ( 94): #07 pc 00030a06 /system/lib/libdbus.so > I/DEBUG ( 94): #08 pc 000137b8 /system/lib/libdbus.so > I/DEBUG ( 94): #09 pc 0003395e /system/lib/libdbus.so > I/DEBUG ( 94): #10 pc 000452f2 /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #11 pc 00033d66 /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #12 pc 0002b400 /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #13 pc 0002b57a /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #14 pc 0002cb8a /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #15 pc 0002d676 /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #16 pc 0001c8d8 /system/lib/ > libbluetoothd.so > I/DEBUG ( 94): #17 pc 00014d8e /system/lib/libc.so > I/DEBUG ( 94): > I/DEBUG ( 94): code around pc: > I/DEBUG ( 94): afd15ec0 2c006824 e028d1fb b13368db c064f8df > I/DEBUG ( 94): afd15ed0 44fc2401 4000f8cc 49124798 25002027 > I/DEBUG ( 94): afd15ee0 f7f57008 2106eb5e ecbaf7f6 460aa901 > I/DEBUG ( 94): afd15ef0 f04f2006 95015380 95029303 e820f7f6 > I/DEBUG ( 94): afd15f00 462aa905 f7f62002 f7f5e82c 2106eb4a > I/DEBUG ( 94): > I/DEBUG ( 94): code around lr: > I/DEBUG ( 94): afd193f0 4a0e4b0d e92d447b 589c41f0 26004680 > I/DEBUG ( 94): afd19400 686768a5 f9b5e006 b113300c 47c04628 > I/DEBUG ( 94): afd19410 35544306 37fff117 6824d5f5 d1ef2c00 > I/DEBUG ( 94): afd19420 e8bd4630 bf0081f0 0002810c ffffff88 > I/DEBUG ( 94): afd19430 b086b570 f602fb01 9004460c a804a901 > I/DEBUG ( 94): > I/DEBUG ( 94): stack: > I/DEBUG ( 94): bebf89b0 afd426b8 > I/DEBUG ( 94): bebf89b4 0000004b > I/DEBUG ( 94): bebf89b8 ae73ebcb /system/lib/libdbus.so > I/DEBUG ( 94): bebf89bc afd191dd /system/lib/libc.so > I/DEBUG ( 94): bebf89c0 afd4270c > I/DEBUG ( 94): bebf89c4 afd426b8 > I/DEBUG ( 94): bebf89c8 00000000 > I/DEBUG ( 94): bebf89cc afd19411 /system/lib/libc.so > I/DEBUG ( 94): bebf89d0 00000001 > I/DEBUG ( 94): bebf89d4 bebf8a04 > I/DEBUG ( 94): bebf89d8 00000a75 > I/DEBUG ( 94): bebf89dc 00000021 > I/DEBUG ( 94): bebf89e0 ae738474 /system/lib/libdbus.so > I/DEBUG ( 94): bebf89e4 afd18733 /system/lib/libc.so > I/DEBUG ( 94): bebf89e8 df002777 > I/DEBUG ( 94): bebf89ec e3a070ad > I/DEBUG ( 94): #00 bebf89f0 ae73886c /system/lib/libdbus.so > I/DEBUG ( 94): bebf89f4 00000a75 > I/DEBUG ( 94): bebf89f8 00000021 > I/DEBUG ( 94): bebf89fc afd1d1ad /system/lib/libc.so > I/DEBUG ( 94): bebf8a00 ae73e9a7 /system/lib/libdbus.so > I/DEBUG ( 94): bebf8a04 fffffbdf > I/DEBUG ( 94): bebf8a08 bebf89f4 > I/DEBUG ( 94): bebf8a0c ae743478 > I/DEBUG ( 94): bebf8a10 ae73886c /system/lib/libdbus.so > I/DEBUG ( 94): bebf8a14 ae72cd1f /system/lib/libdbus.so > I/DEBUG ( 94): #01 bebf8a18 ae7387d2 /system/lib/libdbus.so > I/logwrapper( 607): /system/bin/bluetoothd terminated by signal 11 > I/DEBUG ( 94): bebf8a1c ae7164ab /system/lib/libdbus.so > > The android version is 2.3.4 > Thanks > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
