public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Petr Kubánek" <petr@kubanek.net>
To: linux-bluetooth@vger.kernel.org
Subject: Problems with bluetooth mouse pairing
Date: Sat, 21 Nov 2009 15:28:06 +0100	[thread overview]
Message-ID: <1258813686.20439.13.camel@epsilon> (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


             reply	other threads:[~2009-11-21 14:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 14:28 Petr Kubánek [this message]
2009-11-21 14:31 ` Problems with bluetooth mouse pairing 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1258813686.20439.13.camel@epsilon \
    --to=petr@kubanek.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox