OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Globalsat Bc-307 Not Working --solved!, C1000 thinks it is a bluetooth card
the_oak
post May 21 2008, 10:53 AM
Post #1





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



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.
Go to the top of the page
 
+Quote Post
speculatrix
post May 21 2008, 11:46 AM
Post #2





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



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?
Go to the top of the page
 
+Quote Post
the_oak
post May 21 2008, 02:04 PM
Post #3





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



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.
Attached File(s)
Attached File  bluetooth.agent.txt ( 2.71K ) Number of downloads: 20
 
Go to the top of the page
 
+Quote Post
the_oak
post May 22 2008, 05:36 AM
Post #4





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



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!!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd December 2014 - 05:26 AM