From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Authorization denied: Authorization agent does not exist
Date: Mon, 22 Oct 2007 11:23:32 +0200 [thread overview]
Message-ID: <1193045012.6184.159.camel@violet> (raw)
In-Reply-To: <88a477560710220150y756f8e7dj333b46eb5d9f6f68@mail.gmail.com>
Hi Matthias,
> I try to use my bluetooth mouse with bluez under opensuse 10.3. I've
> used the instructions on the bluez wiki to pair and activate the
> mouse:
>
> % dbus-send --system --type=method_call --print-reply --dest=org.bluez
> /org/bluez org.bluez.Manager.ActivateService string:input
> method return sender=:1.2 -> dest=:1.336
> string ":1.3"
>
> % dbus-send --system --type=method_call --print-reply --dest=":1.3"
> /org/bluez/input org.bluez.input.Manager.CreateDevice
> string:00:02:76:00:D3:12
> method return sender=:1.3 -> dest=:1.505
> string "/org/bluez/input/pointing0"
>
> I can connect from the notebook to the mouse with:
>
> % dbus-send --system --type=method_call --print-reply --dest=":1.3"
> /org/bluez/input/pointing0 org.bluez.input.Device.Connect
> method return sender=:1.3 -> dest=:1.3038
>
> Now I try to reconnect automatically which doesn't work as expected.
> If I press a button on the mouse I've got
>
> Oct 22 10:33:57 sus input[2846]: Incoming connection on PSM 17
> Oct 22 10:33:58 sus input[2846]: Incoming connection on PSM 19
> Oct 22 10:33:58 sus input[2846]: Authorization denied: Authorization
> agent does not exist
>
> How Do I disable the need for authorisation for my mouse?
you can't disable it. However you can use Adapter.SetTrusted() to make
the mouse a trusted device.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2007-10-22 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 8:50 [Bluez-users] Authorization denied: Authorization agent does not exist Matthias Teege
2007-10-22 9:23 ` Marcel Holtmann [this message]
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=1193045012.6184.159.camel@violet \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.