# Root cause, if the bluetooth(kernel module and hardware) didn't finished the initial. Then: bluez-4.98/src/main.c : 439 int main(int argc, char *argv[]) ... .. 511 if (connect_dbus() < 0) { 512 error("Unable to get on D-Bus"); ^^^^^^^^ // The function connect_dbus() will return a non-zero, so will output a log "Unable to get on D-Bus".
385 static int connect_dbus(void) 386 { 387 DBusConnection *conn; 388 DBusError err; 389 390 dbus_error_init(&err); 391 392 conn = g_dbus_setup_bus(DBUS_BUS_SYSTEM, BLUEZ_NAME, &err); ^^^^^^^^^^^^^^^^ 393 if (!conn) { 394 if (dbus_error_is_set(&err)) { ^^^^^^^^^^^^^^^ 395 g_printerr("D-Bus setup failed: %s\n", err.message); 396 dbus_error_free(&err); 397 return -EIO; 398 } 399 return -EALREADY; // The value "conn" is non-zero and dbus_error_is_set(&err)) will return none-zero too. Just restart the bluetooth service by manual, bluetoothd will be startup correctly. sudo service bluetooth restart -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1221618 Title: Bluetooth doesn't work after S3/S4 or after turning bluetooth on/off several times by toggle key Status in Bluez Utilities: New Status in OEM Priority Project: New Status in OEM Priority Project precise series: New Status in “bluez” package in Ubuntu: New Bug description: After S3/S4 or turning bluetooth on/off several times by toggle key, there are many error messages in dmesg. And sometime the bluetooth menu is incomplete. dmesg: [ 1117.356421] init: bluetooth main process (3848) terminated with status 1 [ 1117.356506] init: bluetooth main process ended, respawning [ 1117.399989] init: bluetooth main process (3857) terminated with status 1 [ 1117.400048] init: bluetooth main process ended, respawning To manage notifications about this bug go to: https://bugs.launchpad.net/bluez/+bug/1221618/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp