Author Topic: Socket 2.5 bluetooth - now working  (Read 4099 times)

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« on: May 07, 2004, 08:49:22 pm »
I\'ve found the problem with the bluez drivers.  There is a file /etc/pcmcia/bm3.conf that already contains driver mappings for various bluetooth cards.  This file conflicts with the bluez driver mappings, and to make matters worse, the kernel modules refered to by bm3.conf don\'t seem to exist on the 6000L.

The fix is simple:  Just delete the file, or move it out of the way.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #1 on: May 07, 2004, 10:44:14 pm »
1.) So you have the Socket card working in all respects...?  You rock!

2.) On my 5600, although the card is properly initalised and configured, it isn\'t recognised by QTopia--the network icon doesn\'t appear after insertion, only after opening either Network Settings or Opera.  This problem is unique to the Socket card--at least it doesn\'t occur with my Ambicom card.  Does this same peculiarity manifest itself on the SL-6K?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #2 on: May 07, 2004, 11:03:29 pm »
1) I can get online through my T608 which is the only respect I really care about.    I haven\'t tried doing anything else yet.  The card currently stops working after a suspend/resume but there are already known fixes for that I think.

2) Because of WiFi, the network icon is available all the time anyway.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #3 on: May 07, 2004, 11:17:32 pm »
Quote
1) I can get online through my T608 which is the only respect I really care about.  :)  I haven\'t tried doing anything else yet.  The card currently stops working after a suspend/resume but there are already known fixes for that I think.

Yes, if all the \"layers\" required to get ppp going work, anything else (like my BT GPS receiver) will, too.

Quote
2) Because of WiFi, the network icon is available all the time anyway.

I guess the more relevant question then would be: is your PCS Vision connection offered as an option when you tap the network icon immediately after inserting the BT card?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #4 on: May 08, 2004, 03:34:06 pm »
Great work DrWowe! this make my 6000 almost perfect.  But Ethereal my network icon does not work if I have a wifi connection setup.  If I don\'t have one it will show the bluetooth connection.  Has anyone been able to get this to work?

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #5 on: May 08, 2004, 04:52:09 pm »
I followed the instructions on the bluetooth faq here to get it set up, using the IRDA mode and then editing the ppp peers file to use /dev/rfcomm0.  When I click on the network icon, it first gives me a choice between IRDA and Wireless LAN.  I see this choice even if the Bluetooth card is removed.

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #6 on: May 08, 2004, 04:58:10 pm »
Ok.  I was using the bluetooth applet, not setting it up as IRDA.  I\'ll give that a try.  Thanks!

piggity

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #7 on: May 09, 2004, 11:35:50 am »
Yep that works great.  Thanks again.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #8 on: May 09, 2004, 02:42:34 pm »
It\'s a little fidgety (especially since the Network Config application shaves the /dev/rfcomm0 off the file every time it edits it) but that is a great workaround for whatever is preventing the bluetooth interface from being recognised by the Net applet...

DrWowe, you are making my $700 less safe all the time...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
Socket 2.5 bluetooth - now working
« Reply #9 on: May 21, 2004, 03:11:04 am »
OK, the Socket 2.5 card does indeed work with /etc/pcmcia/bm3.conf moved aside!  However, tumnus\' elegant suspend/reume package doesn\'t properly re-initialise the card after resuming from suspend.  My best guess (based on manually running the commands from the script) is that something about the special way the card is initialised prevents the card from being ejected (\"ioctl() resource busy\").  Modifying the script to shut down bluetooth before ejecting/inserting the card and then start it again afterwards seems to have fixed the problem.

Quote
#!/bin/sh

PATH=$PATH:/usr/bin

case \"$1\" in
suspend)
   if [ \"`/usr/sbin/hciconfig`\" != \"\" ]; then
      hcitool dc `hcitool con | grep ACL | sed \'s/^.*([0-9A-F]{2}(:[0-9A-F]{2}){5}).*$/1/\'`
      hciconfig hci0 down
   fi
;;
resume)
   if [ \"`/usr/sbin/hciconfig`\" != \"\" ]; then
      /etc/rc.d/init.d/bluetooth stop
      cardctl eject
      cardctl insert
      /etc/rc.d/init.d/bluetooth start
      rfcomm bind all
   fi
esac


Anyone with a similar problem, or am I the only one to experience this?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

anmol10

  • Newbie
  • *
  • Posts: 19
    • View Profile
Socket 2.5 bluetooth - now working
« Reply #10 on: August 30, 2004, 11:01:33 pm »
I'm using a Socket Bluetooth CF for the SL-6000. Can someone send me a link to appropriate BlueZ ipkg?

I tried the BlueZ link from Zaurus Software Index, for both combined ipkg and individual ipks for the latest versions of bluez utils, libs and hcidump. However, modprobe cannot locate 'hci_uart' and 'rfcomm'. I assume that after installing the ipkgs I delete the file mentioned above.

Thanks,
-Anmol

anmol10

  • Newbie
  • *
  • Posts: 19
    • View Profile
Socket 2.5 bluetooth - now working
« Reply #11 on: August 30, 2004, 11:48:14 pm »
Aha. I found the Bluetooth FAQ on ZUG and got the appropriate ipks. Even after following instructions and moving the file /etc/pcmcia/bm3.conf, when I run,

/etc/rc.d/init.d/bluetooth restart

I get,
...
Starting Bluetooth..Can't get port settings: Input/output error
Can't initialise device.. I / o error

-Anmol
SL6000 out of the box with Socket  Bluetooth CF A / J

hafken

  • Newbie
  • *
  • Posts: 7
    • View Profile
Socket 2.5 bluetooth - now working
« Reply #12 on: December 07, 2004, 08:19:25 am »
Same problem here, with a socket  rev H card --

I have followed the how-to, moved bm3.conf out of the way, and when I try to start up bluetooth I get:


Starting Bluetooth... Can't get port settings: Input/output error
Can't initialize device: Input/output error
Done.


Can anyone help??

Thanks,
Dave

hafken

  • Newbie
  • *
  • Posts: 7
    • View Profile
Socket 2.5 bluetooth - now working
« Reply #13 on: December 08, 2004, 06:54:07 am »
Ok, I got it working! I'm not entirely sure what it is that finally did it (I did lots of tinkering) but I think the key things to get it working were:

(1) starting up the hci_uart module (I'm wondering if this should be added to /etc/rc.d/init.d/bluetooth?)
(2) restarting pcmcia (probably had to due this to clear out the 'busy' states I had created)

then I restarted bluetooth, and everything started to work.

I then struggled to get the connection working with my t-mobile phone, and that took a while too but finally all is well and working.

-dave

zoaib

  • Newbie
  • *
  • Posts: 4
    • View Profile
Socket 2.5 bluetooth - now working
« Reply #14 on: December 23, 2004, 12:23:58 pm »
Hi there. I am quite new to linux and trying to make socket bluetooth rev "H" card work with my sl-6000. I am getting the same errors as you were having.

You recommend to start hci_uart module and restart pcmcia. Can you please provide me information how to make these happen as I am complete newbie to linux.

Thanks