[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231121152336.GC173820@google.com>
Date: Tue, 21 Nov 2023 15:23:36 +0000
From: Lee Jones <lee@...nel.org>
To: Florian Eckert <fe@....tdt.de>
Cc: m.brock@...mierlo.com, Eckert.Florian@...glemail.com,
gregkh@...uxfoundation.org, jirislaby@...nel.org, pavel@....cz,
kabel@...nel.org, u.kleine-koenig@...gutronix.de,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-leds@...r.kernel.org
Subject: Re: [Patch v8 6/6] leds: ledtrig-tty: add additional line state
evaluation
On Mon, 20 Nov 2023, Florian Eckert wrote:
>
>
> On 2023-11-17 13:12, Lee Jones wrote:
> > On Thu, 09 Nov 2023, m.brock@...mierlo.com wrote:
> >
> > > Florian Eckert schreef op 2023-11-09 09:50:
> > > > The serial tty interface also supports additional input signals, that
> > > > can also be evaluated within this trigger. This change is adding the
> > > > following additional input sources, which could be controlled
> > > > via the '/sys/class/<leds>/' sysfs interface.
> > > >
> > > > Explanation:
> > > > DCE = Data Communication Equipment (Modem)
> > > > DTE = Data Terminal Equipment (Computer)
> > > >
> > > > - cts:
> > > > DCE is ready to accept data from the DTE (CTS = Clear To Send). If
> > > > the line state is detected, the LED is switched on.
> > > > If set to 0 (default), the LED will not evaluate CTS.
> > > > If set to 1, the LED will evaluate CTS.
> > > >
> > > > - dsr:
> > > > DCE is ready to receive and send data (DSR = Data Set Ready). If the
> > > > line state is detected, the LED is switched on.
> > > > If set to 0 (default), the LED will not evaluate DSR.
> > > > If set to 1, the LED will evaluate DSR.
> > > >
> > > > - dcd:
> > > > DTE is receiving a carrier from the DCE (DCD = Data Carrier Detect).
> > > > If the line state is detected, the LED is switched on.
> > > > If set to 0 (default), the LED will not evaluate DCD.
> > > > If set to 1, the LED will evaluate DCD.
> > > >
> > > > - rng:
> > > > DCE has detected an incoming ring signal on the telephone line
> > > > (RNG = Ring Indicator). If the line state is detected, the LED is
> > > > switched on.
> > > > If set to 0 (default), the LED will not evaluate RNG.
> > > > If set to 1, the LED will evaluate RNG.
> > > >
> > > > Also add an invert flag on LED blink, so that the LED blinks in the
> > > > correct order.
> > > >
> > > > * If one off the new enabled input signals are evaluatet as 'enabled',
> > > > and data are transmitted, then the LED should first blink 'off' and
> > > > then 'on' (invert).
> > > > * If all the new enabled input signals are evaluatet as 'disabled',
> > > > and data are transmitted, then the LED should first blink 'on' and
> > > > then 'off'.
> > > >
> > > > Signed-off-by: Florian Eckert <fe@....tdt.de>
> > > > ---
> > > > .../ABI/testing/sysfs-class-led-trigger-tty | 40 ++++++++++
> > > > drivers/leds/trigger/ledtrig-tty.c | 77 ++++++++++++++++++-
> > > > 2 files changed, 116 insertions(+), 1 deletion(-)
> >
> > [...]
> >
> > > Reviewed-by: Maarten Brock <m.brock@...mierlo.com>
> >
> > Please snip your replies.
>
> Is there anything I can do? Or do I have to do something? Please give me
> more detailed instructions
That instruction wasn't for you.
This patch is still on my INCOMING list.
Do you have Greg's blessing yet?
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists