[Thread Prev][Thread Next][Thread Index]

Re: Debugging serial ports



I had a similar problem when trying to use pilot-xfer.  The problem, believe it 
or not, is actually created by admintool (at least the version I was using) 
which changes permissions and sets owner and group to "uucp" and "tty".  I 
forget which item in admintool makes this change, but there is no way to change 
back to the default configuration!

The way I solved the problem is as follows:

When the Serial Port Permissions don't allow access to PI_BIND (assume 
/dev/ttyb):

Run commands as root:

1. chmod 666 /dev/ttyb
2. chown root /dev/ttyb
3. chgrp sys /dev/ttyb
4. touch /reconfigure
5. reboot

If that doesn't solve the problem, then you have a different problem.

John


> From: Steve Morris <smorris@xxxxxxxxx>
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> To: pilotmgr@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Debugging serial ports
> 
> 
> I know this has been discussed a thousand times but I can't get
> communication working between My Sparc 20 and my pilot. admintool
> shows what it should but I can't find eeprom. I really suspect that
> there is a cabling problem, especially because I have a very exotic
> cable provided to me by MIS here. Failing buying a serial port
> protocol analyzer how do I debug this? Installing a terminal program
> on the pilot would help. That will be easier when I have download
> capability. Is there any built in capability to look at the serial
> port of the pilot? I can run tip on the UNIX side or just cat garbage.
> 
> Why does it sometimes seem like I spend half my life making two RS 232
> "standard" devices talk to each other.
> 
> Sigh...
> ------------------------------------------------------------------------
> ***********************************************************
> *             This is a public mailing list!              *
> * Please do not publish Sun proprietary information here! *
> *        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
> *             http://www.moshpit.org/pilotmgr             *
> ***********************************************************

------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo