RE: Deactivate serial console?

4 messages, 2 authors, 2006-08-22 · open the first message on its own page

RE: Deactivate serial console?

From: Howard, Marc <hidden>
Date: 2006-08-22 18:44:32

"stty -F /dev/console 0" or the equivalent in code does the trick for me
but it might be implementation dependent.

Marc W. Howard
-----Original Message-----
From:=20
linuxppc-embedded-bounces+marc.howard=3Dkla-tencor.com@ozlabs.or
g [mailto:linuxppc-embedded-bounces+marc.howard=3Dkla->
tencor.com@ozlabs.org] On Behalf Of Lee Revell
Sent: Tuesday, August 22, 2006 9:19 AM
To: ppc
Subject: Deactivate serial console?
=20
We're developing a PPC440 based system for a customer who=20
requires that
it be possible to disable/enable the serial console without a reboot.
Is this possible without hacking the kernel?
=20
Lee
=20
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20

RE: Deactivate serial console?

From: Lee Revell <hidden>
Date: 2006-08-22 17:54:56

On Tue, 2006-08-22 at 10:46 -0700, Howard, Marc wrote:
stty -F /dev/console 0
Thanks - so if I read the man page correctly the 0 is interpreted as 0
baud, and I would re-enable it by "stty -F /dev/console 115200"?

Lee

RE: Deactivate serial console?

From: Lee Revell <hidden>
Date: 2006-08-22 17:57:33

On Tue, 2006-08-22 at 10:46 -0700, Howard, Marc wrote:
"stty -F /dev/console 0" or the equivalent in code does the trick for me
but it might be implementation dependent.
That works for disabling the console but now I can't re-enable it.  stty
-F /dev/console 115200 does not restore serial console access.

Lee
Marc W. Howard
quoted
-----Original Message-----
From: 
linuxppc-embedded-bounces+marc.howard=kla-tencor.com@ozlabs.or
g [mailto:linuxppc-embedded-bounces+marc.howard=kla->
tencor.com@ozlabs.org] On Behalf Of Lee Revell
quoted
Sent: Tuesday, August 22, 2006 9:19 AM
To: ppc
Subject: Deactivate serial console?

We're developing a PPC440 based system for a customer who 
requires that
it be possible to disable/enable the serial console without a reboot.
Is this possible without hacking the kernel?

Lee

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

RE: Deactivate serial console?

From: Lee Revell <hidden>
Date: 2006-08-22 18:27:19

On Tue, 2006-08-22 at 13:57 -0400, Lee Revell wrote:
On Tue, 2006-08-22 at 10:46 -0700, Howard, Marc wrote:
quoted
"stty -F /dev/console 0" or the equivalent in code does the trick for me
but it might be implementation dependent.
That works for disabling the console but now I can't re-enable it.  stty
-F /dev/console 115200 does not restore serial console access.
OK, for the benefit of the list readers, this solution does work.
However the disable command must be issued from telnet/SSH prompt - if
issued from the a serial console, the serial console locks up and cannot
be restored without a reboot.

Lee
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help