linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Device to write to all (serial) consoles
@ 2019-08-02 13:23 Paul Menzel
  2019-08-02 16:02 ` Greg Kroah-Hartman
  2019-08-08 14:52 ` Enrico Weigelt, metux IT consult
  0 siblings, 2 replies; 8+ messages in thread
From: Paul Menzel @ 2019-08-02 13:23 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-serial, Linux Kernel Mailing List, Donald Buczek

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Dear Linux folks,


On a lot of devices, like servers, you have more than one serial console,
and you do not always know, how they are numbered. Therefore, we start a
console on ttyS0 and ttyS1.

In user space, we also would like to write to both consoles to not worry
about the numbering. Writing to `/dev/console` only write to the active
console.

    $ more /proc/consoles # I think
    tty0                 -WU (EC p  )    4:1
    ttyS0                -W- (E  p a)    4:65
    ttyS1                -W- (E  p a)    4:65

Does a device exist, or can a device be configured so you can write to
all (serial) consoles from user space?


Kind regards,

Paul


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-08 14:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 13:23 Device to write to all (serial) consoles Paul Menzel
2019-08-02 16:02 ` Greg Kroah-Hartman
2019-08-02 19:59   ` Paul Menzel
2019-08-03  6:46     ` Greg Kroah-Hartman
2019-08-03 13:23     ` Adam Borowski
2019-08-03 13:55       ` Greg Kroah-Hartman
2019-08-03 15:15         ` Adam Borowski
2019-08-08 14:52 ` Enrico Weigelt, metux IT consult

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