public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: radoa <cat@pobox.sk>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] hci_dev_open function
Date: Tue, 26 Oct 2004 23:33:02 +0200	[thread overview]
Message-ID: <1098826382.14036.110.camel@pegasus> (raw)
In-Reply-To: <loom.20041025T141305-8@post.gmane.org>

Hi Radoa,

> I want to ask how linux kernel initializes HCI sockets.
> When bluetooth dongle is inserted to USB, is registered by USB driver in bluez 
> stack as new device. But has not set flag HCI_UP, this flag is set only in call 
> of ioctl command HCIDEVUP - which calls hci_dev_open(). Function hci_dev_open() 
> resets BT dongle and receives its BT address. But where and when is ioctl with 
> HCIDEVUP cmd called? It seems that ioctl call is only place where is BT dongle 
> initialized.

there is no call like hci_dev_open() in the source code and the final
device initialization is done inside the kernel.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2004-10-26 21:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-25 12:21 [Bluez-devel] hci_dev_open function radoa
2004-10-26 21:33 ` 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=1098826382.14036.110.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=cat@pobox.sk \
    /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