[Bug 437955] [NEW] Bluetooth keyboard and mouse aren't being paired; handle disconnects poorly

Matt Mullins mokomull at gmail.com
Mon Sep 28 06:04:14 BST 2009


Public bug reported:

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.

** Affects: bluez (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Bluetooth keyboard and mouse aren't being paired; handle disconnects poorly
https://bugs.launchpad.net/bugs/437955
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.



More information about the Ubuntu-bluetooth mailing list