[meta-freescale] [meta-fsl-arm][PATCH v2] udev-extraconf: allow all users to use gpu
Otavio Salvador
otavio at ossystems.com.br
Tue Nov 25 05:01:12 PST 2014
On Tue, Nov 25, 2014 at 10:02 AM, Andreas Müller
<schnitzeltony at googlemail.com> wrote:
> 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
All the ideas I sent I still think are the way to go. I applied it as
several people are having this problem but I still think we ought to
improve it.
Andreas, are you open to rework it and prepare a patchset?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list