MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 4 posts ] 
gpsd and navit config? 
Author Message
MEPIS Novice
MEPIS  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298508
Post gpsd and navit config?
First the computer is a HP laptop Pavilion zv 5000. I am using Mepis 11.0.12_64.
I install Navit 0.5.0~svn4776+dsg.1-1~bpo60+1 (squeeze-backports).
I am using a Startech.com 2 port usb to serial end P1 (2 ends P1 & P2) to connect to my gps (Garmin GPS 17).
When I have the gps hook straight to a serial port on another computer, I am receiving from the gps. Please
note that the Garmin can out put either Garmin or NMEA, It is wired to only output NMEA.

Navit show this in it's xml file: source="gpsd://localhost" gpsd_query="w+xj". I'm not showing a position or anything.
System Monitor Process Table shows:
gpsd nobody 0.3m 0.9m

Here is what I've checked, what's wrong.
old_fool@mepis2:~$ dmesg | tail
[ 1805.170364] usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 1805.170395] ftdi_sio 1-3:1.1: FTDI USB Serial Device converter detected
[ 1805.171276] usb 1-3: Detected FT2232H
[ 1805.171283] usb 1-3: Number of endpoints 2
[ 1805.171289] usb 1-3: Endpoint 1 MaxPacketSize 512
[ 1805.171295] usb 1-3: Endpoint 2 MaxPacketSize 512
[ 1805.171301] usb 1-3: Setting MaxPacketSize 512
[ 1805.173539] usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 1805.175140] usbcore: registered new interface driver ftdi_sio
[ 1805.175146] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
old_fool@mepis2

old_fool@mepis2:~$ gpsctl -n /dev/ttyUSB0
gpsctl: no DEVICES response received.

old_fool@mepis2:~$ gpsctl -n /dev/ttyUSB1
gpsctl: no DEVICES response received.

old_fool@mepis2:~$ gpsctl -f /dev/ttyUSB0
gpsctl: attempting USB device enumeration.
gpsctl: 1d6b:0002 (bus 1, device 1)
gpsctl: 1d6b:0001 (bus 2, device 1)
gpsctl: 1d6b:0001 (bus 3, device 1)
gpsctl: 046d:c069 (bus 2, device 3)
gpsctl: 1a40:0101 (bus 1, device 3)
gpsctl: 0403:6010 (bus 1, device 7)
gpsctl: 0951:1607 (bus 1, device 6)
gpsctl: vendor/product match with 091e:0003 not found
gpsctl: /dev/ttyUSB0 identified as a Garmin NMEA at 4800.

old_fool@mepis2:~$ gpsctl -f /dev/ttyUSB1
gpsctl: attempting USB device enumeration.
gpsctl: 1d6b:0002 (bus 1, device 1)
gpsctl: 1d6b:0001 (bus 2, device 1)
gpsctl: 1d6b:0001 (bus 3, device 1)
gpsctl: 046d:c069 (bus 2, device 3)
gpsctl: 1a40:0101 (bus 1, device 3)
gpsctl: 0403:6010 (bus 1, device 7)
gpsctl: 0951:1607 (bus 1, device 6)
gpsctl: vendor/product match with 091e:0003 not found
gpsctl: packet recognition timed out.
old_fool@mepis2:~$

Would like to have the output go through gpsd as I understand then I could then use 2 programs using the outport.
But then I would be happy to show anything.


Wed Apr 11, 2012 1:41 am
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 1407
Location: Bristol, UK
Has thanked: 399 times
Have thanks: 287 times
Post # 298510
Post Re: gpsd and navit config?
Can't help you with the details - I have a USB Garmin and download from the memory card using Dolphin - but there has been a lot of discussion over the years about serial to USB connections. Some converters work for everyone, others only work occasionally. I think that's the first thing to lok at.

Phil

_________________

AsRock FM2A88X-ITX+, A8-6500, 8GB, 120GB Samsung SSD, 1TB HDD, MX-14.
Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, 500+250GB HDD, MX-14, Mepis 11.9.92-64.
Acer Aspire One 150, Atom N270, 120GB HDD, MX-14 / WinXP


Wed Apr 11, 2012 4:11 am
Profile
MEPIS Novice
MEPIS  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298522
Post Re: gpsd and navit config?
Thanks Phil, I'm missing something with the config. This USB to serial says it's for Linux too, on the cd there are folders for Redhat 7.3, 8 and 9, but nothing for Debian. I hope that someone who knows this shows up. I guess that I could need a driver but then gpsctl: /dev/ttyUSB0 identified as a Garmin NMEA at 4800.


Wed Apr 11, 2012 1:18 pm
Profile
MEPIS Novice
MEPIS  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298535
Post Re: gpsd and navit config?
Update:
I have changed the line in navit.xml from source="gpsd://localhost" gpsd_query="w+xj" to
source="file:/dev/ttyUSB0"

I now have NMEA input to Navit. So part of this is solved. Now how do I set it up to go through gpsd so that I may run 2 programs receiving the NMEA data. My other question is why does the process table show gpsd username as nobody, not as root or myusername or one of the daemon's.

One of the programs will be run in wine and will need a systemlink as a com port, I know listing "file:/dev/ttyUSB0" as com#, only one program can use the NMEA input. Any idea's


Wed Apr 11, 2012 5:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.