LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   "bluetooth" rather than "bluez" (http://www.linuxquestions.org/questions/linux-software-2/bluetooth-rather-than-bluez-287786/)

triona 02-08-2005 03:20 PM

"bluetooth" rather than "bluez"
 
Hi all.

I've been working with bluetooth on linux now for a few months, but I came across something today that worries me. I have "bluetooth" working on my PC under Fedora Core 2. lsmod gives the following:

[root@lab103-106 triona]# lsmod
Module Size Used by
l2cap 21504 2
hci_usb 14468 2
bluetooth 39780 6 l2cap,hci_usb
snd_mixer_oss 17792 2
snd_intel8x0 30888 3
snd_ac97_codec 54916 1 snd_intel8x0
snd_pcm 76420 1 snd_intel8x0
snd_timer 22404 1 snd_pcm
snd_page_alloc 12036 2 snd_intel8x0,snd_pcm
gameport 7424 1 snd_intel8x0
snd_mpu401_uart 9088 1 snd_intel8x0
snd_rawmidi 21792 1 snd_mpu401_uart
snd_seq_device 10120 1 snd_rawmidi
snd 43876 10 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devi ce
soundcore 10336 3 snd
parport_pc 23616 1
lp 12300 0
parport 34632 2 parport_pc,lp
autofs4 15488 0
sunrpc 110280 1
e100 30852 0
mii 7552 1 e100
floppy 52336 0
sg 32288 0
scsi_mod 97224 1 sg
microcode 10400 0
dm_mod 37536 0
uhci_hcd 28188 0
ehci_hcd 26760 0
button 8472 0
battery 10892 0
asus_acpi 12440 0
ac 7308 0
i830 60848 2
ipv6 214624 8
ext3 108136 1
jbd 50328 1 ext3
[root@lab103-106 triona]#


However, even though I downloaded the packages form bluez, I didn't realise that there was one on the Fedora package already. The document I read said that you have to delete bluetooth.o in order to get bluez to be the stack used. But I don't have bluetooth.o! I have bluetooth.ko where they say bluetooth.o should be. That's part of bluez according to the website. Any ideas anyone?

I realise this is probably an age-old error!

Matir 02-08-2005 04:01 PM

under 2.6 kernels, kernel modules moved from an extension of .o to .ko, presumably to indicate their kernel-ness. This may explain the difference in file name.

triona 02-08-2005 04:57 PM

thanks.

I moved it momentarily however and it didn't like that!!! I think its ok in my kernel as I'm 2.5

The bluez site says:

For the BlueZ stack the HCI is part of the Bluetooth core module (bluetooth.ko) and the host transport protocol implementations are separated into independent modules. The hci_usb.ko and hci_uart.ko modules for example implement the USB transport layer (aka H:2) and the UART transport layer (aka H:4).

So I'm presuming I'm ok. Feel free to correct me though! (please!)


All times are GMT -5. The time now is 04:44 PM.