lkml.org 
[lkml]   [2019]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectDevice to write to all (serial) consoles
Date
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

[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2019-08-02 15:25    [W:0.067 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site