logo       

Re: hci_dev_open function: msg#00085

linux.bluez.devel

Subject: Re: hci_dev_open function

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


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

News | FAQ | advertise