Re: free serial port

From: Ross J. Reedstrom <reedstrm_at_rice.edu>
Date: Mon, 6 Aug 2001 11:55:14 -0500

On Mon, Aug 06, 2001 at 12:27:34PM -0400, Russ Nelson wrote:
> Markus Weimer writes:
> > So, what are my options from now on to free the serial port?
>
> I use a run level for gpsd. Modify /etc/inittab so that getty onlys
> runs at run level 2, and add a S00whatever to /etc/rc3.d which starts
> up the program that accesses the serial port. You probably want to
> add a Ksomething file to /etc/rc2.d so that if you go back into run
> level 2, your program gets stopped.
>
> Check to make sure that /etc/inittab has an rc line for each of the
> run levels. I think they're not all there in the standard familiar
> 0.4.
>
> l0:0:wait:/etc/init.d/rc 0
> l1:1:wait:/etc/init.d/rc 1
> l2:2:wait:/etc/init.d/rc 2
> l3:3:wait:/etc/init.d/rc 3
> l4:4:wait:/etc/init.d/rc 4
> l5:6:wait:/etc/init.d/rc 5
> l6:6:wait:/etc/init.d/rc 6
>

What he said, (I've done something similar to use the Stowaway keyboard)

If your system is really sensitive to extraneous garbage in the IO, be
sure to change your boot up linuxargs param, to remove 'console=ttySA0'

Ross
Received on Mon Aug 06 2001 - 09:50:41 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:32 EDT