|
Re: hci_dev_open function: msg#00085linux.bluez.devel
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> |
|---|---|---|
| Previous by Date: | Notifica sullo stato del recapito: 00085, Servizio di recapito posta |
|---|---|
| Next by Date: | Re: bluetooth services and profiles: 00085, Marcel Holtmann |
| Previous by Thread: | hci_dev_open functioni: 00085, radoa |
| Next by Thread: | bluetooth services and profiles: 00085, Jun Sun |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |