Author Topic: Bluetooth On The Sl-3000?  (Read 66282 times)

Stilgar

  • Newbie
  • *
  • Posts: 43
    • View Profile
Bluetooth On The Sl-3000?
« on: December 07, 2004, 06:17:46 pm »
I have been trying to set up bluetooth with the bluez drivers and apps. Sadly, that's not a howto - I did not suceed. The main thing that lacked was drivers for the 2.4.20 kernel. I had drivers for the 2.4.18 so I used them, but it caused kernel panic (though the drivers would load).
Did anyone have any success? Got the drivers compiled for the 2.4.20 kernel (now that you can fetch the source) ?

Zuber

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
    • http://www.shirtpocket.co.uk
Bluetooth On The Sl-3000?
« Reply #1 on: December 17, 2004, 09:35:50 am »
Good news.

Had a word with tumnus (the person that has been doing much of the bluez stuff) and he is planning to look at recompile of bluez for use with the C3000.

So, should get it soon (hopefully).
Zuber
ShirtPocket Ltd.
www.shirtpocket.co.uk

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth On The Sl-3000?
« Reply #2 on: December 17, 2004, 10:14:57 am »
Yeah, the SL-3000 kernel modules are compiling as I type.

Hopefully there won't be any problems (the latest BlueZ patches had a few failed chunks, but it doesn't look like it was on bits I will be compiling).

So then I'll compile the latest BlueZ utilities and libraries, package them up as before and then put them somewhere for testing.

If that all works, I'm going to update the other BlueZ packages with the latest utilities and libraries and see about getting cards like Socket Rev G working out of the box and put that into both sets of packages.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth On The Sl-3000?
« Reply #3 on: December 17, 2004, 10:58:00 am »
Modules have compiled ok. Now I need to know where they go, so what is the directory under /lib/modules on the SL-3000? I'm guessing this has changed in more than just the kernel version.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth On The Sl-3000?
« Reply #4 on: December 17, 2004, 02:24:30 pm »
Have all the utilities and libs compiled now (well I think so. libsdp seems to have been removed in the latest BlueZ) and the package is ready to be zipped up. All I need now is that directory info I asked for above.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

PDAgal

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://www.pdabuyersguide.com
Bluetooth On The Sl-3000?
« Reply #5 on: December 18, 2004, 02:52:47 pm »
tumnus,

The directory under lib/modules is: 2.4.20

Inside 2.4.20 we have the directories: kernel, net, pcmcia and rsaipsecc. Also inside 2.4.20 are the files modules.dep, modules.generic_string, modules.isapnpmap, modules.parportmap, modules.pcimap, modules.usbmap.

If you need anymore info, let me know soon as I have to send the C3000 back on Monday the 20th.

Lisa

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth On The Sl-3000?
« Reply #6 on: December 18, 2004, 07:45:20 pm »
It's just /lib/modules/2.4.20 ?

On the other Zauruses its /lib/modules/2.4.18-rmk7-pxa3-embedix

Obviously the kernel version is different, but I didn't know if the rest of the directory name had changed.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

PDAgal

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://www.pdabuyersguide.com
Bluetooth On The Sl-3000?
« Reply #7 on: December 18, 2004, 08:22:59 pm »
Yep, it's really /lib/modules/2.4.20.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth On The Sl-3000?
« Reply #8 on: December 18, 2004, 08:48:27 pm »
Ok, thanks. I was having a hard time believing they did something sane

Here is the ipk then (as long as the upload works).

It is equivalent to the bluez-zaurus_2.3-2.4.18d.ipk for other Zauruses, so the Bluetooth howto should still apply.

Whoever tests this, please check your Bluetooth card comes up with hciconfig and test the discovery or other devices with hcitool and sdptool.

EDIT: bluez_zaurus_2.12_2.4.20_alpha_arm.ipk doesn't work. Look out for an alpha2 ipk below.
« Last Edit: December 19, 2004, 12:45:58 pm by tumnus »
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

PDAgal

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://www.pdabuyersguide.com
Bluetooth On The Sl-3000?
« Reply #9 on: December 19, 2004, 02:11:03 am »
tumnus,

I gave it a try. On installation it told me to rename the package to bluez-zaurus_arm and try again. Did that and the installer then launched successfully.

As it ran, the machine dopped to runlevel 5, and was attempting modprobe if I recall corectly. It echoed this about 5x on the display then gave an error to the effect that it couldn not find wlan0. No BT card was in the slot, but my wifi card was-- been a while since I installed Bluez on my c860 but I dont recall anything like this happening or it being a no-no to have an wifi card in the slot.

Then the machine rebooted. Hmmm... I will play more tomorrow.

Since this is a review unit, I'll be returning the c3000 on Monday. So I'll try to explore some more tomorrow. If it's easier tumnus, you can email me directly with any questions. I think you have my email- it's my first name @pdabuyersguide.com.

lisa

PDAgal

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://www.pdabuyersguide.com
Bluetooth On The Sl-3000?
« Reply #10 on: December 19, 2004, 02:18:46 am »
Tried again without the wifi ccard in the slot and the installer worked fine
« Last Edit: December 19, 2004, 02:38:23 am by PDAgal »

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth On The Sl-3000?
« Reply #11 on: December 19, 2004, 08:22:05 am »
Cool. Thanks for testing it. Don't know what happened there with the WiFi card in it. Must remember that as an instruction for installation.

The filename got mangled in the upload to the forum. It should be:

bluez-zaurus_2.12-2.4.20-alpha_arm.ipk

Do all of the BlueZ tools work? Anyone else had a go at this package?
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

bakkeo

  • Newbie
  • *
  • Posts: 16
    • View Profile
Bluetooth On The Sl-3000?
« Reply #12 on: December 19, 2004, 10:03:27 am »
Hi
It' a very nice project.

I'm trying to use HP's Bluetooth foldable keyboard.
I have modified Cwaig's IRK driver and the keyboard can work with SL-C750 now.
However, it does not work with SL-C3000 because Bluez does not support C3000.

I have not tried your ipk yet, sorry, but I'd like to request a support for USB devices because the SL-C3000 has a USB host function.
I want to use a Bluetooth USB adapter, which is cheaper than a Bluetooth CF card.

Thanks in advance.

Zink

  • Newbie
  • *
  • Posts: 3
    • View Profile
Bluetooth On The Sl-3000?
« Reply #13 on: December 19, 2004, 10:29:26 am »
I have installed the package on my unit, and here is the log
Hope it helps
Code: [Select]
bash-2.05$ su
# ipkg install bluez_zaurus_2.12_2.4.20_alpha_arm.ipk
Unpacking bluez...Done.
Configuring bluez...depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/net/bluetooth/bnep/bnep.o
Starting Bluetooth... /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: kernel-module version mismatch
        /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o was compiled for kernel version 2.4.20-mh18
        while this kernel is version 2.4.20.
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: insmod /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o
failed
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: insmod rfcomm failed
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: kernel-module version mismatch
        /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o was compiled for kernel version 2.4.20-mh18
        while this kernel is version 2.4.20.
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: insmod /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o
failed
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: insmod l2cap failed
Can't open RFCOMM control socket: Address family not supported by protocol
Done.
ioctl(): Device or resource busy
ioctl(): Device or resource busy
Done.
#
« Last Edit: December 19, 2004, 10:43:13 am by Zink »

Yan

  • Newbie
  • *
  • Posts: 14
    • View Profile
Bluetooth On The Sl-3000?
« Reply #14 on: December 19, 2004, 10:44:09 am »
I got exactly the same result

Code: [Select]
# pwd
/home/root/modules/2.4.20/kernel/net/bluetooth
# ls
bluez.o  bnep     l2cap.o  rfcomm   sco.o
# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/net/bluetooth/bnep/bnep.o
# modprobe bnep
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: kernel-module version mismatch
        /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o was compiled for kernel version 2.4.20-mh18
        while this kernel is version 2.4.20.
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: insmod /lib/modules/2.4.20/kernel/net/bluetooth/bluez.o failed
/lib/modules/2.4.20/kernel/net/bluetooth/bluez.o: insmod bnep failed
Zaurus SL-C3000 (Kernel 2.4.20 v17f) - Debian X/Qt
Socket Bluetooth CF Card (Rev H), Symbol Spectrum24 WLAN Card
Lexar 1GB (32x) SD, SanDisk Ultra II 512MB CF