2014-05-27 07:47:08

by Hedberg, Johan

[permalink] [raw]
Subject: Re: HCI_AUTO_OFF ... how to do that from hcitool?

Hi Jeff,

On Tue, May 27, 2014, Jeff Chua wrote:
> commit ab81cbf99c881ca2b9a83682a8722fc84b2483d2
> Author: Johan Hedberg <[email protected]>
> Date: Wed Dec 15 13:53:18 2010 +0200
>
> Bluetooth: Implement automatic setup procedure for local adapters
>
> A new HCI_AUTO_OFF flag is added that user space needs to clear to
> avoid the automatic power off

First of all please don't send private emails on topics that can be
discussed in public. I've included linux-bluetooth in CC where I hope
the thread can continue.

> Help, how do I clear the HCI_AUTO_OFF flag using "hcitool cmd" ?

The HCI_AUTO_OFF flag is a purely kernel-side feature without any user
space interface. It gets automatically cleared when the kernel completes
the initial setup/init routine of the controller.

Johan