Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2043491rdb; Sun, 19 Nov 2023 23:22:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyS+VFbQQTHgM+6WehSyY59hbN4Kz8mQg15/GXLPq7oP7ERhSDg5msNW0MxULo8CWTEZ4P X-Received: by 2002:a05:6808:1185:b0:3b2:e3e5:6b58 with SMTP id j5-20020a056808118500b003b2e3e56b58mr8237592oil.12.1700464927076; Sun, 19 Nov 2023 23:22:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700464927; cv=none; d=google.com; s=arc-20160816; b=0Z7wh2g6tpSc7Vc+OWIViBEuSzPZbuECaPxQK92wTDJl+EClhJrEpTYxP1JuMAMA4+ 5zuiZpcqBjHUO/DIB86E5h4OeaSn6xY8b6rq8g2HbQh+I8tq5/LudKTP8PmafIl3i7Ng lvRzhf+ZN/dxNoNwis9ponfzQ9fE2wOD9WVpfqi4AdoWgabpXdFbrlmmToSSjHyW24bN DGEDzkwONLQVa6zZoDy34RUkV0m7gSBo1yhpy+6tLlPnxGzHZmZ9NlIxQVirmcJMZPH+ neqtyNmCi/AaO5hjoxRKX6ZBiiDpW+478Ni7+9eUbdsS6nYKb4D/cKNmyhcWfisK6NjZ j4mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version; bh=wWuTwqNXeDIeWE6ouXA+8Ouv8uD17MBpoGK49RmBCxs=; fh=8Xo3NdEh6V8P3qGfME81V5o0w4si5B0TFT2Yw8QlIX8=; b=T8TzeVIlfC26kYMZoeDQmVJIQn59pyl09DpuJoWyJsA4fnS41pNUwYjeuxk9d1/Y9V +iQ3y3KzN/uOmJdbGEIeFohDW9tZkCJGH3jrK3r4+zzS/Bo8TeaZiuG+gxOW2r2QbmHm EKjMTF8t1dasUuWIK6qKnc/zn405KN8+1NI3M/1kNXILgPbLCHHCI6LBFFkRk7Xc8HUT AiuNODXWd8Cmjuw6sXIWb93EzbjMiqZA03YQDGsvToOCGzgI3RVCDsnpdfygzZf2F0Ji js+c3Wv2dcR6CYAEB4Dtq6LY2Dr2Vcruy6fmWZf00o0SpL8wwpVKOD8m7I9e8SQSwCiv ntnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id x17-20020a63fe51000000b005b86142ee56si7369747pgj.277.2023.11.19.23.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 23:22:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9F05180AC5B7; Sun, 19 Nov 2023 23:21:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232018AbjKTHVw (ORCPT + 99 others); Mon, 20 Nov 2023 02:21:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjKTHVv (ORCPT ); Mon, 20 Nov 2023 02:21:51 -0500 Received: from mxout70.expurgate.net (mxout70.expurgate.net [91.198.224.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0AAEB7; Sun, 19 Nov 2023 23:21:47 -0800 (PST) Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1r4yb6-001fYR-Uf; Mon, 20 Nov 2023 08:21:33 +0100 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r4yb2-00BiJA-Sa; Mon, 20 Nov 2023 08:21:28 +0100 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 7E926240049; Mon, 20 Nov 2023 08:21:28 +0100 (CET) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id CED55240040; Mon, 20 Nov 2023 08:21:27 +0100 (CET) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id 45E06224A7; Mon, 20 Nov 2023 08:21:27 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 Nov 2023 08:21:27 +0100 From: Florian Eckert To: Lee Jones Cc: m.brock@vanmierlo.com, Eckert.Florian@googlemail.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, pavel@ucw.cz, kabel@kernel.org, u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [Patch v8 6/6] leds: ledtrig-tty: add additional line state evaluation In-Reply-To: <20231117121253.GB137434@google.com> References: <20231109085038.371977-1-fe@dev.tdt.de> <20231109085038.371977-7-fe@dev.tdt.de> <39e7c892299c74821b1105a0967063ca@vanmierlo.com> <20231117121253.GB137434@google.com> Message-ID: X-Sender: fe@dev.tdt.de User-Agent: Roundcube Webmail/1.3.17 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email X-purgate: clean X-purgate-ID: 151534::1700464889-65B24C7C-62AFF1E2/0/0 X-purgate-type: clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 19 Nov 2023 23:21:59 -0800 (PST) On 2023-11-17 13:12, Lee Jones wrote: > On Thu, 09 Nov 2023, m.brock@vanmierlo.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//' 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 >> > --- >> > .../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 > > Please snip your replies. Is there anything I can do? Or do I have to do something? Please give me more detailed instructions