Thread (4 messages) flat view 4 messages, 2 authors, 2011-07-28

can adapters have a say in automatic setup procedure?

From: Pavan Savoy <hidden>
Date: 2011-07-27 15:49:03

Johan,

The patch mentioned below seem to power on the adapters for before
they are being actually used and the user-space bluetoothd exists.
I am not sure in what situations or what sort of adapters would
require such information to be available before-hand, even before the
adapter is intended to be used.


However, what I would really like is the adapters to have say in this.
I do-not want my bluetooth device to be accessed before the bluetooth
user-space exists, Because I would require to do a bunch of
initialization upon hdev->open of my interface, which I don't want to
go thru' just to provide information.

So please suggest on this....

commit ab81cbf99c881ca2b9a83682a8722fc84b2483d2
Author: Johan Hedberg [off-list ref]
Date:   Wed Dec 15 13:53:18 2010 +0200

    Bluetooth: Implement automatic setup procedure for local adapters

    This patch implements automatic initialization of basic information
    about newly registered Bluetooth adapters. E.g. the address and features
    are always needed so it makes sense for the kernel to automatically
    power on adapters and read this information. A new HCI_SETUP flag is
    added to track this state.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help