Acked-by: Franklin Cooper Jr. <[email protected]>
> -----Original Message----- > From: [email protected] [mailto:meta-arago- > [email protected]] On Behalf Of Maupin, Chase > Sent: Monday, October 14, 2013 3:32 PM > To: [email protected] > Subject: [meta-arago] [PATCH] udev: fix touchscreen detection rule > > * Fix the rule to detect the touchscreen and create the > /dev/input/touchscreen0 device node. > * This has already been submitted upstream and can be removed > when meta-arago switches to Dora > * The patch has already been submitted to oe-core at: > > http://article.gmane.org/gmane.comp.handhelds.openembedded.core/43958 > > Signed-off-by: Chase Maupin <[email protected]> > --- > .../recipes-core/udev/udev/local.rules | 23 > ++++++++++++++++++++ > .../recipes-core/udev/udev_182.bbappend | 8 +++++++ > 2 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 meta- > arago-distro/recipes-core/udev/udev/local.rules > create mode 100644 meta-arago-distro/recipes- > core/udev/udev_182.bbappend > > diff --git a/meta-arago-distro/recipes-core/udev/udev/local.rules > b/meta-arago- > distro/recipes-core/udev/udev/local.rules > new file mode 100644 > index 0000000..d0cbf91 > --- /dev/null > +++ b/meta-arago-distro/recipes-core/udev/udev/local.rules > @@ -0,0 +1,23 @@ > +# There are a number of modifiers that are allowed to be used in some # > +of the different fields. They provide the following subsitutions: > +# > +# %n the "kernel number" of the device. > +# For example, 'sda3' has a "kernel number" of '3' > +# %e the smallest number for that name which does not matches an > +existing node # %k the kernel name for the device # %M the kernel major > +number for the device # %m the kernel minor number for the device # %b > +the bus id for the device # %c the string returned by the PROGRAM # > +%s{filename} the content of a sysfs attribute # %% the '%' char itself > +# > + > +# Try and modprobe for drivers for new hardware ACTION=="add", > +DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe > $env{MODALIAS}" > + > +# Create a symlink to any touchscreen input device # Trigger based on > +input type, that the evbit (-e) has EV_SYN and EV_ABS, # has an EV_ABS > +value (-a) which is used for touchscreen type devices. > +SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*- > e0*,3,*a0,1,*", SYMLINK+="input/touchscreen0" > + > diff --git a/meta-arago-distro/recipes-core/udev/udev_182.bbappend b/meta- > arago-distro/recipes-core/udev/udev_182.bbappend > new file mode 100644 > index 0000000..27bf4da > --- /dev/null > +++ b/meta-arago-distro/recipes-core/udev/udev_182.bbappend > @@ -0,0 +1,8 @@ > +# This fixes an issue with touchscreens not being detected with the > +default # local.rules. This can be removed when this change is picked > +up and # meta-arago switches to Dora > + > +# look for files in this layer first > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > + > +PR_append = "-arago0" > -- > 1.7.0.4 > > _______________________________________________ > meta-arago mailing list > [email protected] > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
