On Wed, Jan 7, 2009 at 8:29 AM, Momesso Andrea <[email protected]> wrote: > I'd like to make the file /sys/class/backlight/asus-laptop/brightness > writeable for users, so that I don't need to be root anymore to change > the brightness. > > Of course I can chown or chmod ot in local.start but I'm asking if there > is a cleaner way.
I guess you need to use udevinfo to get the important information about /sys/class/backlight/asus-laptop/brightness and then write up a rule, slap it into a file in /etc/udev/rules.d/ and enjoy your new permissions. :) I don't have that device on my system so I can't really suggest anything more specific. Here's a udev rules HOWTO that might help: http://www.reactivated.net/writing_udev_rules.html (specifically "Controlling permissions and ownership") Good luck :) Paul

