fd4a641ac8
Usage is as follows: myled=ledname tty=ttyS0 echo tty > /sys/class/leds/$myled/trigger echo $tty > /sys/class/leds/$myled/ttyname . When this new trigger is active it periodically checks the tty's statistics and when it changed since the last check the led is flashed once. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20210113173018.bq2fkea2o3yp6rf6@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
What: /sys/class/leds/<led>/ttyname
|
|
Date: Dec 2020
|
|
KernelVersion: 5.10
|
|
Contact: linux-leds@vger.kernel.org
|
|
Description:
|
|
Specifies the tty device name of the triggering tty
|