Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: bluez-utils, need to update to DSL 4.0< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 02 2007,11:10 QUOTE

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
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 02 2007,15:35 QUOTE

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
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 02 2007,19:56 QUOTE

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]
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 02 2007,21:16 QUOTE

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.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 02 2007,22:01 QUOTE

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
Back to top
Profile PM WEB 
20 replies since Nov. 01 2007,17:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: bluez-utils

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code