Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Tom Rini <tom.rini@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] udev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN
Date: Thu, 31 Oct 2013 07:27:30 -0400	[thread overview]
Message-ID: <20131031112730.GU19303@bill-the-cat> (raw)
In-Reply-To: <1382459830-15683-1-git-send-email-trini@ti.com>

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 <trini@ti.com>
> ---
>  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

-- 
Tom


  reply	other threads:[~2013-10-31 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22 16:37 [PATCH] udev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN Tom Rini
2013-10-31 11:27 ` Tom Rini [this message]
2014-04-23 23:41   ` Denys Dmytriyenko
2014-04-24  8:56     ` Paul Eggleton
2014-04-24 18:01       ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131031112730.GU19303@bill-the-cat \
    --to=tom.rini@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox