logo       

hci_dev_open function: msg#00081

linux.bluez.devel

Subject: hci_dev_open function

Hi,

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.
I use kernel 2.6.8.1

Thank you very much

radoa



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise