Skip to contentSkip to conversation

Problems with bluetooth mouse pairing

DISCUSSION Petr Kubánek 2 participants 6 messages Nov 21, 2009 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I have problems with bluetooth mouse pairing - there is debug output from bluetoothd -d -n:

bluetoothd[25168]: Registered interface org.bluez.Control on path /org/bluez/25168/hci0/dev_00_21_AB_32_FD_45 bluetoothd[25168]: Found AV Target
bluetoothd[25168]: Adapter /org/bluez/25168/hci0 has been enabled bluetoothd[25168]: Computer is classified as laptop bluetoothd[25168]: Setting 0x00010c for major/minor device class bluetoothd[25168]: Agent registered for hci0
at :1.47:/org/bluez/agent/hci0
bluetoothd[25168]: adapter_get_device(00:07:61:86:FB:A5) bluetoothd[25168]: adapter_create_device(00:07:61:86:FB:A5) bluetoothd[25168]: Creating
device /org/bluez/25168/hci0/dev_00_07_61_86_FB_A5 bluetoothd[25168]: btd_device_ref(0x7f12193966e0): ref=1 bluetoothd[25168]: Incoming connection on PSM 17 bluetoothd[25168]: authorize request was sent
for /org/bluez/25168/hci0/dev_00_07_61_86_FB_A5

Then my Ubuntu Gnome ask for confirmation to allow device pairing. If I allow it, the following follows:

bluetoothd[25168]: Removing temporary
device /org/bluez/25168/hci0/dev_00_07_61_86_FB_A5 bluetoothd[25168]: Removing
device /org/bluez/25168/hci0/dev_00_07_61_86_FB_A5 bluetoothd[25168]: btd_device_unref(0x7f12193966e0): ref=0 bluetoothd[25168]: device_free(0x7f12193966e0) bluetoothd[25168]: HUP or ERR on socket

If I disallow it, the following is printed:

bluetoothd[25168]: Agent replied with an error:
org.bluez.Error.Rejected, Authorization request rejected bluetoothd[25168]: Access denied: Authorization request rejected

bluetoothd[25168]: Removing temporary
device /org/bluez/25168/hci0/dev_00_07_61_86_FB_A5 bluetoothd[25168]: Removing
device /org/bluez/25168/hci0/dev_00_07_61_86_FB_A5 bluetoothd[25168]: btd_device_unref(0x7f12193966e0): ref=0 bluetoothd[25168]: device_free(0x7f12193966e0)

What I am missing? What can be wrong? Where I can found details which socket experienced HUP or ERR? I tried multiple approaches, so far nothing worked reliably. The mouse worked fine on Ubuntu 9.04, stop working on 9.10. I tried to install hidd, which was removed, or use blueman - nothing helps.

Thanks for any aid. Just pointing out what might be wrong will help as well.

Petr

#1 lore raw
Quoted 4 lines · Petr Kubánek

Hi,

I have problems with bluetooth mouse pairing - there is debug output from bluetoothd -d -n:

What hardware is that? Do you use gnome-bluetooth or bluez-gnome, and which versions?

Cheers

#2 lore raw

Bus 002 Device 003: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]

The whole is part HP/Compaq nx7300 laptop.

gnome-bluetooth 2.28.1-0ubuntu2

bluez-gnome is not supported by Canonical, but I will try it out.

Petr

Bastien Nocera píše v So 21. 11. 2009 v 14:31 +0000:

Quoted 11 lines · Petr Kubánek
Quoted 4 lines

Hi,

I have problems with bluetooth mouse pairing - there is debug output from bluetoothd -d -n:

What hardware is that? Do you use gnome-bluetooth or bluez-gnome, and which versions?

Cheers

#3 lore raw
Quoted 4 lines · Petr Kubánek

Bus 002 Device 003: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]

The whole is part HP/Compaq nx7300 laptop.

By hardware I meant the mouse. Why does it need pairing? Mice aren't supposed to need pairing.

Quoted 1 line

gnome-bluetooth 2.28.1-0ubuntu2

Should be fine.

Quoted 1 line

bluez-gnome is not supported by Canonical, but I will try it out.

Don't. It just can happen that bluez-gnome will be installed if you're doing an upgrade.

#4 lore raw
Quoted 3 lines

By hardware I meant the mouse. Why does it need pairing? Mice aren't supposed to need pairing.

Yes, I am also surprised by this.

It is Logitech Bluetooth Mouse, P/N 852665-0000, M/N M-R8893. I can try anything, including compiling new bluez stack - just give me pointers for what to look for.

Petr

#5 lore raw
In reply to Bastien Nocera
Quoted 5 lines
Quoted 2 lines

bluez-gnome is not supported by Canonical, but I will try it out.

Don't. It just can happen that bluez-gnome will be installed if you're doing an upgrade.

I installed it anyway. It shows mouse when I click Add new hardware. When I leave automatic PIN selection, it ends with "Pairing failed". If I try various other PINs, it shows the same. That was already observed before, when I have bluez-gnome left from the upgrade.

Petr