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 |
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 |
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 |