[Xastir] Xastir with TNC-X
Tony Hunt
wavetel at internode.on.net
Wed Dec 9 16:01:46 EST 2009
Duffy .. Some good help you have found so far with this. I have a TNC-C
running in USB mode with Mepis 8 and have used it on eeeBuntu on a 900HA
eeePC .. One thing Ive found really annoying is the way the Kernel deals
with it in Linux. If it get unplugged or plugged in somewhere different it
will nearly allways get a different device name and you find yourself diving
in to xastir config to change it each time you run xastir.
Enter udev rules . http://www.reactivated.net/writing_udev_rules.html
You can setup a udev rule so that regardless of the USB port and the number
of times you plug it in and out the device name will be the same.
If you do a search on TNC-X or perhaps udev it was a discussion on this
group a few months ago now.
Below is a copy of my udev rule file from the mepis system. I forwarded this
info to John Hansen who distributes the TNC-x with the FTDI module.
# udev rules for TNC-X
# This file is usually located at /etc/udev/rules.d/ check your system
to be sure.
# See also http://reactivated.net/writing_udev_rules.html
# Using the serial of the individual TNC-X FTDI USB device it is most likely
possible to have
# multiple TNC-X devices attached with individual persistant names.
# Other attributes like product manufacturer idProduct are common
identification attributes
# not unique to a specific TNC-X
# To find the attributes you will need use USBview (GTK Gui) or udevinfo
from a console
# I have even found the required attributes in the syslog after plugging in
the device.
# Usually a TNC-X shows as a device /dev/ttyUSB0 or similar before you
install any udev rules
# To check your udev rule is working for the TNC-X use ls /dev/TNC* from
the console
# If this lists your TNC-X then the udev rule is working.
#
# Choose one of these ATTR attribute options.
#
# SUBSYSTEMS=="usb", ATTRS{serial}=="FS2SIUJX", KERNEL=="ttyUSB*",
NAME="tncx0", OWNER="root", GROUP="dialout", MODE="0660"
SUBSYSTEMS=="usb", ATTRS{serial}=="FS2SIUJX", KERNEL=="ttyUSB*",
NAME="tncx0", MODE="0666"
#
# This uses the FTDI USB module serial number
# SUBSYSTEMS=="usb", ATTRS{serial}=="FS2SIUJX", KERNEL=="ttyUSB*",
SYMLINK+="TNC-X-0"
#
# This uses the Product name
# SUBSYSTEMS=="usb", ATTRS{product}=="TNC-X from W2FS", KERNEL=="ttyUSB*",
SYMLINK+="TNC-X"
#
# This uses the Manufacturers name
# SUBSYSTEMS=="usb", ATTRS{manufacturer}=="W2FS", KERNEL=="ttyUSB*",
SYMLINK+="TNC-X"
#
# This uses the Product id code
# SUBSYSTEMS=="usb", ATTRS{idProduct}=="ebe0", KERNEL=="ttyUSB*",
SYMLINK+="TNC-X"
Tony Hunt VK5AH
----- Original Message -----
> Date: Tue, 08 Dec 2009 21:15:42 -0500
> From: Amateur Radio WB8NUT <duffy at wb8nut.com>
> To: Xastir - APRS client software discussion <xastir at lists.xastir.org>
> Subject: [Xastir] Xastir with TNC-X
> Message-ID: <4B1F084E.7080901 at wb8nut.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hopefully someone out there has set this up and can step me through the
> process.
>
> I am using Ubuntu. I have a TNC-X (KISS TNC) that has the USB option.
>
> How do I configure Xastir to work with the TNC-X with a USB connection?
>
> Thanks in advance!
>
> Duffy
> www.wb8nut.com
>
>
More information about the Xastir
mailing list