[Xastir] USB GPS?

Richard Polivka r.polivka at sbcglobal.net
Thu May 24 17:39:49 EDT 2007


About the sequencing, if you have unique ID's to your USB components, one could hack the hotplug/udev scripts to steer the unique ID to a particular device name. I did it a long time ago for a M$ GPS dongle but I do not remember how to do it.
   
  73 from 807,
   
  Richard, N6NKO
  

Tom Russo <russo at bogodyn.org> wrote:
  On Thu, May 24, 2007 at 10:38:12AM -0800, we recorded a bogon-computron collision of the flavor, containing:
> On Wed, 2007-05-23 at 18:09 -0600, Earl Needham via Kubuntu wrote:
> > Ah -- how do I use my Deluo "hockey puck" GPS with Xastir under Kubuntu? 
> > I've been using the GPS in Windows XP, but I don't know how to configure the 
> > GPS at all under Kubuntu.
> > 
> 
> 
> Below is an excerpt from my /var/log/messages file after plugging the
> Deluo GPS in - the line that ends with "pl2303 converter now attached to
> ttyUSB0" is the device you enter when you configure your GPS. 
> So I entered "/dev/ttyUSB0" in my "Configure GPS" window in Xastir. You
> have to change your permissions to read/write for that port. I'm using
> Fedora 6 so you may have to browse a bit to find the Kubuntu settings.
> 

Actually, on Ubuntu/Kubuntu, you are probably already set up with permissions;
by default, serial ports (including USB/Serial adapters) get set to group
ownership of "dialout", and in general when you set yourself up with an
account on installation of the system it adds you to that group. 

So really all you need to do is go into Xastir, add a serial GPS, and 
use /dev/ttyUSB0 as the port (if that's what it says it connected to
in /var/log/messages).

If you add more than one USB serial device (e.g. a TNC) you might start to have
trouble when you insert the devices in a different order (i.e. this time it
might come in as ttyUSB0 and next time as ttyUSB1). There are ways you 
can assure that any USB device attached always gets the same name, but
I haven't ever bothered to figure it out --- I usually only have one USB 
serial device attached at a time, so they're all always /dev/ttyUSB0.

-- 
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
one trick, rational thinking, but when you're good and crazy, oooh, oooh,
oooh, the sky is the limit!" --- The Tick
_______________________________________________
Xastir mailing list
Xastir at xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir




More information about the Xastir mailing list