May 21 2008, 10:53 AM
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:
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
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.
May 21 2008, 11:46 AM
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?
May 21 2008, 02:04 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.
May 22 2008, 05:36 AM
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!!