All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Choi Sonim <choisonim@gmail.com>
Cc: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] hciattach <--> hcid
Date: Sun, 28 Jan 2007 23:03:42 +0100	[thread overview]
Message-ID: <1170021822.4630.22.camel@violet> (raw)
In-Reply-To: <4f436aae0701281359m320d7914hdcbb1e66fc68dfe8@mail.gmail.com>

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

      reply	other threads:[~2007-01-28 22:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1170021822.4630.22.camel@violet \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=choisonim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.