[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230213140638.620206-1-fe@dev.tdt.de>
Date: Mon, 13 Feb 2023 15:06:36 +0100
From: Florian Eckert <fe@....tdt.de>
To: u.kleine-koenig@...gutronix.de, gregkh@...uxfoundation.org,
jirislaby@...nel.org, pavel@....cz, lee@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
Eckert.Florian@...glemail.com
Subject: [PATCH 0/2] leds: ledtrig-tty: mode xtension
The following patch set adds the possibility to change the tty trigger
modes. Until now, the LED is flashed when data is transmitted. With a
legacy serial interface there are additional signal lines.
If this line changes then the LED is turned on/off.
CTS: Clear To Send -> DCE is ready to accept data from the DTE
DSR: Data Set Ready -> DCE is ready to receive and send data.
CAR: Data Carrier Detect -> DCE is receiving a carrier from a remote DCE.
RNG: Ring Indicator -> DCE has detected an incoming ring on the line.
Florian Eckert (2):
tty: new helper function tty_get_mget
leds: trigger: ledtrig-tty: add additional modes
.../ABI/testing/sysfs-class-led-trigger-tty | 16 ++
drivers/leds/trigger/ledtrig-tty.c | 148 ++++++++++++++++--
drivers/tty/tty_io.c | 32 +++-
include/linux/tty.h | 3 +-
4 files changed, 176 insertions(+), 23 deletions(-)
--
2.30.2
Powered by blists - more mailing lists