Skip to contentSkip to conversation

How to NOT initialize newly attached Bluetooth dongles

Bluez-users Arch Sayo 2 participants 2 messages Apr 25, 2005 – Apr 26, 2005 Bluetooth drivers

lore
Share & tools
lore

Arch Sayo

author
#0 lore raw

Hi,

I have been using hcid in handling initialization of my Bluetooth dongle.

I have this issue with regards to me not wanting to initialize newly attached Bluetooth dongles. Here is the scenario:
1. I let hcid initialize my attached Bluetooth dongle.
2. Then I configure the dongle to be in the OFF state/mode (hciconfig hci0 down).
3. When I detach the dongle and re-attach it, it comes back to UP and Running mode.

Since I put the dongle in OFF mode, I would like to keep this mode when I detach and re-attach the dongle.

My question then is how will I make it not being automatically initialized by hcid. I have been trying to play with the hcid configuration file but to no avail.

Thanks,
Arch

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

maintainer
#1 lore raw

Hi Arch,

Quoted 12 lines

I have been using hcid in handling initialization of my Bluetooth dongle.

I have this issue with regards to me not wanting to initialize newly attached Bluetooth dongles.
Here is the scenario:
1. I let hcid initialize my attached Bluetooth dongle.
2. Then I configure the dongle to be in the OFF state/mode (hciconfig hci0 down).
3. When I detach the dongle and re-attach it, it comes back to UP and Running mode.

Quoted 7 lines

Since I put the dongle in OFF mode, I would like to keep this mode when I detach and re-attach the dongle.

My question then is how will I make it not being automatically initialized by hcid.
I have been trying to play with the hcid configuration file but to no avail.

the hcid is not storing the current mode of a device. The only thing you can do right now is to disable the autoinit feature completely and do everything by yourself.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users