public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Problems with bluetooth mouse pairing
@ 2009-11-21 14:28 Petr Kubánek
  2009-11-21 14:31 ` Bastien Nocera
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Kubánek @ 2009-11-21 14:28 UTC (permalink / raw)
  To: linux-bluetooth

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


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

* Re: Problems with bluetooth mouse pairing
  2009-11-21 14:28 Problems with bluetooth mouse pairing Petr Kubánek
@ 2009-11-21 14:31 ` Bastien Nocera
  2009-11-21 14:54   ` Petr Kubánek
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien Nocera @ 2009-11-21 14:31 UTC (permalink / raw)
  To: Petr Kubánek; +Cc: linux-bluetooth

On Sat, 2009-11-21 at 15:28 +0100, Petr Kubánek wrote:
> 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


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

* Re: Problems with bluetooth mouse pairing
  2009-11-21 14:31 ` Bastien Nocera
@ 2009-11-21 14:54   ` Petr Kubánek
  2009-11-21 15:00     ` Bastien Nocera
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Kubánek @ 2009-11-21 14:54 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-bluetooth

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:
> On Sat, 2009-11-21 at 15:28 +0100, Petr Kubánek wrote:
> > 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
> 



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

* Re: Problems with bluetooth mouse pairing
  2009-11-21 14:54   ` Petr Kubánek
@ 2009-11-21 15:00     ` Bastien Nocera
  2009-11-21 16:51       ` Petr Kubánek
  2009-11-21 16:57       ` Petr Kubánek
  0 siblings, 2 replies; 6+ messages in thread
From: Bastien Nocera @ 2009-11-21 15:00 UTC (permalink / raw)
  To: Petr Kubánek; +Cc: linux-bluetooth

On Sat, 2009-11-21 at 15:54 +0100, Petr Kubánek wrote:
> 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.

> gnome-bluetooth 2.28.1-0ubuntu2

Should be fine.

> 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.


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

* Re: Problems with bluetooth mouse pairing
  2009-11-21 15:00     ` Bastien Nocera
@ 2009-11-21 16:51       ` Petr Kubánek
  2009-11-21 16:57       ` Petr Kubánek
  1 sibling, 0 replies; 6+ messages in thread
From: Petr Kubánek @ 2009-11-21 16:51 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-bluetooth


> 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


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

* Re: Problems with bluetooth mouse pairing
  2009-11-21 15:00     ` Bastien Nocera
  2009-11-21 16:51       ` Petr Kubánek
@ 2009-11-21 16:57       ` Petr Kubánek
  1 sibling, 0 replies; 6+ messages in thread
From: Petr Kubánek @ 2009-11-21 16:57 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-bluetooth


> > 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


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

end of thread, other threads:[~2009-11-21 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 14:28 Problems with bluetooth mouse pairing Petr Kubánek
2009-11-21 14:31 ` Bastien Nocera
2009-11-21 14:54   ` Petr Kubánek
2009-11-21 15:00     ` Bastien Nocera
2009-11-21 16:51       ` Petr Kubánek
2009-11-21 16:57       ` Petr Kubánek

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