[Hardy] bluetooth-applet fails to start

Bug #206549 reported by slamdunk
16
Affects Status Importance Assigned to Milestone
bluez-gnome (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: bluez-gnome

When I try to launch bluetooth-applet via shell to active bluetooth on my system I get:

$ bluetooth-applet
Bluetooth OBEX server failed: Bluez DBus interface not available

Is it a bug or miss some package and/or configuration?

Revision history for this message
Matti Lindell (mlind) wrote :

You shouldn't need to manually start the applet as its automatically started during login by /etc/xdg/autostart/bluetooth-applet.desktop. Do you have bluez-utils package installed ?

Changed in bluez-gnome:
status: New → Incomplete
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Can you try restarting the machine. Although it shouldn't be necessary, may be there is some problem with the starting of bluetooth dbus service.

Revision history for this message
slamdunk (antongiulio05) wrote :

@Matti Lindell
Yes, I have bluez-utils installed.

@Onkar Shinde
I have restarted machine but nothing is changed. Same error message.

Revision history for this message
slamdunk (antongiulio05) wrote :
Revision history for this message
slamdunk (antongiulio05) wrote :
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Is the machine a laptop? Does it actually have a bluetooth module, because I don't see anything resembling to bluetooth in lspci output? Is there a hardware switch or keyboard button to turn on/off bluetooth?

Revision history for this message
slamdunk (antongiulio05) wrote :

It's a laptop and from 'lsmod' I can get:

bluetooth 61156 1 hci_usb

bluetooth's led is on.

My laptop is a XPS M1330. Bluetooth in Gutsy was (badly) working on same machine.

Revision history for this message
slamdunk (antongiulio05) wrote :

this bug-report is marked as incompleted. Does it need to other things?

Revision history for this message
Thomas Novin (thomasn80) wrote :

Changing from Incomplete to Confirmed. I have the same issue.

Changed in bluez-gnome:
status: Incomplete → Confirmed
Revision history for this message
Matti Lindell (mlind) wrote :

What's the output if you try this from a console
$ obex-data-server --no-daemon

Revision history for this message
slamdunk (antongiulio05) wrote :

mybox:~$ obex-data-server --no-daemon
** Message: obex-data-server 0.3.1
** Message: Using Session bus

** (obex-data-server:8023): WARNING **: Already running in this session
mybox:~$ bluetooth-applet
Bluetooth OBEX server failed: Bluez DBus interface not available
Bluetooth FTP server failed: Bluez DBus interface not available

Revision history for this message
Thomas Novin (thomasn80) wrote :

Something seems to be wrong with the Bluetooth device.

$ hcitool dev
Devices:

Latest info about hci0 from /var/log/daemon.log:
Apr 10 11:05:20 pc-thnov-ubuntu hcid[6373]: HCI dev 0 down
Apr 10 11:05:20 pc-thnov-ubuntu hcid[6373]: Stopping security manager 0
Apr 10 11:05:20 pc-thnov-ubuntu hcid[6373]: Device hci0 has been disabled
Apr 10 11:05:20 pc-thnov-ubuntu hcid[6373]: HCI dev 0 unregistered
Apr 10 11:05:20 pc-thnov-ubuntu hcid[6373]: Unregister path: /org/bluez/hci0
Apr 10 11:05:20 pc-thnov-ubuntu hcid[6373]: Device hci0 has been removed

$ lsmod | grep blue
bluetooth 61156 4 rfcomm,l2cap

I have a HP nc8430 laptop.

Revision history for this message
Matti Lindell (mlind) wrote :

This looks more likely a bluez-utils or kernel issue

Revision history for this message
Matti Lindell (mlind) wrote :

Could you post the output of
dpkg -l | grep bluez

I managed to get the same error when libbluetooth2 was not the version provided by the distribution.

Revision history for this message
bmar (bmarty79-gmail) wrote :

Hi,

I have the same message when trying to start bluetooth-applet.
Here's the result of dpkg -l | grep bluez

ii bluez-audio 3.26-0ubuntu6 Bluetooth audio support
ii bluez-cups 3.26-0ubuntu6 Bluetooth printer driver for CUPS
ii bluez-gnome 0.25-0ubuntu1 Bluetooth utilities for GNOME
rc bluez-utils 3.19-0ubuntu3 Bluetooth tools and daemons

Is there anything else I could do ??

Revision history for this message
bmar (bmarty79-gmail) wrote :

Sorry, I made a mistake !
Here's the correst output :

ii bluez-audio 3.26-0ubuntu6 Bluetooth audio support
ii bluez-cups 3.26-0ubuntu6 Bluetooth printer driver for CUPS
ii bluez-gnome 0.25-0ubuntu1 Bluetooth utilities for GNOME
ii bluez-utils 3.26-0ubuntu6 Bluetooth tools and daemons

Revision history for this message
Yeyui (danielwells) wrote :

I have the same issue.
obex-data-server --no-daemon
and
dpkg -l | grep bluez
give the same results as others above.

I am using a USB bluetooth adapter.

Revision history for this message
Matthias Urlichs (smurf) wrote :

This happens when hcid dies.

Try "sudo /usr/sbin/hcid -d -n" and report what it says.

Revision history for this message
bmar (bmarty79-gmail) wrote :

Hi,
thanks for taking care of this !

Here's the output of this command :

bruno@bruno-laptop:~$ sudo /usr/sbin/hcid -d -n
[sudo] password for bruno:
hcid[7163]: Bluetooth HCI daemon
hcid[7163]: Enabling debug information
hcid[7163]: Could not become the primary owner of org.bluez
hcid[7163]: Unable to get on D-Bus

However, it seems that on the Dell Inspiron 1525, the bluetooth card isn't working "out of the box". But I still don't know what to do to make it work, apart from waiting that someone solves this issue ;-))

Thanks again !!

Revision history for this message
Qwerty Maniac (qwertymaniac) wrote :

I get the same error on ArchLinux but it was an easy issue to clear like Matthias pointed, you just need to add bluetooth as a start-up daemon or start it before/after you load the bluetooth drivers. bluetooth-applet must start fine after that. :)

I had to add bluetooth to my DAEMONS=() in /etc/rc.conf (ArchLinux), you can do something equivalent to this on Ubuntu.

Revision history for this message
Mario Limonciello (superm1) wrote :

If the daemon hasn't detected a bluetooth device, the applet doesn't show up. Manually forcing the properties to show up doesn't change this. There is no bug here with bluez-gnome, if you are having issues with the applet showing up, make sure you can use the command line tools to play with your device (hcitool and friends) before pointing fingers at the applet.

Changed in bluez-gnome:
status: Confirmed → Invalid
Revision history for this message
Pepote (pepotegg) wrote :

It's a permission problem. If you add your user to netdev group, bluetooth-applet would be able to connect to dbus server. You can see permissions in /etc/dbus-1/system.d/bluetooth.conf

Revision history for this message
maximi89 (maximi89) wrote :

This error still opened?

I'm using Debian, i opened a bug, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530288

this error comes from obex-data-server i think this don't have a file to have permission on DBUS, that file need to be inside of /etc/dbus-1/system.d/ but, dont't exist:

      maximi89@Maximiliano:~$ ls -l /etc/dbus-1/system.d/
      total 60
      -rw-r--r-- 1 root root 1003 abr 18 08:48 avahi-dbus.conf
      -rw-r--r-- 1 root root 948 may 3 14:58 bluetooth.conf
      -rw-r--r-- 1 root root 6887 mar 10 13:19 ConsoleKit.conf
      -rw-r--r-- 1 root root 710 sep 14 2006 gnome-power-manager.conf.dpkg-bak
      -rw-r--r-- 1 root root 2575 abr 17 15:45 hal.conf
      -rw-r--r-- 1 root root 1012 abr 23 11:20 kerneloops.dbus
      -rw-r--r-- 1 root root 427 mar 22 12:07 mumble-server.conf
      -rw-r--r-- 1 root root 551 abr 1 07:25 newprinternotification.conf
      -rw-r--r-- 1 root root 523 feb 18 13:29 org.freedesktop.PolicyKit.conf
      -rw-r--r-- 1 root root 591 abr 7 06:56 org.gnome.ClockApplet.Mechanism.conf
      -rw-r--r-- 1 root root 497 abr 8 06:03 org.gnome.CPUFreqSelector.conf
      -rw-r--r-- 1 root root 453 may 28 2008 skype.conf
      -rw-r--r-- 1 root root 3386 mar 21 12:22 system-tools-backends.conf
      -rw-r--r-- 1 root root 895 jul 17 2008 wpa_supplicant.conf

http://packages.debian.org/sid/i386/obex-data-server/filelist

Revision history for this message
SerP (serp2002) wrote :

I have that problem too.
When i login to my desktop, bluetooth is not activated, and if i whant use it, i go under table, where stay my PC, plug off and plug in bluetooth dongle. And only after that i can use it....

what cat i fix that?

or what can i activate bluetooth from console?

Revision history for this message
SerP (serp2002) wrote :

cat anybody give solution?

Changed in bluez-gnome (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

incomplete for a long time

Changed in bluez-gnome (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.