Skip to contentSkip to conversation

Bluez USB Driver

Bluez-users taylor 2 participants 2 messages Aug 23, 2004 – Aug 24, 2004 Bluetooth drivers

lore
Share & tools
lore

taylor

author
#0 lore raw

Dear All,
Recently, I spend a little time to study the Bluez Driver. Attached file is my notes. Hope this is useful for others.

But I have one question about the Bluez USB driver for Kernle 2.4.26 and 2.6.5.

Kernel 2.4.26:
/linux/src/driver/usb/bluetooth.c
/linux/src/driver/bluetooth/hci_usb.c

Kernel 2.6.5:
/linux/src/driver/bluetooth/hci_usb.c
Why are there two USB drivers for 2.4.26? Because, the /linux/src/driver/bluetooth/hci_usb.c have registered with USB core and get the hci dev. I couldn't know the purpose of /linux/src/driver/usb/blueotooth.c ? Do someone know the reason?

Taylor Shieh
Engineer, Bluetooth Module Section
New Technology Development Dept., R&D Division
Tel:886-49-2325876 Ext:2188

maintainer
#1 lore raw

Hi Taylor,

Quoted 2 lines

Recently, I spend a little time to study the Bluez Driver. Attached
file is my notes. Hope this is useful for others.

I can't do anything useful with a file from a Microsoft Office application ;)

Quoted 7 lines

But I have one question about the Bluez USB driver for Kernle 2.4.26
and 2.6.5.

Kernel 2.4.26:
/linux/src/driver/usb/bluetooth.c
/linux/src/driver/bluetooth/hci_usb.c

Quoted 6 lines

Kernel 2.6.5:
/linux/src/driver/bluetooth/hci_usb.c
Why are there two USB drivers for 2.4.26?
Because, the /linux/src/driver/bluetooth/hci_usb.c have registered with USB core and get the hci dev. I couldn't know the purpose of /linux/src/driver/usb/blueotooth.c ? Do someone know the reason?

the bluetooth.o from 2.4 and the bluetty.ko driver from 2.6 are for transforming the H:2 transport protocol into a H:4 transport protocol. Both of them are part of the kernel for allowing the use of a Bluetooth stack that support only H:4. An example for such a stack is the OpenBT from Axis. It is impossible to select both drivers at the same time and if you activate the Bluetooth subsystem you will use hci_usb.ko which is the default configuration that is shipped by every distribtuion at the moment. For more information take a look at the mailing list archives of the BlueZ and USB mailing lists.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users