All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Holler <holler@ahsoftware.de>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] bluetoothd: add option to automatically power on the first adapter found
Date: Fri, 10 Apr 2015 19:15:17 +0200	[thread overview]
Message-ID: <55280525.7040902@ahsoftware.de> (raw)
In-Reply-To: <97E0530A-49BA-4776-BF4E-DF500F28116E@holtmann.org>

Am 10.04.2015 um 19:10 schrieb Marcel Holtmann:
> Hi Alexander,
>
>> You want this option if you're using e.g. a bt-keyboard as the only
>> input device. Other solutions to power on an adapter at startup are
>> either unreliable or too complicated.
>>
>> E.g. I had a
>>
>> 	sleep 4
>> 	echo 'power on' | bluetoothctl
>>
>> in some startup-script. And with an update of bluez from 5.23 to
>> 5.29 Murphy visited me and I had a box without a usable keyboard
>> because those 4 second haven't been enough anymore.
>
> I think you better have a special script with something like wait-for-adapter or something similar instead of trying to force policy into the daemon.

Sorry, this won't happen and as I'm already used to have to patch big 
parts of any Linux system which should be usable I don't care much if 
this patch ends up in bluez. ;)

> We took the power on policy out of BlueZ 5 on purpose.

Nobody has to use the option which is by default off.

Thanks for the fast response.

Regards,

Alexander Holler

  reply	other threads:[~2015-04-10 17:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 16:57 [PATCH] bluetoothd: add option to automatically power on the first adapter found Alexander Holler
2015-04-10 17:10 ` Marcel Holtmann
2015-04-10 17:15   ` Alexander Holler [this message]
2015-04-11  4:06     ` Alexander Holler
2015-04-11  5:07       ` Alexander Holler
2015-04-11 16:48         ` Alexander Holler
2015-04-11 17:55           ` Marcel Holtmann
2015-04-12  9:23             ` Alexander Holler
2015-04-12 18:50               ` Marcel Holtmann
2015-04-13  9:10                 ` Alexander Holler
2015-04-13 14:32                   ` Marcel Holtmann
2015-04-13 19:08                     ` Alexander Holler
2015-04-13 20:22                       ` Marcel Holtmann
2015-04-14  8:33                         ` Alexander Holler
2015-04-14 13:50                           ` Marcel Holtmann
2015-04-14 14:14                             ` Szymon Janc
2015-04-14 15:56                               ` Szymon Janc
2015-04-15 17:59                             ` Alexander Holler
2015-04-25 10:26                               ` Alexander Holler
2015-04-27  4:40                                 ` Marcel Holtmann
2015-04-27  9:11                                   ` Alexander Holler
2015-04-27 18:53                                     ` Marcel Holtmann
2015-04-27 20:36                                       ` Alexander Holler
2015-04-10 17:15   ` Szymon Janc

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=55280525.7040902@ahsoftware.de \
    --to=holler@ahsoftware.de \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.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 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.