From: "Ohad Ben-Cohen" <ohad@bencohen.org>
To: pavan_savoy@indiatimes.com
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: HCI_Reset and Notification to User-Space
Date: Tue, 29 Jul 2008 16:03:20 +0300 [thread overview]
Message-ID: <bd5b16740807290603r4cdc6fbbg1e19ffcda836c70e@mail.gmail.com> (raw)
In-Reply-To: <1882591226.12271217333396980.JavaMail.root@mbv7.indiatimes.com>
Hi Pavan,
On Tue, Jul 29, 2008 at 3:09 PM, <pavan_savoy@indiatimes.com> wrote:
> What I am trying to understand is, in what place of hciattach does the whole system, [through dbus] get to know the existance of the bt device and what call [from which module] does that notification go to the user-space.
When hciattach calls the HCIUARTSETPROTO ioctl, you get the following
trace in the kernel:
hci_uart_set_proto -> hci_uart_register_dev -> hci_register_dev -> hci_notify.
The last function notifies user space (hcid) about the new device.
Hciattach does not use dbus and does not directly communicate with hcid.
Regards,
Ohad.
>
> Just a brief about the hciattach / notification to user-space and socket setup.
>
>
> Thanks in advance.
> Pavan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2008-07-29 13:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 12:09 HCI_Reset and Notification to User-Space pavan_savoy
2008-07-29 13:03 ` Ohad Ben-Cohen [this message]
2008-07-29 13:40 ` pavan_savoy
2008-07-29 14:45 ` Ohad Ben-Cohen
[not found] ` <723119697.28261217339091256.JavaMail.root@mbv7.indiatimes.com>
2008-07-29 14:45 ` Ohad Ben-Cohen
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=bd5b16740807290603r4cdc6fbbg1e19ffcda836c70e@mail.gmail.com \
--to=ohad@bencohen.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=pavan_savoy@indiatimes.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox