[Xastir] Mac OS X + USB Serial

Michael Virgilio mikev at mikev.com
Tue Sep 7 07:27:05 EDT 2004


Derrick J Brashear said:
> On Mon, 6 Sep 2004, Curt Mills wrote:
>
>> On Mon, 6 Sep 2004, Michael Virgilio wrote:
>>
>>> I¹ve had no problems with Minicom (in a shell) or Zterm (gui not X11)
>>> accessing the serial port.
>>> I don¹t think AX.25 is an option for me, but haven¹t really looked into
>>> OS X
>>> support for it.
>>
>> I don't think you have that option on MacOSX.
>>
>> Have you checked permissions on the USB port?  Tried another USB to
>> serial device from another manufacturer?  I know that some work
>> well and others don't, but I'm not a Mac user (or a USB user).
>
> permissions might be a good one; i suspect minicom is setuid. i don't know
> how /dev/tty.usbserial0 is created as far as owner and mode. (the prolific
> driver and a pl2303 usb-serial frob work fine for me, but i doubt i'm
> doing what you are)

Well, permissions are a good start... And minicom was running as root...
but Xastir still locks up when running as root also.

The port by default is set crw-rw-rw-, o: root, g: wheel, most likely
because any user under MacOS could need access to the serial port.
Remember that it's a consumer-oriented OS...

It seemed like I had some luck, somehow, for a bit. It seemed to be able
to open the port and send commands, but wasn't receiving anything back.
But this disappeared after a reboot and I'm back to the original state of
locking up on port open again. I set debug level to 2, and it locks right
after the port open line, before anything was even sent to it.

Unfortunately, I don't have another USB to Serial adapter to try. I have a
device that makes use of a FTDI USB to Serial chip, and I've never had a
problem using that device with the software that came with it, but it's
not a plain USB to Serial adapter, and that software isn't X11 either.

Any other thoughts or anything I can do to get more information on the
problem?




More information about the Xastir mailing list