[comp.sys.m68k] Console not at 9600 bps

kdq@demott.COM (Kevin D. Quitt) (02/07/90)

We're running a Motorola Delta 3600 box, (System V r3.51), and we want to 
keep a printer attached to the console for record keeping purposes.  Is there
any way to keep the system from always changing the tty00 speed to 9500 bps?

Right now we're sleeping a task on the console, and renewing it once a day
via cron, but this is not really satisfactory.


kq

-- 



Kevin D. Quitt                          Manager, Software Development
DeMott Electronics Co.                  VOICE (818) 988-4975
14707 Keswick St.                       FAX   (818) 997-1190
Van Nuys, CA  91405-1266                MODEM (818) 997-4496 Telebit PEP last
34 12 N  118 27 W                       srhqla!demott!kdq   kdq@demott.com

kdq@demott.COM (Kevin D. Quitt) (02/07/90)

My apologies for providing incomplete information on my problem.

0. (recap) Motorola Delta 3600 (68030 based) System V r3.51 UNIX.  We want
   to put a 1200 bps printer on the console to keep hard copy of problems.

1. There is no speed jumper on the board (MVME147)


2. The inittab line is:

co:234:respawn:/etc/getty console console


3. The gettydefs line is:

console# B1200 HUPCL OPOST ONLCR # B1200 SANE #Console Login 1200: #console


4. The mechanism we are using now is the file /etc/rc2.d/S99holdtty00, which
   is executed automatically when changing to init state 2.  (The sleep lasts
   24.5 hours).

nohup sleep 88200 </dev/tty00 &
sleep 5
stty 1200 </dev/tty00
stty 1200 </dev/tty00
date >/dev/tty00


5. The following line is in the cron file root.

0 5 * * * /etc/rc2.d/S99holdtty00


6. It is my understanding that Motorola's version of UNIX considers the 
   console even more magical than most, and will not allow the speed to
   deviate from 9600 bps unless absolutely forced to.

   If we do not use the "sleep on it" technique, then the first access to
   the console is at 1200 bps, but every subsequent one is at 9600.  Accesses
   includes such things as "stty </dev/tty00".


7. My thanks to the people who have responded already.

8. Any other ideas/help from Motorola?


kq
-- 



Kevin D. Quitt                          Manager, Software Development
DeMott Electronics Co.                  VOICE (818) 988-4975
14707 Keswick St.                       FAX   (818) 997-1190
Van Nuys, CA  91405-1266                MODEM (818) 997-4496 Telebit PEP last
34 12 N  118 27 W                       srhqla!demott!kdq   kdq@demott.com