On Sat, Apr 07, 2012 at 07:23:44PM -0500, Bruce Dubbs wrote:
>
> In mesa, I see three places that use card0. They are all of the form
> fd = open("/dev/dri/card0", O_RDWR);
>
> I see in rules.d/50-udev-default.rules an entry
> SUBSYSTEM=="drm", GROUP="video"
>
> The default udev permissions is 0660. I think a rule in 55-lfs.rules like:
>
> SUBSYSTEM=="drm", MODE="0666"
>
> may work.
>
> -- Bruce
>
OK, so it's udev rather than Mesa that determines the group name.
But, in all current LFS builds we *don't* have such a rule. To me,
it seems more reliable to add users to the video group. After all,
we've defined that group for a long time.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page