Author Topic: Globalsat Bc-307 Not Working --solved!  (Read 5873 times)

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
Globalsat Bc-307 Not Working --solved!
« on: May 21, 2008, 02:53:05 pm »
When I insert my Globalsat BC-307 card, lsmod reports hidp, rfcomm, l2cap, and bluez modules loaded and in use. Serial_cs also loads, but is not used. So the card is powered, and the light comes on. After a little bit it blinks showing it has acquired a fix.

cardctl ident says:

Socket 0:
    product info: "CF CARD", "GENERIC", "",""
    manfid: 0x0279, 0x950b
    function: 2 (serial)

This card was detecting as a "Dell Truemobile 300 Bluetooth CF Card". So I went to /etc/pcmcia/bluetooth.conf and commented out the entries for that card. I also added the following to /etc/pcmcia/config

card "Globalsat BC-307 GPS"
    version "CF CARD", "GENERIC", "", ""
    manfid 0x0279, 0x950b
    bind "serial_cs"

I restart cardmgr and insert the card, and it shows "New card: Globalsat BC-307 GPS" in the taskbar, but still loads the bluetooth drivers instead of the serial_cs driver (although it loads the serial_cs, it does not use it).

So gpsd -p /dev/ttyS3 -s 4800 and telnet localhost 2947 does not show any output.

Any ideas on what I am doing wrong?

EDIT: In case you didn't notice sig and title, this ia for C1000 running Cacko 1.23

EDIT 2: For solution, see post # 4.
« Last Edit: May 22, 2008, 09:38:09 am by the_oak »
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Globalsat Bc-307 Not Working --solved!
« Reply #1 on: May 21, 2008, 03:46:58 pm »
presumably without the card, "lsmod" indicates the bluetooth driver isn't loaded - if it is, can you rmmod it?

can you check the hotplug stuff, not just the /etc/pcmcia options etc, to see if there's an association with a bluetooth card?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
Globalsat Bc-307 Not Working --solved!
« Reply #2 on: May 21, 2008, 06:04:07 pm »
Yes, as you say, unplugging the card makes the lsmod entries for those modules go away. Which hotplug file should I look in? I am attaching my /etc/hotplug/bluetooth.agent file which appears to modprobe the modules that support bluetooth (ie: rfcomm, l2cap, hidp, and calls the /usr/bin/make_dev.bluez.sh script which I guess starts the bluez module).

But if this is the right file, what do I change?

EDIT: Had to change bluetooth.agent to bluetooth.agent.txt to upload it.
« Last Edit: May 21, 2008, 06:07:53 pm by the_oak »
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
Globalsat Bc-307 Not Working --solved!
« Reply #3 on: May 22, 2008, 09:36:16 am »
Solution found:

Check this forum from sourceforge.net's qpegps pages:
http://sourceforge.net/forum/forum.php?thr...forum_id=186974

In a nutshell, just edit /etc/bluetooth/serial and add this line to the end for Globalsat BC-307:

"CF CARD", "GENERIC", "", "":baud_base 1000000 spd_cust divisor 24

Then in qpegps use this as the "Args":

-p /dev/ttyS3 -s 38400

Works like a charm!!
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook