This is a follow-up patchset, based on the mailing list discussion from March 2023 based on the old patchset v7 [1]. I have changed, the LED trigger handling via the sysfs interfaces as suggested by Uwe Kleine-König. [1] https://lore.kernel.org/linux-leds/20230306093524.amm7o4ppa7gon4ew@xxxxxxxxxxxxxx/ Florian Eckert (2): tty: add new helper function tty_get_mget trigger: ledtrig-tty: add new line mode to triggers .../ABI/testing/sysfs-class-led-trigger-tty | 54 ++++ drivers/leds/trigger/ledtrig-tty.c | 272 +++++++++++++++++- drivers/tty/tty_io.c | 29 +- include/linux/tty.h | 1 + 4 files changed, 339 insertions(+), 17 deletions(-) -- 2.30.2