Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1232917pxb; Wed, 20 Oct 2021 00:32:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM8BV2uE2JShLtKCGh9zHX73vvd229tzSV8mwgMyDvfKA2JSKDoLTX6WtRLt/a24XZAxWD X-Received: by 2002:a17:90a:d996:: with SMTP id d22mr5686408pjv.20.1634715144877; Wed, 20 Oct 2021 00:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634715144; cv=none; d=google.com; s=arc-20160816; b=RJIKKNmFXRctbm+GaTTJqTyTuaGImo1Dct/WnWboB5Yfl1nKXTRPQk9ZP/23CnPpWA lzU1jYQG/NP1lsGr0ayohw8kCv0OFYNSjrc1gmZEdMI3bx5fKUgnaUq1l6aKT+s/gpNX Of2ijRi/mmTV4w14EX0YDLG3zZkEwGxuK9CKYclaghJC3pRNH6pB8YRyIcwAGqF2x75e OixWz04qDhiqK7G1Q5sw31cgwpWV1Goeu247pniwG3ETMubwdEF8rdi4yWHy2BSgouTv 9AS315K2lKF1JpQRY11QMkX7MU3adomfH2jhByiV31xQzPyOcmUYyzEijhi1WPo6SlED 0COA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AUA0BlGvGkkTS1vzcWwvb/HG5NvvOHpm3KwYamzTnvI=; b=K7FElC7fLpCiU5/omtpRCAfJf7pg5pexQ1DbtNok8i1OCg0gH7vzy8s//x3wpOxNUI tY7z4Jga7N6iSZ7qLPdyHk6dvBAkkxvoCIgQlqBDzfMDflRuumZa5QsYx4/kUM1oWVLY d2UnXUyqSv/RzrpkpfgILb9rHnvpYa5NidQ4V5o1J+bIdvwAUtot1GNUaVAbIteyPRJH q76b3DuhjHoj6n7dlsDKeFbXrXgqQZhZuQqFw7GWGOMAa0QphzHhLCl39zeuQ89jxCSE fXJNWilNUAtMSDylMFN/+S/b3p2PDo4zZm+nphIQS/Sm3I/E6iTxowQvFr1zJ8MealBX FPOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kS4Bw6eo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si2042771pfk.186.2021.10.20.00.32.11; Wed, 20 Oct 2021 00:32:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kS4Bw6eo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229985AbhJTHck (ORCPT + 99 others); Wed, 20 Oct 2021 03:32:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:49400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbhJTHci (ORCPT ); Wed, 20 Oct 2021 03:32:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4EE6860FC3; Wed, 20 Oct 2021 07:30:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634715024; bh=nTtxR8RtHzmZkuJwB5xogwj67/lJSwYpi2PBZyRy1XI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kS4Bw6eonrmOxVd8H1KySUKUSRxh6hQvR6lZZGwrnPDK5h925kUt1sKm+qZXwhZuV J5MhbkvLxHN3dshiU9gqF1NFsUQQaoGfPJ4Wjlpj3Rw6uIy+3VgDnEh7GlXGhFKTIV nYvO/BxhR2xjoaRJ1WJmcCktguVmXPDpYiUj/rVk= Date: Wed, 20 Oct 2021 09:30:21 +0200 From: Greg KH To: lianzhi chang Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com, jirislaby@kernel.org, andriy.shevchenko@linux.intel.com, linux-input@vger.kernel.org, 282827961@qq.com Subject: Re: [[PATCH v3 10/20]] input&tty: Fix the keyboard led light display problem Message-ID: References: <20211020064842.29573-1-changlianzhi@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211020064842.29573-1-changlianzhi@uniontech.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 20, 2021 at 02:48:42PM +0800, lianzhi chang wrote: > Switching from the desktop environment to the tty environment, > the state of the keyboard led lights and the state of the keyboard > lock are inconsistent. This is because the attribute kb->kbdmode > of the tty bound in the desktop environment (xorg) is set to > VC_OFF, which causes the ledstate and kb->ledflagstate > values of the bound tty to always be 0, which causes the switch > from the desktop When to the tty environment, the LED light > status is inconsistent with the keyboard lock status. > > Signed-off-by: lianzhi chang This is patch 10 out of 20? Where are the other 19 patches in this series? And your subject line should not have "input&" in it anymore, right? thanks, greg k-h