LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2007, 11:18 PM   #1
mageus
LQ Newbie
 
Registered: Jan 2004
Posts: 11

Rep: Reputation: 0
can't get gpsd to work with bluetooth gps


I'm trying to get a GPS program to work with my bluetooth GPS mouse via a bluetooth USB adapter.

Setup:
- Ubuntu 6.10 Edgy (latest updates)
- bluez-utils, bluez-pin installed
- generic BT USB dongle
- GlobalSat BT-338 GPS mouse

What I've got working:
- USB dongle recognized as "Integrated System Solution Corp. KY-BT100 Bluetooth Adapter"
- 'hciconfig' shows the adapter as 'UP RUNNING PSCAN'
- 'hcitool scan' correctly identifies devices (gps mouse, cel phone, etc)
- 'sdptool browse <xx>' displays "Browsing <xx> ..." but nothing else (<xx> is my device id)
- 'rfcomm connect 0' maps my BT mouse to /dev/rfcomm0 correctly, and I can see the gps data streaming if I cat /dev/rfcomm0


The Problems:

1) hciconfig sometimes reports the correct address of my USB BT adapter, and sometimes displays 11:11:11:11:11:11, but either way the adapter is accessed correctly

2) When rfcomm connects the BT mouse, I have to type '0000' on the command line to have it maintain a connection; otherwise rfcomm connect fails. This does not work 100% of the time. Bluez-pin doesn't seem to be working properly.

3) When I run 'gpsd /dev/rfcomm0', it spends tons of lines trying to sync with the data, and then exits with a seg-fault.

4) If I mess arounda a lot resetting hci and rfcomm, Ubuntu freezes and becomes completely unresponsive. This is the scariest part, since I've never had the kernel come down on me before when using Ubuntu.


my hcid.conf:
options {
autoinit yes;
security auto;
pairing multi;
pin_helper /usr/bin/bluez-pin;
passkey "0000";}
device {
name "%h-%d";
class 0x3e0100;
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;}

my rfcomm.conf:
rfcomm0 {
bind yes;
device <XX>;
channel 1;
comment "BT 338";}

TIA.
 
  


Reply

Tags
bluetooth, gpsd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Holux GPS, gpsd, and GpsDrive skmassey Linux - Hardware 3 11-06-2006 02:38 PM
belkin bluetooth dongle doesn't work Sammael Linux - Hardware 4 09-29-2006 11:51 AM
Bluetooth GPS on Linux TB0ne Linux - Hardware 1 09-24-2006 03:05 PM
How to set up bluetooth gps as ttyX alek66 Linux - General 0 04-10-2006 11:47 AM
Bluetooth supported yes, but how to get it work? LiWiz Linux - Hardware 1 05-05-2003 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration