All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
@ 2017-02-16 11:49 Andreas Müller
  2017-02-16 13:38 ` Gary Thomas
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Andreas Müller @ 2017-02-16 11:49 UTC (permalink / raw)
  To: yocto

xorg-xserver recommends xf86-input-libinput since oe-core's commit

| commit 2d005faff6341a81a2afae28860101ba9db51ae8
| Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
| Date:   Wed Oct 26 11:37:38 2016 +0300
|
|    conf: Use xf86-input-libinput by default
| ...

As nice side effect warnings for missing evdev in Xorg.0.log are gone.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../rpi/xorg.conf.d/10-evdev.conf                  | 40 ----------------------
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  | 22 ++++++------
 2 files changed, 10 insertions(+), 52 deletions(-)
 delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf

diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
deleted file mode 100644
index cc83ab2..0000000
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Catch-all evdev loader for udev-based systems
-# We don't simply match on any device since that also adds accelerometers
-# and other devices that we don't really want to use. The list below
-# matches everything but joysticks.
-
-Section "InputClass"
-        Identifier "evdev pointer catchall"
-        MatchIsPointer "on"
-        MatchDevicePath "/dev/input/event*"
-        Driver "evdev"
-EndSection
-
-Section "InputClass"
-        Identifier "evdev keyboard catchall"
-        MatchIsKeyboard "on"
-        MatchDevicePath "/dev/input/event*"
-        Driver "evdev"
-EndSection
-
-Section "InputClass"
-        Identifier "evdev touchpad catchall"
-        MatchIsTouchpad "on"
-        MatchDevicePath "/dev/input/event*"
-        Driver "evdev"
-EndSection
-
-Section "InputClass"
-        Identifier "evdev tablet catchall"
-        MatchIsTablet "on"
-        MatchDevicePath "/dev/input/event*"
-        Driver "evdev"
-EndSection
-
-Section "InputClass"
-        Identifier "evdev touchscreen catchall"
-        MatchIsTouchscreen "on"
-        MatchDevicePath "/dev/input/event*"
-        Driver "evdev"
-EndSection
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 062de2d..b361eef 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -1,19 +1,17 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf \
-                       file://xorg.conf.d/98-pitft.conf \
-                       file://xorg.conf.d/99-calibration.conf \
-                     "
+SRC_URI_append_rpi = " \
+    file://xorg.conf.d/98-pitft.conf \
+    file://xorg.conf.d/99-calibration.conf \
+"
 
 do_install_append_rpi () {
-	install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
-	install -m 0644 ${WORKDIR}/xorg.conf.d/10-evdev.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
-
-	PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
-	if [ "${PITFT}" = "1" ]; then
-		install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
-		install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
-	fi
+    PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
+    if [ "${PITFT}" = "1" ]; then
+        install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
+        install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
+        install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
+    fi
 }
 
 FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 11:49 [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration Andreas Müller
@ 2017-02-16 13:38 ` Gary Thomas
  2017-02-16 13:42   ` Andreas Müller
  2017-02-18  7:11 ` Gary Thomas
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2017-02-16 13:38 UTC (permalink / raw)
  To: yocto

On 2017-02-16 12:49, Andreas Müller wrote:
> xorg-xserver recommends xf86-input-libinput since oe-core's commit
>
> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
> | Date:   Wed Oct 26 11:37:38 2016 +0300
> |
> |    conf: Use xf86-input-libinput by default
> | ...
>
> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>

So, does this let my simple config (HDMI+USB keyboard/mouse) work with no
further fiddling?

> ---
>  .../rpi/xorg.conf.d/10-evdev.conf                  | 40 ----------------------
>  .../xorg-xserver/xserver-xf86-config_0.1.bbappend  | 22 ++++++------
>  2 files changed, 10 insertions(+), 52 deletions(-)
>  delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
>
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> deleted file mode 100644
> index cc83ab2..0000000
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -#
> -# Catch-all evdev loader for udev-based systems
> -# We don't simply match on any device since that also adds accelerometers
> -# and other devices that we don't really want to use. The list below
> -# matches everything but joysticks.
> -
> -Section "InputClass"
> -        Identifier "evdev pointer catchall"
> -        MatchIsPointer "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev keyboard catchall"
> -        MatchIsKeyboard "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev touchpad catchall"
> -        MatchIsTouchpad "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev tablet catchall"
> -        MatchIsTablet "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev touchscreen catchall"
> -        MatchIsTouchscreen "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> index 062de2d..b361eef 100644
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> @@ -1,19 +1,17 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf \
> -                       file://xorg.conf.d/98-pitft.conf \
> -                       file://xorg.conf.d/99-calibration.conf \
> -                     "
> +SRC_URI_append_rpi = " \
> +    file://xorg.conf.d/98-pitft.conf \
> +    file://xorg.conf.d/99-calibration.conf \
> +"
>
>  do_install_append_rpi () {
> -	install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
> -	install -m 0644 ${WORKDIR}/xorg.conf.d/10-evdev.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -
> -	PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> -	if [ "${PITFT}" = "1" ]; then
> -		install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -		install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -	fi
> +    PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> +    if [ "${PITFT}" = "1" ]; then
> +        install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
> +        install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> +        install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> +    fi
>  }
>
>  FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
>


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 13:38 ` Gary Thomas
@ 2017-02-16 13:42   ` Andreas Müller
  2017-02-16 13:50     ` Andreas Müller
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Müller @ 2017-02-16 13:42 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Thu, Feb 16, 2017 at 2:38 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2017-02-16 12:49, Andreas Müller wrote:
>>
>> xorg-xserver recommends xf86-input-libinput since oe-core's commit
>>
>> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
>> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
>> | Date:   Wed Oct 26 11:37:38 2016 +0300
>> |
>> |    conf: Use xf86-input-libinput by default
>> | ...
>>
>> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
>>
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>
>
> So, does this let my simple config (HDMI+USB keyboard/mouse) work with no
> further fiddling?
>
>
>> ---
>>  .../rpi/xorg.conf.d/10-evdev.conf                  | 40
>> ----------------------
>>  .../xorg-xserver/xserver-xf86-config_0.1.bbappend  | 22 ++++++------
>>  2 files changed, 10 insertions(+), 52 deletions(-)
>>  delete mode 100644
>> recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
>>
>> diff --git
>> a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
>> b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
>> deleted file mode 100644
>> index cc83ab2..0000000
>> ---
>> a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
>> +++ /dev/null
>> @@ -1,40 +0,0 @@
>> -#
>> -# Catch-all evdev loader for udev-based systems
>> -# We don't simply match on any device since that also adds accelerometers
>> -# and other devices that we don't really want to use. The list below
>> -# matches everything but joysticks.
>> -
>> -Section "InputClass"
>> -        Identifier "evdev pointer catchall"
>> -        MatchIsPointer "on"
>> -        MatchDevicePath "/dev/input/event*"
>> -        Driver "evdev"
>> -EndSection
>> -
>> -Section "InputClass"
>> -        Identifier "evdev keyboard catchall"
>> -        MatchIsKeyboard "on"
>> -        MatchDevicePath "/dev/input/event*"
>> -        Driver "evdev"
>> -EndSection
>> -
>> -Section "InputClass"
>> -        Identifier "evdev touchpad catchall"
>> -        MatchIsTouchpad "on"
>> -        MatchDevicePath "/dev/input/event*"
>> -        Driver "evdev"
>> -EndSection
>> -
>> -Section "InputClass"
>> -        Identifier "evdev tablet catchall"
>> -        MatchIsTablet "on"
>> -        MatchDevicePath "/dev/input/event*"
>> -        Driver "evdev"
>> -EndSection
>> -
>> -Section "InputClass"
>> -        Identifier "evdev touchscreen catchall"
>> -        MatchIsTouchscreen "on"
>> -        MatchDevicePath "/dev/input/event*"
>> -        Driver "evdev"
>> -EndSection
>> diff --git
>> a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> index 062de2d..b361eef 100644
>> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>> @@ -1,19 +1,17 @@
>>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>
>> -SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf \
>> -                       file://xorg.conf.d/98-pitft.conf \
>> -                       file://xorg.conf.d/99-calibration.conf \
>> -                     "
>> +SRC_URI_append_rpi = " \
>> +    file://xorg.conf.d/98-pitft.conf \
>> +    file://xorg.conf.d/99-calibration.conf \
>> +"
>>
>>  do_install_append_rpi () {
>> -       install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
>> -       install -m 0644 ${WORKDIR}/xorg.conf.d/10-evdev.conf
>> ${D}/${sysconfdir}/X11/xorg.conf.d/
>> -
>> -       PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0",
>> d)}"
>> -       if [ "${PITFT}" = "1" ]; then
>> -               install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf
>> ${D}/${sysconfdir}/X11/xorg.conf.d/
>> -               install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf
>> ${D}/${sysconfdir}/X11/xorg.conf.d/
>> -       fi
>> +    PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0",
>> d)}"
>> +    if [ "${PITFT}" = "1" ]; then
>> +        install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
>> +        install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf
>> ${D}/${sysconfdir}/X11/xorg.conf.d/
>> +        install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf
>> ${D}/${sysconfdir}/X11/xorg.conf.d/
>> +    fi
>>  }
>>
>>  FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf
>> ${sysconfdir}/X11/xorg.conf.d/*"
>>
>
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 13:42   ` Andreas Müller
@ 2017-02-16 13:50     ` Andreas Müller
  2017-02-16 13:54       ` Andreas Müller
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Müller @ 2017-02-16 13:50 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Thu, Feb 16, 2017 at 2:42 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Thu, Feb 16, 2017 at 2:38 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2017-02-16 12:49, Andreas Müller wrote:
>>>
>>> xorg-xserver recommends xf86-input-libinput since oe-core's commit
>>>
>>> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
>>> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
>>> | Date:   Wed Oct 26 11:37:38 2016 +0300
>>> |
>>> |    conf: Use xf86-input-libinput by default
>>> | ...
>>>
>>> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
>>>
>>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>>
>>
>> So, does this let my simple config (HDMI+USB keyboard/mouse) work with no
>> further fiddling?
As far as I remember you are using an elder release. To be honest: I
don't know if and what oe-core suggests ifo nput driver for elder
environments.

In my environment I do simply nothing but follow oe-core with
xf86-input-libinput recommendation and whatever I have connected so
far by USB (mouse/touchscreen/keyboard) it simply worked.

Andreas


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 13:50     ` Andreas Müller
@ 2017-02-16 13:54       ` Andreas Müller
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Müller @ 2017-02-16 13:54 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Thu, Feb 16, 2017 at 2:50 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Thu, Feb 16, 2017 at 2:42 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> On Thu, Feb 16, 2017 at 2:38 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>>> On 2017-02-16 12:49, Andreas Müller wrote:
>>>>
>>>> xorg-xserver recommends xf86-input-libinput since oe-core's commit
>>>>
>>>> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
>>>> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
>>>> | Date:   Wed Oct 26 11:37:38 2016 +0300
>>>> |
>>>> |    conf: Use xf86-input-libinput by default
>>>> | ...
>>>>
>>>> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
>>>>
>>>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>>>
>>>
>>> So, does this let my simple config (HDMI+USB keyboard/mouse) work with no
>>> further fiddling?
> As far as I remember you are using an elder release. To be honest: I
the following
> don't know if and what oe-core suggests ifo nput driver for elder
should be
don't know if and what oe-core suggests for input driver on elder
> environments.
>
> In my environment I do simply nothing but follow oe-core with
> xf86-input-libinput recommendation and whatever I have connected so
> far by USB (mouse/touchscreen/keyboard) it simply worked.
>
> Andreas


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 11:49 [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration Andreas Müller
  2017-02-16 13:38 ` Gary Thomas
@ 2017-02-18  7:11 ` Gary Thomas
  2017-03-11  1:44 ` Khem Raj
  2017-03-21 16:41 ` Andrei Gherzan
  3 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2017-02-18  7:11 UTC (permalink / raw)
  To: yocto

On 2017-02-16 12:49, Andreas Müller wrote:
> xorg-xserver recommends xf86-input-libinput since oe-core's commit
>
> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
> | Date:   Wed Oct 26 11:37:38 2016 +0300
> |
> |    conf: Use xf86-input-libinput by default
> | ...
>
> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>

Indeed, this lets the X server work again without the need for xf86-input-evdev

Thanks

> ---
>  .../rpi/xorg.conf.d/10-evdev.conf                  | 40 ----------------------
>  .../xorg-xserver/xserver-xf86-config_0.1.bbappend  | 22 ++++++------
>  2 files changed, 10 insertions(+), 52 deletions(-)
>  delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
>
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> deleted file mode 100644
> index cc83ab2..0000000
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -#
> -# Catch-all evdev loader for udev-based systems
> -# We don't simply match on any device since that also adds accelerometers
> -# and other devices that we don't really want to use. The list below
> -# matches everything but joysticks.
> -
> -Section "InputClass"
> -        Identifier "evdev pointer catchall"
> -        MatchIsPointer "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev keyboard catchall"
> -        MatchIsKeyboard "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev touchpad catchall"
> -        MatchIsTouchpad "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev tablet catchall"
> -        MatchIsTablet "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev touchscreen catchall"
> -        MatchIsTouchscreen "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> index 062de2d..b361eef 100644
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> @@ -1,19 +1,17 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf \
> -                       file://xorg.conf.d/98-pitft.conf \
> -                       file://xorg.conf.d/99-calibration.conf \
> -                     "
> +SRC_URI_append_rpi = " \
> +    file://xorg.conf.d/98-pitft.conf \
> +    file://xorg.conf.d/99-calibration.conf \
> +"
>
>  do_install_append_rpi () {
> -	install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
> -	install -m 0644 ${WORKDIR}/xorg.conf.d/10-evdev.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -
> -	PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> -	if [ "${PITFT}" = "1" ]; then
> -		install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -		install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -	fi
> +    PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> +    if [ "${PITFT}" = "1" ]; then
> +        install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
> +        install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> +        install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> +    fi
>  }
>
>  FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
>


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 11:49 [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration Andreas Müller
  2017-02-16 13:38 ` Gary Thomas
  2017-02-18  7:11 ` Gary Thomas
@ 2017-03-11  1:44 ` Khem Raj
  2017-03-21 16:41 ` Andrei Gherzan
  3 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2017-03-11  1:44 UTC (permalink / raw)
  To: yocto



On 2/16/17 3:49 AM, Andreas Müller wrote:
> xorg-xserver recommends xf86-input-libinput since oe-core's commit
> 
> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
> | Date:   Wed Oct 26 11:37:38 2016 +0300
> |
> |    conf: Use xf86-input-libinput by default
> | ...
> 
> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
> 

Will test out sato image over weekend. with this patch

> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  .../rpi/xorg.conf.d/10-evdev.conf                  | 40 ----------------------
>  .../xorg-xserver/xserver-xf86-config_0.1.bbappend  | 22 ++++++------
>  2 files changed, 10 insertions(+), 52 deletions(-)
>  delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> 
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> deleted file mode 100644
> index cc83ab2..0000000
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -#
> -# Catch-all evdev loader for udev-based systems
> -# We don't simply match on any device since that also adds accelerometers
> -# and other devices that we don't really want to use. The list below
> -# matches everything but joysticks.
> -
> -Section "InputClass"
> -        Identifier "evdev pointer catchall"
> -        MatchIsPointer "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev keyboard catchall"
> -        MatchIsKeyboard "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev touchpad catchall"
> -        MatchIsTouchpad "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev tablet catchall"
> -        MatchIsTablet "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> -
> -Section "InputClass"
> -        Identifier "evdev touchscreen catchall"
> -        MatchIsTouchscreen "on"
> -        MatchDevicePath "/dev/input/event*"
> -        Driver "evdev"
> -EndSection
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> index 062de2d..b361eef 100644
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> @@ -1,19 +1,17 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
> -SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf \
> -                       file://xorg.conf.d/98-pitft.conf \
> -                       file://xorg.conf.d/99-calibration.conf \
> -                     "
> +SRC_URI_append_rpi = " \
> +    file://xorg.conf.d/98-pitft.conf \
> +    file://xorg.conf.d/99-calibration.conf \
> +"
>  
>  do_install_append_rpi () {
> -	install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
> -	install -m 0644 ${WORKDIR}/xorg.conf.d/10-evdev.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -
> -	PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> -	if [ "${PITFT}" = "1" ]; then
> -		install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -		install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> -	fi
> +    PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> +    if [ "${PITFT}" = "1" ]; then
> +        install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
> +        install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> +        install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
> +    fi
>  }
>  
>  FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration
  2017-02-16 11:49 [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration Andreas Müller
                   ` (2 preceding siblings ...)
  2017-03-11  1:44 ` Khem Raj
@ 2017-03-21 16:41 ` Andrei Gherzan
  3 siblings, 0 replies; 8+ messages in thread
From: Andrei Gherzan @ 2017-03-21 16:41 UTC (permalink / raw)
  To: Andreas Müller; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

On Thu, Feb 16, 2017 at 12:49:01PM +0100, Andreas Müller wrote:
> xorg-xserver recommends xf86-input-libinput since oe-core's commit
>
> | commit 2d005faff6341a81a2afae28860101ba9db51ae8
> | Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
> | Date:   Wed Oct 26 11:37:38 2016 +0300
> |
> |    conf: Use xf86-input-libinput by default
> | ...
>
> As nice side effect warnings for missing evdev in Xorg.0.log are gone.
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>

Merged to master as part if Khem's PR.
--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-21 16:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 11:49 [meta-raspberrypi][PATCH] xserver-xf86-config: remove evdev configuration Andreas Müller
2017-02-16 13:38 ` Gary Thomas
2017-02-16 13:42   ` Andreas Müller
2017-02-16 13:50     ` Andreas Müller
2017-02-16 13:54       ` Andreas Müller
2017-02-18  7:11 ` Gary Thomas
2017-03-11  1:44 ` Khem Raj
2017-03-21 16:41 ` Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.