Re: How to enable output to serial console at run-time?

From: Paul Menzel
Date: Thu Nov 02 2017 - 15:01:13 EST


Dear Greg,


Am 02.11.2017 um 17:53 schrieb Greg KH:
On Thu, Nov 02, 2017 at 04:39:36PM +0100, Paul Menzel wrote:

If I want to output the Linux kernel messages to the serial console, but the
`console=ttySâ` line is missing on the Linux command line, is there a way to
activate that during run-time by, for example, using the sysfs interface?

Why not change the command line to enable it properly?

Sometimes itâs not possible or very inconvenient to reboot the system.


Kind regards,

Paul