Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev, dri and ownership/permission problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Vedran
n00b
n00b


Joined: 12 Nov 2004
Posts: 7
Location: Croatia

PostPosted: Fri Nov 12, 2004 9:44 am    Post subject: udev, dri and ownership/permission problem Reply with quote

Hi all!
Got a strange issue (or maybe not understanding udev :oops: ).
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
View user's profile Send private message
DoYouGentooToo
n00b
n00b


Joined: 11 Nov 2004
Posts: 14

PostPosted: Fri Nov 12, 2004 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Vedran
n00b
n00b


Joined: 12 Nov 2004
Posts: 7
Location: Croatia

PostPosted: Mon Nov 15, 2004 8:38 am    Post subject: Reply with quote

Nope that didn't help, but thanks!
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Mon Nov 29, 2004 5:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
MyDyingBride
n00b
n00b


Joined: 01 Dec 2004
Posts: 3

PostPosted: Wed Dec 01, 2004 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vedran
n00b
n00b


Joined: 12 Nov 2004
Posts: 7
Location: Croatia

PostPosted: Thu Dec 02, 2004 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
MyDyingBride
n00b
n00b


Joined: 01 Dec 2004
Posts: 3

PostPosted: Thu Dec 02, 2004 10:17 am    Post subject: Reply with quote

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
View user's profile Send private message
aetius
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2004
Posts: 118

PostPosted: Sat Jan 01, 2005 2:25 pm    Post subject: Reply with quote

Try:

https://bugs.gentoo.org/show_bug.cgi?id=72119
Back to top
View user's profile Send private message
aetius
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2004
Posts: 118

PostPosted: Tue Jan 04, 2005 8:36 pm    Post subject: Reply with quote

See:

https://bugs.gentoo.org/show_bug.cgi?id=72119

and

https://bugs.gentoo.org/show_bug.cgi?id=31877

That might help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum