From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vms173021pub.verizon.net (vms173021pub.verizon.net [206.46.173.21]) by mail.openembedded.org (Postfix) with ESMTP id CC43265D4B for ; Wed, 23 Apr 2014 23:42:09 +0000 (UTC) Received: from gandalf.denix.org ([unknown] [71.191.205.189]) by vms173021.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N4I00B43CHW4250@vms173021.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Wed, 23 Apr 2014 18:41:56 -0500 (CDT) Received: by gandalf.denix.org (Postfix, from userid 1000) id 4936A200AC; Wed, 23 Apr 2014 19:41:56 -0400 (EDT) Date: Wed, 23 Apr 2014 19:41:56 -0400 From: Denys Dmytriyenko To: Tom Rini Message-id: <20140423234156.GV11339@denix.org> References: <1382459830-15683-1-git-send-email-trini@ti.com> <20131031112730.GU19303@bill-the-cat> MIME-version: 1.0 In-reply-to: <20131031112730.GU19303@bill-the-cat> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] udev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 23:42:12 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline On Thu, Oct 31, 2013 at 07:27:30AM -0400, Tom Rini wrote: > On Tue, Oct 22, 2013 at 12:37:10PM -0400, Tom Rini wrote: > > > Since udev 174 udev has been running input_id as a built-in command and > > setting this value in the environment for touchscreens. Use this logic > > to detect when to make a touchscreen0 symlink. > > > > Signed-off-by: Tom Rini > > --- > > meta/recipes-core/udev/udev/local.rules | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-core/udev/udev/local.rules b/meta/recipes-core/udev/udev/local.rules > > index 72d92ef..d0b0216 100644 > > --- a/meta/recipes-core/udev/udev/local.rules > > +++ b/meta/recipes-core/udev/udev/local.rules > > @@ -17,5 +17,5 @@ > > ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" > > > > # Create a symlink to any touchscreen input device > > -SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0" > > +SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="input/touchscreen0" > > Ping Was it ever reviewed? Ping^2 -- Denys