linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
To: Paul Menzel <pmenzel+linux-serial@molgen.mpg.de>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: How to enable output to serial console at run-time?
Date: Thu, 2 Nov 2017 22:29:12 +0000	[thread overview]
Message-ID: <20171102222912.3d0bd8ad@alans-desktop> (raw)
In-Reply-To: <677939ab-22d3-d220-46fd-0f45be6c9226@molgen.mpg.de>

On Thu, 2 Nov 2017 20:01:07 +0100
Paul Menzel <pmenzel+linux-serial@molgen.mpg.de> wrote:

> 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.

Try "man 2 ioctl_tty"


Alan

      reply	other threads:[~2017-11-02 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 15:39 How to enable output to serial console at run-time? Paul Menzel
2017-11-02 16:53 ` Greg KH
2017-11-02 19:01   ` Paul Menzel
2017-11-02 22:29     ` Alan Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171102222912.3d0bd8ad@alans-desktop \
    --to=gnomes@lxorguk.ukuu.org.uk \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=pmenzel+linux-serial@molgen.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).