Bluetooth keyboard and mouse aren't being paired; handle disconnects poorly

Bug #437955 reported by Matt Mullins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: bluez

I have a bluetooth keyboard and mouse, and they do not seem to be pairing properly in karmic. My Palm Centro, however, paired just fine. Since the keyboard and mouse aren't paired, when they disconnect (i.e. I move my laptop somewhere else), they are unable to reconnect when I am in range.

I added all three devices through the bluetooth wizard from the Gnome bluetooth-applet.

Querying the DBus interface to Bluez (using Python as my vector):
>>> import dbus
>>> sb = dbus.SystemBus()
>>> o = sb.get_object('org.bluez', '/org/bluez/2090/hci0/dev_00_1D_FE_1D_D5_BC')
>>> print o.GetProperties(dbus_interface='org.bluez.Device')
dbus.Dictionary({dbus.String(u'Name'): dbus.String(u"mokomull's Centro", variant_level=1), dbus.String(u'Paired'): dbus.Boolean(True, variant_level=1), dbus.String(u'Adapter'): dbus.ObjectPath('/org/bluez/2090/hci0', variant_level=1), ......}, signature=dbus.Signature('sv'))

The above is my phone, which shows Paired: True.

Repeating the above on my mouse:
>>> o = sb.get_object('org.bluez', '/org/bluez/2090/hci0/dev_00_07_61_9B_0B_B8')
>>> print o.GetProperties(dbus_interface='org.bluez.Device')
dbus.Dictionary({dbus.String(u'Name'): dbus.String(u'Bluetooth Laser Travel Mouse', variant_level=1), dbus.String(u'Paired'): dbus.Boolean(False, variant_level=1), dbus.String(u'Connected'): dbus.Boolean(False, variant_level=1), ......}, signature=dbus.Signature('sv'))

This says Paired: False. It also says Connected: False, but the Gnome bluetooth applet still shows them in bold, indicating that they are connected. They also never show up in the device search again.

I removed them by using the org.bluez.Adapter.RemoveDevice() DBus method, which then let me add them through the bluetooth wizard again. This is a bit tedious for the end user to do.

The expected behavior is that the devices get paired with my laptop so that they automatically reconnect.

Revision history for this message
Konrad Zapałowicz (kzapalowicz) wrote :

This is reported against an old version of Ubuntu and many things has changed since then. Because of that we won't fix this issue however if this behavior repeats on a modern version please fill a bug report against it and we will take it from there.

Changed in bluez (Ubuntu):
status: New → 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.