Author Topic: Socket BlueTooth?  (Read 3948 times)

rpav

  • Newbie
  • *
  • Posts: 9
    • View Profile
Socket BlueTooth?
« on: October 17, 2004, 12:24:17 am »
OK, I have a Socket Bluetooth card, rev 2.5... G or B I'm not sure, even cardctl info doesn't seem to say.  I'm sure this works, somehow, but all I can find amounts to "oh yeah it works, you just have to use the hacks (nudge nudge wink wink)" and I can't seem to find out what these hacks are.    

 I'm using RC5.  I insert the card, and dmesg says something about tty03 and ttyS03.  hciconfig reveals nothing.  cardctl knows the card is there.  hcid and sdpd are running.

What's the magic I need?  Thanks!

ViV

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • http://
Socket BlueTooth?
« Reply #1 on: October 17, 2004, 03:09:45 am »
I've installed all bluez* packages and my Socket BT rev. E worked without any hacks.
Motorola A780

Zuber

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
    • http://www.shirtpocket.co.uk
Socket BlueTooth?
« Reply #2 on: October 17, 2004, 03:38:18 am »
On sharp based roms, for G card you needed to install the serial file from the bluez packages.

Not sure if that would wok in in this context.
Zuber
ShirtPocket Ltd.
www.shirtpocket.co.uk

rpav

  • Newbie
  • *
  • Posts: 9
    • View Profile
Socket BlueTooth?
« Reply #3 on: October 17, 2004, 06:11:48 pm »
Hmm, the bluez packages didn't come with additional drivers. I"m trying to find an archive of them now to try the serial_cs thing.  I've installed all the bluez packages (libs, pan, sdp, util), and nothing.  I run /etc/rc.d/init.d/bluetooth start, and nothing.  hciconfig shows nothing, dmesg shows nothing but the tty03 stuff, etc.  Is there some additional step here I'm missing?

thanks,

rpav

  • Newbie
  • *
  • Posts: 9
    • View Profile
Socket BlueTooth?
« Reply #4 on: October 17, 2004, 06:48:47 pm »
OK, I can't find any additional C860 drivers.  I find 5500 ones for the 3.10 rom, but I found out the hard way those don't work.   All the links are broken to stuff built for the Cxxx series.  Anyone have anything handy?  I'm guessing I have a revision G card, but I'm not sure how to tell...

rpav

  • Newbie
  • *
  • Posts: 9
    • View Profile
Socket BlueTooth?
« Reply #5 on: October 17, 2004, 09:50:22 pm »
OK, I finally got things to at least appear on hciconfig and be able to pair/browse services with sdptool.  I haven't made this work all nice and automatically when I stick the card in yet, but for now (and for anyone in the future looking for this), the trick is hciattach.  The default drivers and stuff seem to work automatically, but you need to 'hciattach /dev/ttyS3 bcsp 230400' by hand.  Also, you may need the serial "patch" (it's a script replacement for like /etc/pcmcia/serial) from the Zaurus Bluetooth HOWTO (but *not* the driver package).  I have this installed but I don't know if it makes a difference or not.

After doing the hciattach, hciconfig should show you your card, and sdptool should be able to use it.  *Additionally*, if you're trying to pair to browse, make sure in /etc/bluetooth/hcid.conf your pin_helper or whatever is set to something that works.  Mine by default was set to some broken python script (but I repeat myself).  Replacing it with something simple like this does the trick:

Code: [Select]
#!/bin/sh
echo PIN:1234

Anyhow, as a final note, the RIM BlackBerries do not do dialup networking.  Even the bluetooth ones (I was using one of the brand spanking new 7100t's here).  I called T-Mobile tech support and was cited some BS line about "security".  Whatever.  (It's too bad, because the phone was otherwise kinda neat.)

Hope that helps someone.  If I get some scripts working automatically for this later I'll post them.

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Socket BlueTooth?
« Reply #6 on: October 18, 2004, 11:36:27 am »
Thanx for the tip on hciattach /dev/ttyS3 bcsp - that made my card work :-)

Whats broken in /bin/bluepin? It works fine on my zaurus?

Btw. if you have more bluetooth toys lying around most phone supports the *#2820# which will give some info of the bluetooth adapter in the phone - like the BT DUN (Bluetooth MAC ;-)
« Last Edit: October 18, 2004, 11:42:52 am by Laze »
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.