linux/drivers/leds/trigger
Uwe Kleine-König fd4a641ac8 leds: trigger: implement a tty trigger
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>
2021-01-15 10:22:26 +01:00
..
Kconfig leds: trigger: implement a tty trigger 2021-01-15 10:22:26 +01:00
ledtrig-activity.c
ledtrig-audio.c
ledtrig-backlight.c
ledtrig-camera.c
ledtrig-cpu.c ledtrig-cpu: Limit to 8 CPUs 2020-09-30 19:15:40 +02:00
ledtrig-default-on.c
ledtrig-disk.c
ledtrig-gpio.c leds: trigger: gpio: Avoid warning on update of inverted 2020-07-12 10:06:38 +02:00
ledtrig-heartbeat.c
ledtrig-mtd.c
ledtrig-netdev.c
ledtrig-oneshot.c
ledtrig-panic.c
ledtrig-pattern.c leds: pattern trigger -- check pattern for validity 2020-07-24 12:43:57 +02:00
ledtrig-timer.c
ledtrig-transient.c
ledtrig-tty.c leds: trigger: implement a tty trigger 2021-01-15 10:22:26 +01:00
Makefile leds: trigger: implement a tty trigger 2021-01-15 10:22:26 +01:00