public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Gnome applet failing with current BlueZ?
@ 2009-07-27 22:59 David Sainty
  2009-07-28  0:53 ` Bastien Nocera
  0 siblings, 1 reply; 7+ messages in thread
From: David Sainty @ 2009-07-27 22:59 UTC (permalink / raw)
  To: BlueZ development

Hi all,

Using BlueZ 4.46 and Gnome Bluetooth 2.27.8, the applet icon fails to 
appear.  If I pull the USB adapter out and in the icon appears, but with 
a little red cross, and it isn't very functional.

Running the applet with -d (debug) I see nothing.  Doing the USB adapter 
out-in as well, I see:

Agent registration failed: Rejected send message, 2 matched rules; 
type="method_call", sender=":1.12" (uid=1000 pid=1473 
comm="bluetooth-applet -d ") interface="org.bluez.Adapter" 
member="RegisterAgent" error name="(unset)" requested_reply=0 
destination="org.bluez" (uid=0 pid=1100 comm="bluetoothd "))

I'm not sure when this stopped working, having got suitably confused 
over whether to use bluez-gnome or gnome-bluetooth I've ended up using 
neither for some time :)  bluez-gnome doesn't work either though.

It looks dbus related, but that's a black art to me...

Cheers,

Dave


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnome applet failing with current BlueZ?
  2009-07-27 22:59 Gnome applet failing with current BlueZ? David Sainty
@ 2009-07-28  0:53 ` Bastien Nocera
  2009-07-28  1:19   ` David Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien Nocera @ 2009-07-28  0:53 UTC (permalink / raw)
  To: David Sainty; +Cc: BlueZ development

On Tue, 2009-07-28 at 10:59 +1200, David Sainty wrote:
> Hi all,
> 
> Using BlueZ 4.46 and Gnome Bluetooth 2.27.8, the applet icon fails to 
> appear.  If I pull the USB adapter out and in the icon appears, but with 
> a little red cross, and it isn't very functional.

Is bluetoothd running?
<snip>

> I'm not sure when this stopped working, having got suitably confused 
> over whether to use bluez-gnome or gnome-bluetooth I've ended up using 
> neither for some time :)  bluez-gnome doesn't work either though.

I'm not sure what confusion there should be. Use gnome-bluetooth.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnome applet failing with current BlueZ?
  2009-07-28  0:53 ` Bastien Nocera
@ 2009-07-28  1:19   ` David Sainty
  2009-07-28  1:23     ` Bastien Nocera
  0 siblings, 1 reply; 7+ messages in thread
From: David Sainty @ 2009-07-28  1:19 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: BlueZ development

Bastien Nocera wrote:
> On Tue, 2009-07-28 at 10:59 +1200, David Sainty wrote:
>   
>> Hi all,
>>
>> Using BlueZ 4.46 and Gnome Bluetooth 2.27.8, the applet icon fails to 
>> appear.  If I pull the USB adapter out and in the icon appears, but with 
>> a little red cross, and it isn't very functional.
>>     
>
> Is bluetoothd running?
> <snip>
>   

Yes, and otherwise functional.  For example, I'm sending this reply over 
a bluetooth GPRS connection, and at the same time can see the 
non-functional bluetooth-applet icon with the little red/white cross.

Running bluetoothd in debug mode didn't seem to display any useful 
information relating to the applet.

>> I'm not sure when this stopped working, having got suitably confused 
>> over whether to use bluez-gnome or gnome-bluetooth I've ended up using 
>> neither for some time :)  bluez-gnome doesn't work either though.
>>     
>
> I'm not sure what confusion there should be. Use gnome-bluetooth.
>   

Well that clears that up :)  But it isn't that obvious from the state of 
the various web pages.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnome applet failing with current BlueZ?
  2009-07-28  1:19   ` David Sainty
@ 2009-07-28  1:23     ` Bastien Nocera
  2009-07-28  1:59       ` David Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien Nocera @ 2009-07-28  1:23 UTC (permalink / raw)
  To: David Sainty; +Cc: BlueZ development

On Tue, 2009-07-28 at 13:19 +1200, David Sainty wrote:
> Bastien Nocera wrote:
> > On Tue, 2009-07-28 at 10:59 +1200, David Sainty wrote:
> >   
> >> Hi all,
> >>
> >> Using BlueZ 4.46 and Gnome Bluetooth 2.27.8, the applet icon fails to 
> >> appear.  If I pull the USB adapter out and in the icon appears, but with 
> >> a little red cross, and it isn't very functional.
> >>     
> >
> > Is bluetoothd running?
> > <snip>
> >   
> 
> Yes, and otherwise functional.  For example, I'm sending this reply over 
> a bluetooth GPRS connection, and at the same time can see the 
> non-functional bluetooth-applet icon with the little red/white cross.
> 
> Running bluetoothd in debug mode didn't seem to display any useful 
> information relating to the applet.

> Agent registration failed: Rejected send message, 2 matched rules; 
> type="method_call", sender=":1.12" (uid=1000 pid=1473 
> comm="bluetooth-applet -d ") interface="org.bluez.Adapter" 
> member="RegisterAgent" error name="(unset)" requested_reply=0 
> destination="org.bluez" (uid=0 pid=1100 comm="bluetoothd "))

Do you have blueman, or the applet from bluez-gnome running?

Looks like D-Bus is refusing the connection, which version of bluez are
you using?

> >> I'm not sure when this stopped working, having got suitably confused 
> >> over whether to use bluez-gnome or gnome-bluetooth I've ended up using 
> >> neither for some time :)  bluez-gnome doesn't work either though.
> >>     
> >
> > I'm not sure what confusion there should be. Use gnome-bluetooth.
> >   
> 
> Well that clears that up :)  But it isn't that obvious from the state of 
> the various web pages.

Which web pages?

Cheers


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnome applet failing with current BlueZ?
  2009-07-28  1:23     ` Bastien Nocera
@ 2009-07-28  1:59       ` David Sainty
  2009-07-28  4:34         ` David Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: David Sainty @ 2009-07-28  1:59 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: BlueZ development

Bastien Nocera wrote:
> On Tue, 2009-07-28 at 13:19 +1200, David Sainty wrote:
>   
>> Bastien Nocera wrote:
>>     
>>> On Tue, 2009-07-28 at 10:59 +1200, David Sainty wrote:
>>>   
>>>       
>>>> Hi all,
>>>>
>>>> Using BlueZ 4.46 and Gnome Bluetooth 2.27.8, the applet icon fails to 
>>>> appear.  If I pull the USB adapter out and in the icon appears, but with 
>>>> a little red cross, and it isn't very functional.
>>>>     
>>>>         
>>> Is bluetoothd running?
>>> <snip>
>>>   
>>>       
>> Yes, and otherwise functional.  For example, I'm sending this reply over 
>> a bluetooth GPRS connection, and at the same time can see the 
>> non-functional bluetooth-applet icon with the little red/white cross.
>>
>> Running bluetoothd in debug mode didn't seem to display any useful 
>> information relating to the applet.
>>     
>
>   
>> Agent registration failed: Rejected send message, 2 matched rules; 
>> type="method_call", sender=":1.12" (uid=1000 pid=1473 
>> comm="bluetooth-applet -d ") interface="org.bluez.Adapter" 
>> member="RegisterAgent" error name="(unset)" requested_reply=0 
>> destination="org.bluez" (uid=0 pid=1100 comm="bluetoothd "))
>>     
>
> Do you have blueman, or the applet from bluez-gnome running?
>   

No and no.

> Looks like D-Bus is refusing the connection, which version of bluez are
> you using?
>
>   

BlueZ 4.46

If I run "dbus-monitor --system" I get this (and only this) immediately 
every time I start bluetooth-applet:

signal sender=org.freedesktop.DBus -> dest=(null destination) 
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; 
member=NameOwnerChanged
   string ":1.16"
   string ""
   string ":1.16"

... and I get a similar message when I ctrl-C the applet, except the 
last two string values reverse.  Presumably establishing/disestablishing 
a dbussy relationship between the applet and... something...



>>> I'm not sure what confusion there should be. Use gnome-bluetooth.
>>>   
>>>       
>> Well that clears that up :)  But it isn't that obvious from the state of 
>> the various web pages.
>>     
>
> Which web pages?
>   

I retract this :)  bluez-gnome has fallen off BlueZ's front page now, 
and it isn't referred to on the download page, so the confusion looks 
like it's in the past now...


Whilst I've got you... msgfmt is a bit of a black art to me too so I'm 
not sure this is right, but I needed to make this change to get 
gnome-bluetooth 2.27.8 to build.

--- po/es.po.orig       2009-07-27 23:02:12.975653980 +1200
+++ po/es.po    2009-07-27 23:02:40.186064443 +1200
@@ -794,7 +794,7 @@
 #~ msgid "Enter passkey"
 #~ msgstr "Introducir contraseña"
 
-#~| msgid "Enter passkey"
+#| msgid "Enter passkey"
 #~ msgid "Verify passkey"
 #~ msgstr "Verificar contraseña"


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnome applet failing with current BlueZ?
  2009-07-28  1:59       ` David Sainty
@ 2009-07-28  4:34         ` David Sainty
  2009-07-28  5:29           ` David Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: David Sainty @ 2009-07-28  4:34 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: BlueZ development

Bastien Nocera wrote:
>
>> Looks like D-Bus is refusing the connection, which version of bluez are
>> you using?

I've tried rolling back BlueZ as far back as 4.26, and gnome-bluetooth 
back to 2.27.6, but no change.  I guess the problem is related to some 
other update - maybe something to do with fallout from the dbus 
"permissive" security issue (I'm using dbus-1.2.4.2permissive at the 
moment).

I guess I'll need to track it down myself...  Any helpful advice on 
where I should look is most welcome though :)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnome applet failing with current BlueZ?
  2009-07-28  4:34         ` David Sainty
@ 2009-07-28  5:29           ` David Sainty
  0 siblings, 0 replies; 7+ messages in thread
From: David Sainty @ 2009-07-28  5:29 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: BlueZ development

David Sainty wrote:
> I've tried rolling back BlueZ as far back as 4.26, and gnome-bluetooth 
> back to 2.27.6, but no change.  I guess the problem is related to some 
> other update - maybe something to do with fallout from the dbus 
> "permissive" security issue (I'm using dbus-1.2.4.2permissive at the 
> moment).
>
> I guess I'll need to track it down myself...  Any helpful advice on 
> where I should look is most welcome though :)

Damn!  bluetooth-applet has magically started working after reinstalling 
2.27.8 and 4.26 (and various restarts of, E.g. dbus, hald).  That's just 
mysterious.  Well... never mind.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-28  5:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 22:59 Gnome applet failing with current BlueZ? David Sainty
2009-07-28  0:53 ` Bastien Nocera
2009-07-28  1:19   ` David Sainty
2009-07-28  1:23     ` Bastien Nocera
2009-07-28  1:59       ` David Sainty
2009-07-28  4:34         ` David Sainty
2009-07-28  5:29           ` David Sainty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox