View Single Post
Old 03-13-08, 10:32 AM   #9
hharun
Registered User
 
Join Date: Feb 2008
Posts: 2
Default Re: could not open device file /dev/nvidiactl

Thanks for the pointer.

Permission 0666 is not something i'm comfortable with. After playing around, this configuration seems to work:

1) I made a new rule in /etc/udev/rules.d/, call it 51-nvidiaperm.rules (51something because nvidia is set by 50-udev-defaults.rules and it says on that file not to edit it)

KERNEL=="nvidia*|nvidiactl*", NAME="%k"

2) I have a file in /etc/modprobe.d/nvidia
options nvidia NVreg_DeviceFileMode=0660


Question:
In /etc/udev/rules.d/ files, what is the difference between NAME="%k" and NAME="input/%k" ? Both seems to give /dev/nvidia* the same permisision.

Thanks in advance.
hharun is offline   Reply With Quote