mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
What: /sys/class/leds/<led>/ttyname
|
|
Date: Dec 2020
|
|
KernelVersion: 5.10
|
|
Contact: [email protected]
|
|
Description:
|
|
Specifies the tty device name of the triggering tty
|