[Xastir] USB on Linux for TNC

Rich Garcia k4gps at bellsouth.net
Tue Jun 10 17:34:25 EDT 2003


Things are really interesting now...I am almost certain it is some
confilct. The TNC seems to be receiving fine and so does Xastir. Instead
of the reported data displaying in the Incoming window and not showing
on the map mine is opposite! I saw mention of that in the install docs
but the trouble report is opposite of what I am seeing.

Stations are showing on my map but NOT in the data window!! I am
thinking (I have RF to Internet turned on) that the data is coming
through and gate'ing to the Internet and Xastir is seeing the data that
is coming back on the Internet feed.

I am also surprised that there is not TNC2 startup file in the distro,
just AEA, KAM and PICO. I will need to make a file up next. BUT I still
have the lock up's when I am in the Interface property pages, seems to
be upon exit even if I DO NOT make changes. Again my PS2 Keyboard Mouse
Interface Puck is flashing when this happens. 

Is there a Easy way to shut off the Mouse and Keyboard USB support
without rebuilding the kernel ? I don't need it, it would be faster on
startup, less resources used and also possibly less of a chance of
conflicts that I am apparently receiving with the keyboard/mouse. 

As far as permissions I think the best plan right now is for me to leave
it be for now. Once I get everything working fine THEN I can go step by
step and reduce the un-necessary permissions. I don't want to create an
additional problem.

Rich

On Tue, 2003-06-10 at 16:59, Brian Heaton wrote:
> Rich,
> 
> 
> 	Its the exectute only permission for everyone on ttyUSB0 that concerns
> me the most.  Does anyone know any reason why execute permission are
> needed on a USB serial port??? 
> 
> 	Baesd on what's in the INSTALL file the solution that looks best to me
> is changing the xastir binary's group to the same as the port (uucp) and
> then make xastir setgid uucp.  That should fix it up pretty well. I'm
> not sure which of the possible solution you chose based on your earlier
> emails.
> 
> 			THX/BDH
> 
> 
> 
> On Tue, 2003-06-10 at 16:50, Rich Garcia wrote:
> > Here are my permission settings for both the USB0 and 1st Serial port,
> > everything looks OK to me but then again what do I know. A close look at
> > the TNC seems to indicate that I can indeed TX but incoming packets are
> > not detected. The TNC DCD does light up but the usb0 indicator does not
> > show a incoming packet, it does show the outgoing packet which causes my
> > TXd light to flicker for about 10 seconds before the PTT goes off.
> > 
> > Xastir no longer locks up all the time but just sometimes when I am
> > trying to close the interface window for USB0. Upon startup I did notice
> > that USB support for a mouse and keyboard is loaded along with HID and
> > UCID I believe. During the lock ups I have noticed that my MSoft RF
> > interface (Keyboard and Mouse) flash and will not stop. This is not a
> > USB interface but a PS2 interface so maybe there is some sort of a
> > confilct ?
> > 
> > Rich
> > 
> > crwxrwx--x    1 root     uucp     188,   0 Jun 10 08:22 ttyUSB0
> > [rich at 192 dev]$ ls -l ttyS0
> > crw-rw----    1 root     uucp       4,  64 Jan 30 05:24 ttyS0
> > 
> > 
> > On Tue, 2003-06-10 at 10:29, Brian Heaton wrote:
> > > Rich,
> > > 
> > > 	At the following link there is a note at the bottom of the page about
> > > possibly needing to tweak a file.
> > > 
> > > 		THX/BDH
> > > 
> > > http://www.qbik.ch/usb/devices/showdev.php?id=780
> > > 
> > > 
> > > 
> > > On Tue, 2003-06-10 at 09:35, Rich Garcia wrote:
> > > > It is the latest RH Kernel without any modifications. It seems that I
> > > > have it somewhat working now as ttyUSB0 but now Xastir locks up when I
> > > > go into the interface properties. 
> > > > 
> > > > I did do the permissions that I saw in the install guide, I guess just
> > > > follow the routine serial instructions. It is working with minicom just
> > > > fine. 
> > > > 
> > > > The interface comes up and when I monitor the TNC port in Xastir I don't
> > > > see a thing. When I TX or the program first comes up I see port activity
> > > > on the TNC telling me that data is going in and out and also on the
> > > > adapter LED's.
> > > > 
> > > > I do not understand the lock up problem, and when I mean lock up I mean
> > > > EVERYTHING, I can't get anything to work and my keyboard and mouse are
> > > > unusable, they are PS2 not USB. 
> > > > 
> > > > Any ideas, I was going to play some more and then go out to work but I
> > > > got a cell site off the air and have to head north about 1 hour. Was
> > > > hoping to track myself on RF to try it out I guess not this time. 
> > > > 
> > > > By the way the interface is the Belkin USB PDA adapter. THe package says
> > > > USB Serial Adapter but the package also says For Palm and Pocket PC
> > > > handhelds. I don't think there is 1 bit of difference. In Windows it
> > > > works fine with the TNC and now it also seems to work fine with minicom
> > > > under Linux. Just want to be 100% sure it works with Xastir under Linux
> > > > before I start telling people to go get them. $6.99 is not a bad deal!
> > > > 
> > > > 
> > > > Rich
> > > > 
> > > > On Tue, 2003-06-10 at 09:05, Brian Heaton wrote:
> > > > > Rich,
> > > > > 
> > > > > 	Are you running a stock RedHat kernel or one you compiled yourself? 
> > > > > 
> > > > > 	Personally I use a Keyspan USA-28X for my machine here at work.  Under
> > > > > Linux I use /dev/ttyUSB0 for the first port and /dev/ttyUSB1 fo the
> > > > > second port. Works like a champ every time.
> > > > > 
> > > > > 	As long as the permission are setup right (from the README files) you
> > > > > should just be able to fill in the config data and run.  What are you
> > > > > trying now that isn't working for you??
> > > > > 
> > > > > 			THX/BDH
> > > > > 
> > > > > 
> > > > > 
> > > > > On Mon, 2003-06-09 at 23:08, Rich Garcia wrote:
> > > > > > I'll try posting this again. I have been playing with some network
> > > > > > settings that changed my e-mail addresses and apparently the mailing
> > > > > > list software did not like them.
> > > > > > 
> > > > > > >>>>
> > > > > > 
> > > > > > I have never tried to use USB on Linux before but I just picked up a
> > > > > > Belkin F5U109rw and it works great on my Win2K box. I read the Mac post
> > > > > > to use DEV/cu instead of TTY but how do I know what else to put in there
> > > > > > ? I checked out RH9's Hardware Browser but all that tells me is that I
> > > > > > have 3 USB ports installed.
> > > > > > 
> > > > > > The auto detect feature of Linux did not see anything but I think that
> > > > > > is because it sees the USB ports, not the adapter that is connected to
> > > > > > it...I think.
> > > > > > 
> > > > > > If I get this working I have a HOT lead on CHEAP adapters...I just want
> > > > > > to make sure what platforms it works with before I send out a e-mail to
> > > > > > everyone on the sig's. I already ordered 6 more of them, hopefully I can
> > > > > > use it on Linux considering I am down to 1 Win2K box now.
-- 
Rich Garcia K4GPS
Jupiter Farms FL.
www.richgarcia.net
Jupiter Farms Community Emergency Response Team



More information about the Xastir mailing list