From: Johan Hedberg <johan.hedberg@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: Alexander H Deriziotis <deriziotis@gmail.com>,
linux-bluetooth@vger.kernel.org
Subject: Re: Connecting to Bluetooth Speakers via command line
Date: Thu, 19 Nov 2009 15:13:50 +0200 [thread overview]
Message-ID: <20091119131350.GA5256@jh-x301> (raw)
In-Reply-To: <1258635027.2150.9168.camel@localhost.localdomain>
Hi Bastien,
On Thu, Nov 19, 2009, Bastien Nocera wrote:
> > I think the Bluetooth applet is using the org.bluez.Audio.Connect D-Bus
> > method to create the connection. You can call it from the command line
> > using e.g. the attached python script (I also realized this was missing
> > from the bluez source tree so it's now added there too). I also think
> > that it could be a nice feature if in the Bluetooth applet you could
> > mark devices to be auto-connected when the applet starts.
>
> We could probably have it try to connect to all the known audio devices
> on startup, but that'd probably break some things when multiple devices
> can be used.
Yes, and it'd also be quite bad if a user has lots of paired devices.
Each connect attempt to a device that's not connectable or within range
would block the Bluetooth adapter for the page timeout duration which is
typically between 5 and 20 seconds.
> How about trying to connect to the last used audio device? That would
> probably solve most use cases, and avoid surprises.
Yeah, that sounds like a better option to me. Maybe it would also make
sense to make this configurable since I have a feeling that not all
people will want to have their PC exhibiting this kind of behavior upon
bootup.
> Do you want to file a bug against gnome-bluetooth to ask for that? I'll
> try to implement it then.
Since I personally don't have a strong need for this feature I think
it'd be good if Alexander who originally brought up the issue would do
it so he can also do the fix verification later on.
Johan
next prev parent reply other threads:[~2009-11-19 13:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-19 11:21 Connecting to Bluetooth Speakers via command line Alexander H Deriziotis
2009-11-19 12:35 ` Johan Hedberg
2009-11-19 12:50 ` Bastien Nocera
2009-11-19 13:13 ` Johan Hedberg [this message]
2009-11-19 14:13 ` Alexander H Deriziotis
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=20091119131350.GA5256@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=deriziotis@gmail.com \
--cc=hadess@hadess.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