I had an issue with my serial to USB adapter and come to find out, it would change which ports it was plugged into. For example, it would change from /dev/ttyUSB0 to /dev/ttyUSB1.
After much digging, I found it best for me to write a rule for my device. I used this link as a reference: http://hackaday.com/2009/09/18/how-to-write-udev-rules/ I wrote this rule for my USB to Serial adapter and saved it as /etc/udev/rules.d/60-xastirportserial.rules. Because I am using a TT4 on my adapter, I changed the rule to call it tt4 so whenever it decides to change ports, it will always recognize my adapter and never lose it: #First typed dmesg after plugging in the serial adapter #Identified the last item listed and ensured it was ttyUSB0 #Wrote this rule first to get product identification #udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) #Got the information from one set of parent rules and applied them in the following rule #ensuring that I got the location correct(in this case, 2-2) so that when I plug into #that port, it will always recoginze this item. Tested on other ports and it did not #identify it. SUBSYSTEMS=="usb", ATTRS{product}=="USB-Serial Controller D", KERNELS=="2-2", SYMLINK+="tt4" I understand you have a Mac but hope this will help in some way to keep in communication with your device. 73 John On Thu, May 9, 2013 at 5:10 PM, wf8s <[email protected]> wrote: > On linux yes. > > MacOS quasi-linux no. > > > Sent from my Samsung smartphone on AT&T > > -------- Original message -------- > From: Jean-Paul Bec <[email protected]> > Date: 05/09/2013 3:26 PM (GMT-05:00) > To: Xastir - APRS client software discussion <[email protected]> > Subject: Re: [Xastir] MacOS/Xastir problem > > Are you sure thath your port name is correct? > It's often ttyUSB0 > Friendly > Jean-Paul F8BMB > Le 8 mai 2013 22:38, "Jacob Tennant" <[email protected]> a écrit : > > > Whenever I try to activate a serial tnc connection it causes my Xastir > > instance to freeze for about 30 seconds then the serial port never opens? > > > > I have checked that all of the configuration is correct duch as > > /dev/tty.usbserialFTDI845 for the serial port and I have use a terminal > > program to talk to the tnc and everything runs fine there. > > > > Any suggestions? > > > > Jacob Tennant - WF8S > > ______________________________**_________________ > > Xastir mailing list > > [email protected] > > http://lists.xastir.org/cgi-**bin/mailman/listinfo/xastir< > http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir> > > > _______________________________________________ > Xastir mailing list > [email protected] > http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir > _______________________________________________ > Xastir mailing list > [email protected] > http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir > _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
