Networking :: bluez-utils



See here for some ideas on what to do.

I believe you will need to compile from the top level of the kernel sources (eg /usr/src/linux-2.4.31), but you will only need to save the modules with the same name as those in the bluez-utils extension.

Edit: It looks like I managed to compile the bt modules in 2.4.31, give me a while to test them and then I'll post them if things work OK:
Code Sample
$ export PATH=/opt/compile-3.3.5/bin:$PATH
$ cd /usr/src/linux-2.4.31
$ make mrproper
$ make include/linux/version.h
$ make symlinks
[/usr/include -> /opt/compile-3.3.5/include]
$ make menuconfig [load .config and save]
[add #include <sys/param.h> to ../scripts/makedep.c]
$ make dep
$ make clean
$ make modules
$ touch mymarker
[open terminal as root]
# make modules_install
[swap back to terminal as user]
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | tee files
$ beaver files [edit all but bluetooth modules]
$ sudo tar -T files --no-recursion -zcvf /tmp/bt_modules-2.4.31.dsl

I have posted modules that were created when I made the 2.4.31 kernel including net-modules.tgz which has some bluetooth modules.
http://distro.ibiblio.org/pub....modules

After a quick test, it looks like the modules work - if there's a need I can post them:
Code Sample
$ sudo insmod bluez
$ sudo insmod hci_usb
$ sudo insmod l2cap  
$ sudo insmod rfcomm
$ sudo insmod crc32
$ sudo insmod bnep
$ sudo insmod sco
$ mydsl-load /mnt/sdb1/mydsl/optional/bluez-utils.dsl
$ sudo hciconfig hci0 up
$ sudo hcid restart
$ hcitool scan
Scanning ...
       00:0A:D9:E8:4A:65       .P900
$ sudo hcitool cc 00:0A:D9:E8:4A:65
[PIN request on remote device]
$ sudo hcitool auth 00:0A:D9:E8:4A:65
[bt device paired]

Quote (roberts @ Nov. 02 2007,10:35)
I have posted modules that were created when I made the 2.4.31 kernel including net-modules.tgz which has some bluetooth modules.
http://distro.ibiblio.org/pub....modules

Doesn't look like they were built, the .lst shows empty dirs.
Just downloaded from ibiblio.org and extracted and got:
Code Sample


lib/modules/2.4.31/kernel/net/bluetooth/:
drwxrwsr-x      5 dsl      staff         160 Oct 21  2005 .
drwxrwsr-x    14 dsl      staff         280 Nov  2 18:59 ..
-rw-rw-r--        1 dsl      staff       49356 Oct 21  2005 bluez.o
drwxrwsr-x      2 dsl      staff          60 Nov  2 18:59 bnep
drwxrwsr-x      2 dsl      staff          60 Nov  2 18:59 cmtp
-rw-rw-r--        1 dsl      staff       26168 Oct 21  2005 l2cap.o
drwxrwsr-x      2 dsl      staff          60 Nov  2 18:59 rfcomm
-rw-rw-r--        1 dsl      staff       15352 Oct 21  2005 sco.o

lib/modules/2.4.31/kernel/net/bluetooth/bnep:
drwxrwsr-x    2 dsl      staff          60 Nov  2 18:59 .
drwxrwsr-x    5 dsl      staff         160 Oct 21  2005 ..
-rw-rw-r--      1 dsl      staff       16070 Oct 21  2005 bnep.o

lib/modules/2.4.31/kernel/net/bluetooth/cmtp:
drwxrwsr-x    2 dsl      staff          60 Nov  2 18:59 .
drwxrwsr-x    5 dsl      staff         160 Oct 21  2005 ..
-rw-rw-r--      1 dsl      staff       20697 Oct 21  2005 cmtp.o

lib/modules/2.4.31/kernel/net/bluetooth/rfcomm:
drwxrwsr-x    2 dsl      staff          60 Nov  2 18:59 .
drwxrwsr-x    5 dsl      staff         160 Oct 21  2005 ..
-rw-rw-r--      1 dsl      staff       42580 Oct 21  2005 rfcomm.o

Next Page...
original here.