Re: Connecting to Bluetooth Speakers via command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux