[Xastir] Serial GPS support in Xastir built from Darwin Ports?

Bernard Tyers bernard.tyers at gmail.com
Sat Apr 28 13:00:47 EDT 2007


Hi there,

I have built gpsd from Macports.

I added the GPS via the interface menu (choosing Serial GPS). The  
serial port was /dev/tty.KeySerial1.

When I started up Xastir, it hung (main window opens, but black  
screen, no maps). I pulled out the serial port and Xastir started  
correctly.

As Jason suggested I changed the serial port in use from /dev/ 
tty.KeySerial1 to /dev/cu.KeySerial1.

I started Xastir with the Serial GPS Interface (4800bps/8bit/No  
Parity/1 stop bit) set to activate on startup.

Xastir starts up fine.

It seems to be working, but, every X minutes Xastir crashes and gives  
error "Bus Error"

1. I connect the GPS serial port.

Logs show:
Apr 28 17:28:06 oberena kernel[0]: USA28Xdriver::message  
(kIOMessageServiceIsTerminated) whichInstance 5 temp 1
Apr 28 17:28:06 oberena kernel[0]: USA28Xdriver::stop (whichInstance  
5 temporaryInstance 1)
Apr 28 17:28:06 oberena kernel[0]: USA28Xdriver::detach  
(whichInstance 5 temporaryInstance 1)
Apr 28 17:28:06 oberena kernel[0]: USA28Xdriver::free (whichInstance  
5 temporaryInstance 1)
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::init 2.3 Oct 10 2006  
11:58:11 (whichInstance 6)
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::attach  
(whichInstance 6 temporaryInstance 1)
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::probe (whichInstance 6)
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::probe vendor 6cd   
product 121
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::detach  
(whichInstance 6 temporaryInstance 1)
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::attach  
(whichInstance 6 temporaryInstance 1)
Apr 28 17:28:21 oberena kernel[0]: USA28Xdriver::start (whichInstance 6)


2. I start Xastir

3. I check in Interfaces it says GPS port down.

4. I start the Interface

5. My location is updated.

6. 5-10 minutes I look at under View -> GPS Status. I see a valid GPS  
information.

7. 5 mins later (or so) Xastir crashes. Logs show error message of  
"Bus Error".

I can paste Xastir crash logs if helpful.

Thanks for everything so far.

bernard




On 27 Apr 2007, at 21:01, jdw at eng.uah.edu wrote:

>
> Curt, WE7U wrote:
>
>> Perhaps he has a permission problem for the serial ports?
>
> Could be, but I've never had a permissions problem on a Mac serial  
> port,
> and I've used 'em 8 at a time.
>
> Is there any other application trying to use that serial port for  
> anything?
>
> You may want to use /dev/cu.KeySerial1 instead of /dev/tty.xzy.  Some
> folks have better luck with the cu vs. tty.  I've never had a  
> problem with
> tty on the Keyspan, but I have with other devices.
>
> Just make sure you don't try to use /dev/tty.xyz and /dev/cu.xyz at  
> the
> same time.  I think that's how I managed to make the Mac OS X  
> kernal dump
> core, which never happened before or since. :|
>
> -Jason
> kg4wsv
>
>
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir




More information about the Xastir mailing list