Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] How to NOT initialize newly attached Bluetooth dongles
@ 2005-04-25  1:42 Arch Sayo
  2005-04-26 11:37 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Arch Sayo @ 2005-04-25  1:42 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

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 

[-- Attachment #2: Type: text/html, Size: 1113 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] How to NOT initialize newly attached Bluetooth dongles
  2005-04-25  1:42 [Bluez-users] How to NOT initialize newly attached Bluetooth dongles Arch Sayo
@ 2005-04-26 11:37 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-04-26 11:37 UTC (permalink / raw)
  To: bluez-users

Hi Arch,

> 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.

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-26 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25  1:42 [Bluez-users] How to NOT initialize newly attached Bluetooth dongles Arch Sayo
2005-04-26 11:37 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox