[systemd-devel] Output boot status, etc to LCD display
john.obaterspok at gmail.com
Wed Aug 13 12:16:01 PDT 2014
2014-08-13 21:02 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
> How do you access it? If it's just a TTY, then you could use
> journald.conf's TTYPath= with ForwardToConsole= and MaxLevelConsole= to
> accomplish that...
The script does this: [$1 = row 1 or 2, $2 = text to set]
stty -F /dev/ttyS1 1200
printf "M\f\x`expr $1 - 1` %-16s" "$2" > /dev/ttyS1
> If it's not just a TTY I'd recommend making it one. In userspace you
> could do that by allocating a pty, and setting the right props... That
> way you not only get compat with the journal but with everything else,
> too that can write to a TTY.
> Lennart Poettering, Red Hat
More information about the systemd-devel