View previous topic :: View next topic |
Author |
Message |
Vedran n00b


Joined: 12 Nov 2004 Posts: 7 Location: Croatia
|
Posted: Fri Nov 12, 2004 9:44 am Post subject: udev, dri and ownership/permission problem |
|
|
Hi all!
Got a strange issue (or maybe not understanding udev ).
The graphic card is based on SiS chip on a laptop
and everything related to it is compiled into kernel (not modules).
Well here goes; ownership and permissions of /dev/dri/card0
are NOT as defined in /etc/udev/permissions.d/50-udev.permissions !
The defined ownership/permission parameters are dri/*:root:video:0660
while /dev/dri/card0 has following: root.root 660.
Kernel parameters are video=sisfb:mode:1024x768x16,mem:12288.
I have a user in group video but he still cannot access dri!
Any ideas? |
|
Back to top |
|
 |
DoYouGentooToo n00b

Joined: 11 Nov 2004 Posts: 14
|
Posted: Fri Nov 12, 2004 10:36 am Post subject: |
|
|
It could be due to PAM.
Check for a <dri> entry in /etc/security/console.perms
(in mine it is commented out) |
|
Back to top |
|
 |
Vedran n00b


Joined: 12 Nov 2004 Posts: 7 Location: Croatia
|
Posted: Mon Nov 15, 2004 8:38 am Post subject: |
|
|
Nope that didn't help, but thanks! |
|
Back to top |
|
 |
zojas Veteran


Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Mon Nov 29, 2004 5:31 pm Post subject: |
|
|
I'm having this same problem too. I chgrp'd it by hand for now. hopefully we'll be able to find the real fix. _________________ http://www.desertsol.com/~kevin/ppc |
|
Back to top |
|
 |
MyDyingBride n00b

Joined: 01 Dec 2004 Posts: 3
|
Posted: Wed Dec 01, 2004 6:19 pm Post subject: |
|
|
You do have something like this:
Code: |
Section "DRI"
Group "video"
Mode 0666
EndSection
|
in your /etc/X11/xorg.conf don't you ? |
|
Back to top |
|
 |
Vedran n00b


Joined: 12 Nov 2004 Posts: 7 Location: Croatia
|
Posted: Thu Dec 02, 2004 8:35 am Post subject: |
|
|
Well I think this is something of a legacy workaround.
This works, yes, but why the hell doesn't udev set permissions properly!? |
|
Back to top |
|
 |
MyDyingBride n00b

Joined: 01 Dec 2004 Posts: 3
|
Posted: Thu Dec 02, 2004 10:17 am Post subject: |
|
|
I don't use udev, but only devfs and I noticed if I manually set the correct permissions, they get reset when X is started.
So perhaps udev does set them correctly... |
|
Back to top |
|
 |
aetius Tux's lil' helper

Joined: 09 Jul 2004 Posts: 118
|
|
Back to top |
|
 |
aetius Tux's lil' helper

Joined: 09 Jul 2004 Posts: 118
|
|
Back to top |
|
 |
|