[Xastir] Serial port issues with Xastir on OS X

Matt Kassawara mkassawara at gmail.com
Thu Aug 19 16:05:01 EDT 2010


I've tried configuring the interface as "Serial TNC" and "Serial KISS 
TNC" using the dynamic device created by the USB-RS232 adapter driver... 
typically /dev/tty.PL2302-######## where the driver generates ######## 
based on device number.

Further investigating this issue, I ran Xastir via Dtruss (similar to 
strace on Linux) and noticed it attempts to use the /var/lock directory 
for a serial port lock file which does not exist on OSX.  I found the 
directory hard-coded in interface.c.  Changing it to the something more 
appropriate for OSX did not fix the problem.  Unfortunately, Dtruss 
doesn't seem to provide much output beyond an attempt to read/write a 
lock file in the /var/lock directory before Xastir hangs.  Perhaps 
interface.c contains other Linux-specific items which break on OSX?

On 8/19/10 2:38 PM, Curt, WE7U wrote:
> On Thu, 19 Aug 2010, Matt Kassawara wrote:
>
>> I built Xastir on OSX 10.6.4 from CVS synchronized on 08/19/10. Upon
>> starting an interface involving a serial device (standard or KISS
>> TNC), the interface mysteriously disappears from the list and Xastir
>> hangs indefinitely.
>
> Thanks for checking on the "root" user issue.
>
> What type of interface are you defining in Xastir, and what exact
> port are you using?
>
> Perhaps one of the OSX users can help you further. I know some
> people here run Xastir on OSX.
>



More information about the Xastir mailing list