[meta-freescale] [meta-fsl-arm][PATCH v2] udev-extraconf: allow all users to use gpu

Andreas Müller schnitzeltony at googlemail.com
Tue Nov 25 04:02:08 PST 2014


On Fri, Nov 21, 2014 at 5:47 PM, Alexander Shashkevych <alex at stunpix.com> wrote:
> Users other than root can't use gpu due to permission restrictions of
> /dev/galcore device.
> This change adds permissions to galcore device for all users.
>
> Signed-off-by: Alexander Shashkevich <alex at stunpix.com>
> ---
>  recipes-core/udev/udev-extraconf/10-imx.rules | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes-core/udev/udev-extraconf/10-imx.rules
> b/recipes-core/udev/udev-extraconf/10-imx.rules
> index 1fc32dc..202bf04 100644
> --- a/recipes-core/udev/udev-extraconf/10-imx.rules
> +++ b/recipes-core/udev/udev-extraconf/10-imx.rules
> @@ -22,3 +22,4 @@ KERNEL=="fb2",      MODE="0666"
>  KERNEL=="mxc_vpu",  MODE="0666"
>  SUBSYSTEM=="video", MODE="0666"
>  KERNEL=="gsl_kmod", MODE="0666"
> +KERNEL=="galcore",  MODE="0666"
> --
> 1.9.1
> --
This patch was applied and I have some questions:

1. Do we really want to keep udev-extaconf breaker?
2. Allow all users? Note that /dev/dri/card0 has root:video as
read/write accessors

I have sent a different patch series [1-2] addressing these issues -
they were not applies for 'better ideas'...

Andreas

[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2014-November/011390.html
[2] https://lists.yoctoproject.org/pipermail/meta-freescale/2014-November/011388.html


More information about the meta-freescale mailing list