* [Bluez-devel] hciattach <--> hcid
@ 2007-01-28 15:15 Choi Sonim
2007-01-28 21:48 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Choi Sonim @ 2007-01-28 15:15 UTC (permalink / raw)
To: BlueZ development
hello all,
when I do hciattach, i see that hcid automatically add the new device,
and when i send -SIGTERM to hciattach, i see that hcid removed the device.
how does hcid knows about all these changes ?
where is the communication ?
thank you all
choi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] hciattach <--> hcid
2007-01-28 15:15 [Bluez-devel] hciattach <--> hcid Choi Sonim
@ 2007-01-28 21:48 ` Marcel Holtmann
2007-01-28 21:59 ` Choi Sonim
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-01-28 21:48 UTC (permalink / raw)
To: BlueZ development
Hi Choi,
> when I do hciattach, i see that hcid automatically add the new device,
> and when i send -SIGTERM to hciattach, i see that hcid removed the device.
>
> how does hcid knows about all these changes ?
> where is the communication ?
the kernel will tell hcid when a new host adapter has been attached or
removed from the system.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] hciattach <--> hcid
2007-01-28 21:48 ` Marcel Holtmann
@ 2007-01-28 21:59 ` Choi Sonim
2007-01-28 22:03 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Choi Sonim @ 2007-01-28 21:59 UTC (permalink / raw)
To: BlueZ development, Marcel Holtmann
hi Marcel,
On 1/28/07, Marcel Holtmann <marcel@holtmann.org> wrote:
> > when I do hciattach, i see that hcid automatically add the new device,
> > and when i send -SIGTERM to hciattach, i see that hcid removed the device.
> > how does hcid knows about all these changes ?
> > where is the communication ?
>
> the kernel will tell hcid when a new host adapter has been attached or
> removed from the system.
can you please point me to the code which takes care of that ?
thank you
choi
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] hciattach <--> hcid
2007-01-28 21:59 ` Choi Sonim
@ 2007-01-28 22:03 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-01-28 22:03 UTC (permalink / raw)
To: Choi Sonim; +Cc: BlueZ development
Hi Choi,
> > > when I do hciattach, i see that hcid automatically add the new device,
> > > and when i send -SIGTERM to hciattach, i see that hcid removed the device.
> > > how does hcid knows about all these changes ?
> > > where is the communication ?
> >
> > the kernel will tell hcid when a new host adapter has been attached or
> > removed from the system.
>
> can you please point me to the code which takes care of that ?
it is in hcid/main.c:device_event().
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-28 22:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-28 15:15 [Bluez-devel] hciattach <--> hcid Choi Sonim
2007-01-28 21:48 ` Marcel Holtmann
2007-01-28 21:59 ` Choi Sonim
2007-01-28 22:03 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox