<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>HI , </DIV><DIV> </DIV><DIV>I am running DBUS on ARM 9 . The DBUS successfully creates the system bus socket and I have the messagebus.pid system_bus_socket created in the /var/run/dbus folder. </DIV><DIV> </DIV><DIV>However when I run bluetooth hcid or any test application to use DBUS , it disconnects soon after connecting. </DIV><DIV> </DIV><DIV>Attached is the verbose enabled logs. Any help in debugging is appreciated. </DIV><DIV> </DIV><DIV>Thanks </DIV><DIV>Ajay </DIV><DIV> </DIV><DIV>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ </DIV><DIV><BR>cd /opt/bluez/sbin/-/bin/sh-2.05b# -/bin/sh-2.05b# ./hcid -n -d 1 <BR>hcid[785]: Bluetooth HCI daemon <BR>hcid[785]: Enabling debug information <BR>hcid[785]: Parsing /opt/bluez/etc/bluetooth/main.conf failed: No such file or di <BR>rectory <BR>785: Filling in system bus address... <BR>785: used default system bus "unix:path=/opt/bluez/var/run/dbus/system_bus_soc <BR>ket" <BR>785: Filling in session bus address... <BR>785: "unix:abstract=/tmp/dbus-RBN05TvXCo,guid=66aa1a8946a63ced7da9e60000001399 <BR>" <BR>785: Filling in activation bus address... <BR>785: "none set" <BR>785: opening shared connection to: unix:path=/opt/bluez/var/run/dbus/system_bus_ <BR>socket <BR>785: checking for existing connection <BR>785: creating shared_connections hash table <BR>785: successfully created shared_connections <BR>785: connecting to unix socket /opt/bluez/var/run/dbus/system_bus_socket abstrac <BR>t=0 <BR>785: Successfully connected to unix socket /opt/bluez/var/run/dbus/system_bus_so <BR>cket <BR>785: client: going from state NeedSendAuth to state WaitingForData <BR>785: Initialized transport on address unix:path=/opt/bluez/var/run/dbus/system_b <BR>us_socket <BR>785: LOCK: _dbus_connection_new_for_transport <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: check_read_watch: fd = 6 <BR>785: setting read watch enabled = 0 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: check_write_watch(): needed = 1 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 0 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: UNLOCK: _dbus_connection_new_for_transport <BR>785: LOCK: _dbus_connection_open_internal <BR>785: UNLOCK: _dbus_connection_open_internal <BR>785: LOCK: dbus_connection_set_exit_on_disconnect <BR>785: UNLOCK: dbus_connection_set_exit_on_disconnect <BR>785: Allocated slot 0 on allocator 0x4010ccb0 total 1 slots allocated 1 used <BR>785: LOCK: dbus_connection_get_data <BR>785: UNLOCK: dbus_connection_get_data <BR>785: LOCK: dbus_connection_set_data <BR>785: UNLOCK: dbus_connection_set_data <BR>785: LOCK: dbus_connection_send_with_reply <BR>785: Allocated slot 0 on allocator 0x4010ccfc total 1 slots allocated 1 used <BR>785: UNLOCK: protected_change_timeout <BR>785: LOCK: protected_change_timeout <BR>785: Message 0x5d500 (1 /org/freedesktop/DBus org.freedesktop.DBus Hello '') for <BR> org.freedesktop.DBus added to outgoing queue 0x5d2d0, 1 pending to send <BR>785: Message 0x5d500 serial is 1 <BR>785: _dbus_connection_do_iteration_unlocked start <BR>785: UNLOCK: _dbus_connection_acquire_io_path <BR>785: _dbus_connection_acquire_io_path locking io_path_mutex <BR>785: _dbus_connection_acquire_io_path start connection->io_path_acquired = 0 tim <BR>eout = 0 <BR>785: _dbus_connection_acquire_io_path end connection->io_path_acquired = 1 we_ac <BR>quired = 1 <BR>785: _dbus_connection_acquire_io_path unlocking io_path_mutex <BR>785: LOCK: _dbus_connection_acquire_io_path <BR>785: Transport iteration flags 0x1 timeout -1 connected = 1 <BR>785: iteration flags = write timeout = -1 read_watch = 0x5cfc0 write_watch = 0x <BR>5cf98 fd = 6 <BR>785: in iteration, need_read=0 need_write=1 <BR>785: exchange_credentials: do_reading = 0, do_writing = 1 <BR>785: wrote credentials byte <BR>785: client auth state: bytes to send <BR>785: client: Sent 18 bytes of: AUTH EXTERNAL 30 <P></P><BR>785: exchange_credentials: do_reading = 0, do_writing = 1 <BR>785: client auth state: waiting for input <BR>785: check_read_watch: fd = 6 <BR>785: setting read watch enabled = 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: check_write_watch(): needed = 0 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: Not authenticated, not writing anything <BR>785: check_write_watch(): needed = 0 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: ... leaving do_iteration() <BR>785: _dbus_transport_do_iteration end <BR>785: _dbus_connection_release_io_path locking io_path_mutex <BR>785: _dbus_connection_release_io_path start connection->io_path_acquired = 1 <BR>785: _dbus_connection_release_io_path unlocking io_path_mutex <BR>785: _dbus_connection_do_iteration_unlocked end <BR>785: dispatch status = complete is_connected = 1 <BR>785: UNLOCK: _dbus_connection_update_dispatch_status_and_unlock <BR>785: LOCK: dbus_connection_unref <BR>785: UNLOCK: dbus_connection_unref <BR>785: LOCK: _dbus_connection_lock <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: _dbus_connection_lock <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: _dbus_connection_lock <BR>785: doing iteration in _dbus_connection_flush_unlocked <BR>785: _dbus_connection_do_iteration_unlocked start <BR>785: UNLOCK: _dbus_connection_acquire_io_path <BR>785: _dbus_connection_acquire_io_path locking io_path_mutex <BR>785: _dbus_connection_acquire_io_path start connection->io_path_acquired = 0 tim <BR>eout = -1 <BR>785: _dbus_connection_acquire_io_path end connection->io_path_acquired = 1 we_ac <BR>quired = 1 <BR>785: _dbus_connection_acquire_io_path unlocking io_path_mutex <BR>785: LOCK: _dbus_connection_acquire_io_path <BR>785: Transport iteration flags 0x7 timeout -1 connected = 1 <BR>785: iteration flags = readwrite timeout = -1 read_watch = 0x5cfc0 write_watch <BR>= 0x5cf98 fd = 6 <BR>785: unlock socket_do_iteration pre poll <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: lock socket_do_iteration post poll <BR>785: LOCK: _dbus_connection_lock <BR>785: in iteration, need_read=1 need_write=0 <BR>785: exchange_credentials: do_reading = 1, do_writing = 0 <BR>785: client auth state: waiting for input <BR>785: read 37 bytes in auth phase <BR>785: client: got command "OK 4eeff5879c2ddf01ff99b00000002254" <BR>785: Got GUID '4eeff5879c2ddf01ff99b00000002254' from the server <BR>785: client: going from state WaitingForData to state Authenticated <BR>785: exchange_credentials: do_reading = 1, do_writing = 0 <BR>785: client auth state: bytes to send <BR>785: check_read_watch: fd = 6 <BR>785: setting read watch enabled = 0 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: check_write_watch(): needed = 1 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: do_reading: fd = 6 <BR>785: check_write_watch(): needed = 1 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: ... leaving do_iteration() <BR>785: _dbus_transport_do_iteration end <BR>785: _dbus_connection_release_io_path locking io_path_mutex <BR>785: _dbus_connection_release_io_path start connection->io_path_acquired = 1 <BR>785: _dbus_connection_release_io_path unlocking io_path_mutex <BR>785: _dbus_connection_do_iteration_unlocked end <BR>785: doing iteration in _dbus_connection_flush_unlocked <BR>785: _dbus_connection_do_iteration_unlocked start <BR>785: UNLOCK: _dbus_connection_acquire_io_path <BR>785: _dbus_connection_acquire_io_path locking io_path_mutex <BR>785: _dbus_connection_acquire_io_path start connection->io_path_acquired = 0 tim <BR>eout = -1 <BR>785: _dbus_connection_acquire_io_path end connection->io_path_acquired = 1 we_ac <BR>quired = 1 <BR>785: _dbus_connection_acquire_io_path unlocking io_path_mutex <BR>785: LOCK: _dbus_connection_acquire_io_path <BR>785: Transport iteration flags 0x7 timeout -1 connected = 1 <BR>785: iteration flags = readwrite timeout = -1 read_watch = 0x5cfc0 write_watch <BR>= 0x5cf98 fd = 6 <BR>785: unlock socket_do_iteration pre poll <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: lock socket_do_iteration post poll <BR>785: LOCK: _dbus_connection_lock <BR>785: in iteration, need_read=0 need_write=1 <BR>785: exchange_credentials: do_reading = 0, do_writing = 1 <BR>785: client auth state: bytes to send <BR>785: client: Sent 7 bytes of: BEGIN <P></P><BR>785: check_read_watch: fd = 6 <BR>785: setting read watch enabled = 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: check_write_watch(): needed = 1 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: check_write_watch(): needed = 1 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: ... leaving do_iteration() <BR>785: _dbus_transport_do_iteration end <BR>785: _dbus_connection_release_io_path locking io_path_mutex <BR>785: _dbus_connection_release_io_path start connection->io_path_acquired = 1 <BR>785: _dbus_connection_release_io_path unlocking io_path_mutex <BR>785: _dbus_connection_do_iteration_unlocked end <BR>785: doing iteration in _dbus_connection_flush_unlocked <BR>785: _dbus_connection_do_iteration_unlocked start <BR>785: UNLOCK: _dbus_connection_acquire_io_path <BR>785: _dbus_connection_acquire_io_path locking io_path_mutex <BR>785: _dbus_connection_acquire_io_path start connection->io_path_acquired = 0 tim <BR>eout = -1 <BR>785: _dbus_connection_acquire_io_path end connection->io_path_acquired = 1 we_ac <BR>quired = 1 <BR>785: _dbus_connection_acquire_io_path unlocking io_path_mutex <BR>785: LOCK: _dbus_connection_acquire_io_path <BR>785: Transport iteration flags 0x7 timeout -1 connected = 1 <BR>785: iteration flags = readwrite timeout = -1 read_watch = 0x5cfc0 write_watch <BR>= 0x5cf98 fd = 6 <BR>785: unlock socket_do_iteration pre poll <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: lock socket_do_iteration post poll <BR>785: LOCK: _dbus_connection_lock <BR>785: in iteration, need_read=0 need_write=1 <BR>785: do_writing(), have_messages = 1, fd = 6 <BR>785: wrote 128 bytes of 128 <BR>785: Message 0x5d500 (1 /org/freedesktop/DBus org.freedesktop.DBus Hello '') rem <BR>oved from outgoing queue 0x5d2d0, 0 left to send <BR>785: check_write_watch(): needed = 0 on connection 0x5d2d0 watch 0x5cf98 fd = 6 <BR>outgoing messages exist 0 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: ... leaving do_iteration() <BR>785: _dbus_transport_do_iteration end <BR>785: _dbus_connection_release_io_path locking io_path_mutex <BR>785: _dbus_connection_release_io_path start connection->io_path_acquired = 1 <BR>785: _dbus_connection_release_io_path unlocking io_path_mutex <BR>785: _dbus_connection_do_iteration_unlocked end <BR>785: _dbus_connection_flush_unlocked middle <BR>785: 0 unused bytes sent to message loader <BR>785: dispatch status = complete is_connected = 1 <BR>785: dbus_connection_send_with_reply_and_block(): will block 25000 milliseconds <BR>for reply serial 1 from 8866 sec 446068 usec to 8891 sec 446068 usec <BR>785: _dbus_connection_do_iteration_unlocked start <BR>785: UNLOCK: _dbus_connection_acquire_io_path <BR>785: _dbus_connection_acquire_io_path locking io_path_mutex <BR>785: _dbus_connection_acquire_io_path start connection->io_path_acquired = 0 tim <BR>eout = 25000 <BR>785: _dbus_connection_acquire_io_path end connection->io_path_acquired = 1 we_ac <BR>quired = 1 <BR>785: _dbus_connection_acquire_io_path unlocking io_path_mutex <BR>785: LOCK: _dbus_connection_acquire_io_path <BR>785: Transport iteration flags 0x6 timeout 25000 connected = 1 <BR>785: iteration flags = read timeout = 25000 read_watch = 0x5cfc0 write_watch = <BR>0x5cf98 fd = 6 <BR>785: unlock socket_do_iteration pre poll <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: lock socket_do_iteration post poll <BR>785: LOCK: _dbus_connection_lock <BR>785: in iteration, need_read=1 need_write=0 <BR>785: do_reading: fd = 6 <BR>785: check_read_watch: fd = 6 <BR>785: setting read watch enabled = 1 <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: Disconnected from remote app <BR>785: _dbus_transport_disconnect start <BR>785: socket_disconnect <BR>785: free_watches start <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: Setting watch fd -1 data to data = (nil) function = (nil) from data = (nil) <BR> function = (nil) <BR>785: UNLOCK: protected_change_watch <BR>785: LOCK: protected_change_watch <BR>785: Setting watch fd -1 data to data = (nil) function = (nil) from data = (nil) <BR> function = (nil) <BR>785: free_watches end <BR>785: _dbus_transport_disconnect end <BR>785: ... leaving do_iteration() <BR>785: _dbus_transport_do_iteration end <BR>785: _dbus_connection_release_io_path locking io_path_mutex <BR>785: _dbus_connection_release_io_path start connection->io_path_acquired = 1 <BR>785: _dbus_connection_release_io_path unlocking io_path_mutex <BR>785: _dbus_connection_do_iteration_unlocked end <BR>785: _dbus_connection_block_pending_call top of recheck <BR>785: dispatch status = complete is_connected = 0 <BR>785: Sending disconnect message from notify_disconnected_and_dispatch_complete_u <BR>nlocked <BR>785: Synthesized message 0x5d660 added to incoming queue 0x5d2d0, 1 incoming <BR>785: UNLOCK: protected_change_timeout <BR>785: LOCK: protected_change_timeout <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: free_pending_call_on_hash_removal <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: connection_timeout_and_complete_all_pending_calls_unlocked <BR>785: Synthesized message 0x5d358 added to incoming queue 0x5d2d0, 2 incoming <BR>785: check_for_reply_and_update_dispatch_unlocked checked for reply <BR>785: dbus_connection_send_with_reply_and_block(): got reply <BR>785: handing message 0x5d660 (error) to pending call serial 1 <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: _dbus_connection_lock <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: check_for_reply_and_update_dispatch_unlocked <BR>785: UNLOCK: _dbus_connection_update_dispatch_status_and_unlock <BR>785: LOCK: dbus_connection_unref <BR>785: UNLOCK: dbus_connection_unref <BR>785: LOCK: _dbus_connection_lock <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: _dbus_connection_lock <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: LOCK: _dbus_connection_lock <BR>785: UNLOCK: _dbus_connection_unlock <BR>785: Freeing slot 0 on allocator 0x4010ccfc total 1 allocated 1 used <BR>785: LOCK: dbus_connection_unref <BR>785: UNLOCK: dbus_connection_unref <BR>785: LOCK: _dbus_connection_close_possibly_shared <BR>785: Disconnecting 0x5d2d0 <BR>785: _dbus_transport_disconnect start <BR>785: UNLOCK: _dbus_connection_update_dispatch_status_and_unlock <BR>785: LOCK: dbus_connection_unref <BR>785: UNLOCK: dbus_connection_unref <BR>785: LOCK: dbus_connection_unref <BR>785: UNLOCK: dbus_connection_unref <BR>785: LOCK: dbus_connection_unref <BR>785: UNLOCK: dbus_connection_unref <BR>785: opening shared connection to: unix:path=/opt/bluez/var/run/dbus/system_bus_ <BR>socket <BR>785: checking for existing connection <BR>785: connecting to unix socket /opt/bluez/var/run/dbus/system_bus_socket abstrac <BR>t=0 <BR>hcid[785]: Unable to get on D-Bus <P></P><BR> <P></P><BR>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ </DIV></FONT>This email may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. Thanks<br />
<BR>
______________________________________________________________________<BR>