All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER
@ 2017-02-12 15:25 Yusuke Mitsuki
  2017-02-16  1:45 ` Andrei Gherzan
  0 siblings, 1 reply; 6+ messages in thread
From: Yusuke Mitsuki @ 2017-02-12 15:25 UTC (permalink / raw)
  To: yocto

In order to fix problem that mouse does not work.

This is removed c40558173ffd96c499d101155f6c4c2be85d9f0f.
However mouse does not worked from this.
---
 conf/machine/include/rpi-base.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index e069e70..051c717 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -11,6 +11,7 @@ XSERVER = " \
     xserver-xorg \
     ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xserver-xorg-extension-glx", "", d)} \
     ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
+    xf86-input-evdev \
     "
 
 KERNEL_DEVICETREE ?= " \
-- 
2.7.4



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

* Re: [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER
  2017-02-12 15:25 [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER Yusuke Mitsuki
@ 2017-02-16  1:45 ` Andrei Gherzan
  2017-02-16  2:14   ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Andrei Gherzan @ 2017-02-16  1:45 UTC (permalink / raw)
  To: Yusuke Mitsuki; +Cc: yocto

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

On Mon, Feb 13, 2017 at 12:25:48AM +0900, Yusuke Mitsuki wrote:
> In order to fix problem that mouse does not work.
>
> This is removed c40558173ffd96c499d101155f6c4c2be85d9f0f.
> However mouse does not worked from this.
> ---
>  conf/machine/include/rpi-base.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
> index e069e70..051c717 100644
> --- a/conf/machine/include/rpi-base.inc
> +++ b/conf/machine/include/rpi-base.inc
> @@ -11,6 +11,7 @@ XSERVER = " \
>      xserver-xorg \
>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xserver-xorg-extension-glx", "", d)} \
>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
> +    xf86-input-evdev \
>      "
>
>  KERNEL_DEVICETREE ?= " \
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

CC-ing schnitzeltony@googlemail.com as he might have an opinion about
this. I personally don't really hold on any of the options.

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan

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

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

* Re: [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER
  2017-02-16  1:45 ` Andrei Gherzan
@ 2017-02-16  2:14   ` Gary Thomas
  2017-02-16  7:37     ` Jussi Kukkonen
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2017-02-16  2:14 UTC (permalink / raw)
  To: yocto

On 2017-02-16 02:45, Andrei Gherzan wrote:
> On Mon, Feb 13, 2017 at 12:25:48AM +0900, Yusuke Mitsuki wrote:
>> In order to fix problem that mouse does not work.
>>
>> This is removed c40558173ffd96c499d101155f6c4c2be85d9f0f.
>> However mouse does not worked from this.
>> ---
>>  conf/machine/include/rpi-base.inc | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
>> index e069e70..051c717 100644
>> --- a/conf/machine/include/rpi-base.inc
>> +++ b/conf/machine/include/rpi-base.inc
>> @@ -11,6 +11,7 @@ XSERVER = " \
>>      xserver-xorg \
>>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xserver-xorg-extension-glx", "", d)} \
>>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
>> +    xf86-input-evdev \
>>      "
>>
>>  KERNEL_DEVICETREE ?= " \
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
> CC-ing schnitzeltony@googlemail.com as he might have an opinion about
> this. I personally don't really hold on any of the options.

I think it's the right thing to do, in fact, I was preparing a
similar patch myself.  The change that removed this argued that
it was not the responsibility of the BSP layer, but if you look
around at other BSP layers, almost all of them do include this
driver as part of their X server setup.  It also lets X work
again on the RaspberryPi "out of the box" with the simplest
configuration - HDMI display + USB keyboard & mouse.

+1


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


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

* Re: [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER
  2017-02-16  2:14   ` Gary Thomas
@ 2017-02-16  7:37     ` Jussi Kukkonen
  2017-02-16  7:48       ` Gary Thomas
  2017-02-16  7:57       ` Andreas Müller
  0 siblings, 2 replies; 6+ messages in thread
From: Jussi Kukkonen @ 2017-02-16  7:37 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

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

On 16 February 2017 at 04:14, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2017-02-16 02:45, Andrei Gherzan wrote:
>
>> On Mon, Feb 13, 2017 at 12:25:48AM +0900, Yusuke Mitsuki wrote:
>>
>>> In order to fix problem that mouse does not work.
>>>
>>> This is removed c40558173ffd96c499d101155f6c4c2be85d9f0f.
>>> However mouse does not worked from this.
>>> ---
>>>  conf/machine/include/rpi-base.inc | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/conf/machine/include/rpi-base.inc
>>> b/conf/machine/include/rpi-base.inc
>>> index e069e70..051c717 100644
>>> --- a/conf/machine/include/rpi-base.inc
>>> +++ b/conf/machine/include/rpi-base.inc
>>> @@ -11,6 +11,7 @@ XSERVER = " \
>>>      xserver-xorg \
>>>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics",
>>> "xserver-xorg-extension-glx", "", d)} \
>>>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics",
>>> "xf86-video-modesetting", "xf86-video-fbdev", d)} \
>>> +    xf86-input-evdev \
>>>      "
>>>
>>>  KERNEL_DEVICETREE ?= " \
>>> --
>>> 2.7.4
>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>> CC-ing schnitzeltony@googlemail.com as he might have an opinion about
>> this. I personally don't really hold on any of the options.
>>
>
> I think it's the right thing to do, in fact, I was preparing a
> similar patch myself.  The change that removed this argued that
> it was not the responsibility of the BSP layer, but if you look
> around at other BSP layers, almost all of them do include this
> driver as part of their X server setup.  It also lets X work
> again on the RaspberryPi "out of the box" with the simplest
> configuration - HDMI display + USB keyboard & mouse.
>
> +1


Out of interest: Why is xf86-input-libinput not appropriate for these
setups? I honestly did not know of a use case where -evdev would work but
-libinput would not...

Jussi

[-- Attachment #2: Type: text/html, Size: 3200 bytes --]

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

* Re: [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER
  2017-02-16  7:37     ` Jussi Kukkonen
@ 2017-02-16  7:48       ` Gary Thomas
  2017-02-16  7:57       ` Andreas Müller
  1 sibling, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2017-02-16  7:48 UTC (permalink / raw)
  To: Jussi Kukkonen; +Cc: Yocto Project

On 2017-02-16 08:37, Jussi Kukkonen wrote:
> On 16 February 2017 at 04:14, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
>     On 2017-02-16 02:45, Andrei Gherzan wrote:
>
>         On Mon, Feb 13, 2017 at 12:25:48AM +0900, Yusuke Mitsuki wrote:
>
>             In order to fix problem that mouse does not work.
>
>             This is removed c40558173ffd96c499d101155f6c4c2be85d9f0f.
>             However mouse does not worked from this.
>             ---
>              conf/machine/include/rpi-base.inc | 1 +
>              1 file changed, 1 insertion(+)
>
>             diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
>             index e069e70..051c717 100644
>             --- a/conf/machine/include/rpi-base.inc
>             +++ b/conf/machine/include/rpi-base.inc
>             @@ -11,6 +11,7 @@ XSERVER = " \
>                  xserver-xorg \
>                  ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xserver-xorg-extension-glx", "", d)} \
>                  ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
>             +    xf86-input-evdev \
>                  "
>
>              KERNEL_DEVICETREE ?= " \
>             --
>             2.7.4
>
>             --
>             _______________________________________________
>             yocto mailing list
>             yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>             https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto>
>
>
>         CC-ing schnitzeltony@googlemail.com <mailto:schnitzeltony@googlemail.com> as he might have an opinion about
>         this. I personally don't really hold on any of the options.
>
>
>     I think it's the right thing to do, in fact, I was preparing a
>     similar patch myself.  The change that removed this argued that
>     it was not the responsibility of the BSP layer, but if you look
>     around at other BSP layers, almost all of them do include this
>     driver as part of their X server setup.  It also lets X work
>     again on the RaspberryPi "out of the box" with the simplest
>     configuration - HDMI display + USB keyboard & mouse.
>
>     +1
>
>
> Out of interest: Why is xf86-input-libinput not appropriate for these setups? I honestly did not know of a use case
> where -evdev would work but -libinput would not...

I'm not sure (and I don't have a setup right now to test).  I've always
used -evdev as that was the recommended driver for many years now.

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


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

* Re: [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER
  2017-02-16  7:37     ` Jussi Kukkonen
  2017-02-16  7:48       ` Gary Thomas
@ 2017-02-16  7:57       ` Andreas Müller
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Müller @ 2017-02-16  7:57 UTC (permalink / raw)
  To: Jussi Kukkonen; +Cc: Yocto Project, Gary Thomas

On Thu, Feb 16, 2017 at 8:37 AM, Jussi Kukkonen
<jussi.kukkonen@intel.com> wrote:
> On 16 February 2017 at 04:14, Gary Thomas <gary@mlbassoc.com> wrote:
>>
>> On 2017-02-16 02:45, Andrei Gherzan wrote:
>>>
>>> On Mon, Feb 13, 2017 at 12:25:48AM +0900, Yusuke Mitsuki wrote:
>>>>
>>>> In order to fix problem that mouse does not work.
>>>>
>>>> This is removed c40558173ffd96c499d101155f6c4c2be85d9f0f.
>>>> However mouse does not worked from this.
>>>> ---
>>>>  conf/machine/include/rpi-base.inc | 1 +
>>>>  1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/conf/machine/include/rpi-base.inc
>>>> b/conf/machine/include/rpi-base.inc
>>>> index e069e70..051c717 100644
>>>> --- a/conf/machine/include/rpi-base.inc
>>>> +++ b/conf/machine/include/rpi-base.inc
>>>> @@ -11,6 +11,7 @@ XSERVER = " \
>>>>      xserver-xorg \
>>>>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics",
>>>> "xserver-xorg-extension-glx", "", d)} \
>>>>      ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics",
>>>> "xf86-video-modesetting", "xf86-video-fbdev", d)} \
>>>> +    xf86-input-evdev \
>>>>      "
>>>>
>>>>  KERNEL_DEVICETREE ?= " \
>>>> --
>>>> 2.7.4
>>>>
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>>
>>> CC-ing schnitzeltony@googlemail.com as he might have an opinion about
>>> this. I personally don't really hold on any of the options.
>>
>>
>> I think it's the right thing to do, in fact, I was preparing a
>> similar patch myself.  The change that removed this argued that
>> it was not the responsibility of the BSP layer, but if you look
>> around at other BSP layers, almost all of them do include this
>> driver as part of their X server setup.  It also lets X work
>> again on the RaspberryPi "out of the box" with the simplest
>> configuration - HDMI display + USB keyboard & mouse.
>>
>> +1
>
>
> Out of interest: Why is xf86-input-libinput not appropriate for these
> setups? I honestly did not know of a use case where -evdev would work but
> -libinput would not...
>
I would have asked the same question. When preferring -libinput it
might be a good idea to remove
recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-evdev.conf

Andreas


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

end of thread, other threads:[~2017-02-16  7:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-12 15:25 [meta-raspberrypi][PATCH] rpi-base.inc: Add xf86-input-evdev to XSERVER Yusuke Mitsuki
2017-02-16  1:45 ` Andrei Gherzan
2017-02-16  2:14   ` Gary Thomas
2017-02-16  7:37     ` Jussi Kukkonen
2017-02-16  7:48       ` Gary Thomas
2017-02-16  7:57       ` Andreas Müller

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.