Tracing the hang further, it gets to the begin_critical_section mutex call, so it's blocking on that, but it's an extern reference in util.h. Do you happen to know what library that is sourced from?
From: "Eric Chamberlain" <ericchamberl...@mail.com> I went ahead and added my userid to the wheel group but no effect. Also I ran debug level 3. It gave me the Opening a Serial KISS device output before hanging. I added some output to the source and remade the file to output the other serial variables, here's what came out. Port Available 1 Opening a Serial KISS TNC device Dev Type 10 Dev baud rate 19200 Dev style 0 I'm going to look at what comes next after this add_device call. From: "Curt Mills" <curt.w...@gmail.com> The permissions are R/W for user/group/other, so I don't think you need to add yourself to the wheel group for this. Perhaps one of the OSX guys can comment on that though. I don't run OSX. On Mon, Feb 8, 2021 at 7:30 AM Eric Chamberlain <ericchamberl...@mail.com> wrote: > > I haven't set debug yet, but I wanted to respond with the ls -l output first. > crw-rw-rw- 1 root wheel 18, 4 Feb 8 10:26 /dev/tty.usbserial-1430 > > I'm logged in as user ericchamberlain and groups looks like: > staff access_bpf everyone localaccounts _appserverusr admin _appserveradm > _lpadmin _appstore _lpoperator _developer _analyticsusers > com.apple.access_ftp com.apple.access_screensharing com.apple.access_ssh > com.apple.access_remote_ae com.apple.sharepoint.group.1 > > So yeah, I'm not a member of wheel group. > > > > > From: "Curt Mills" <curt.w...@gmail.com> > > File -> Configure -> Change Debug Level can change it while it's > running. You need to start Xastir from a console/xterm/etc in order to > see them. > > See the file DEBUG_LEVELS for info on which ones to try. > > The sources are the result of a LOT of people over the years, starting > with Frank Gianandrea who initially wrote it. Thank them. ;-) > > The port to use if you're using a TNC4 in KISS mode is the "Serial > KISS TNC" interface. I've used that with H/W full-blown TNC's and with > my TNC-X. > > More than likely it's a group/permissions problem with the interface. > Do an "ls -l" against the port you're using and report back with the > string for it including owner/group/permissions. > > Also report back what "groups" shows when logged-in as the user you're > starting Xastir as. BTW: Don't run Xastir as root. > > > On Mon, Feb 8, 2021 at 6:58 AM Eric Chamberlain > <ericchamberl...@mail.com> wrote: > > > > Hey Curt. I've seen your comments in the source code, thanks for your work. > > I've used both serial TNC interface and serial KISS TNC interface. Based on > > the /dev/cu comment, I guess it hangs because of blocking(?). I don't > > believe there is a permission on that port. I can apply a generic username > > (guest) in putty with the autologin username without problem. > > > > Is there a debugging #define in the source I can build against to get more > > information while the interface is opening? > > > > > > > > > > From: "Curt Mills" <curt.w...@gmail.com> > > > > Which type of interface are you using in Xastir? > > > > Did you add your username to the dialout group? > > > > What are the permissions on the port you're trying to use? > > > > On Mon, Feb 8, 2021 at 4:31 AM Eric Chamberlain > > <ericchamberl...@mail.com> wrote: > > > > > > That certainly prevents the port from blocking. The interface in xastir > > > returns as 'up' but it doesn't appear to be reading packets off the TNC > > > in the view-incoming data window. Looking in putty it still shows the > > > incoming packets. So its not quite fixed yet. > > > > > > > > > > > > > > > From: "Jason KG4WSV" <kg4...@gmail.com> > > > > > > Try the /dev/cu.whatever device special file. > > > > > > It’s been a few years but when I hit the same problem (well, Kermit not > > > putty) switching to cu did the trick. > > > > > > -Jason > > > > > > > On Feb 7, 2021, at 8:44 PM, Eric Chamberlain <ericchamberl...@mail.com> > > > > wrote: > > > > > > > > I've been trying to configure an interface to read the tinytrak4 TNC, > > > > which is supposed to operate as KISS according to their docs. When I > > > > run PuTTY on the /dev/tty.usbserial-1430 port I can see packets coming > > > > in from a test transmitter. I close putty and open xastir so the port > > > > isn't blocking. When I go to start the TNC interface, in mac it hangs > > > > without messages in the terminal window. On the putty it doesn't hang > > > > but there's nothing. There are never incoming packets from the view > > > > data window. Unfortunately, Byonics say they don't know much about > > > > xastir. I've tried this both on my mac and my raspberry. The cable > > > > setup works for programming and PuTTY, so I don't think its that or > > > > drivers. I think it comes down to settings. Is there anything I can try? > > > > _______________________________________________ > > > > Xastir mailing list > > > > Xastir@lists.xastir.org > > > > http://xastir.org/mailman/listinfo/xastir > > > _______________________________________________ > > > Xastir mailing list > > > Xastir@lists.xastir.org > > > http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]]]] > > > _______________________________________________ > > > Xastir mailing list > > > Xastir@lists.xastir.org > > > http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]]] > > > > > > > > -- > > Curt, WE7U > > http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]][http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]]][http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]][http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]]]] > > > > http://www.sarguydigital.com[http://www.sarguydigital.com][http://www.sarguydigital.com[http://www.sarguydigital.com]][http://www.sarguydigital.com[http://www.sarguydigital.com][http://www.sarguydigital.com[http://www.sarguydigital.com]]] > > _______________________________________________ > > Xastir mailing list > > Xastir@lists.xastir.org > > http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]]] > > _______________________________________________ > > Xastir mailing list > > Xastir@lists.xastir.org > > http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]] > > > > -- > Curt, WE7U > http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]][http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]]] > > http://www.sarguydigital.com[http://www.sarguydigital.com][http://www.sarguydigital.com[http://www.sarguydigital.com]] > _______________________________________________ > Xastir mailing list > Xastir@lists.xastir.org > http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]]] > _______________________________________________ > Xastir mailing list > Xastir@lists.xastir.org > http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]] -- Curt, WE7U http://xastir.org[http://xastir.org][http://xastir.org[http://xastir.org]] http://www.sarguydigital.com[http://www.sarguydigital.com] _______________________________________________ Xastir mailing list Xastir@lists.xastir.org http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir][http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir]] _______________________________________________ Xastir mailing list Xastir@lists.xastir.org http://xastir.org/mailman/listinfo/xastir[http://xastir.org/mailman/listinfo/xastir] _______________________________________________ Xastir mailing list Xastir@lists.xastir.org http://xastir.org/mailman/listinfo/xastir