Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] /etc/pm/sleep.d/ problem
Date: Sat, 07 Apr 2012 07:48:10
Message-Id: CAN0CFw3Mh5rmOgSNpB3pQNMnWeKRcJ6=eU9tsbKk0rNQZwrVRw@mail.gmail.com
My Dell XPS 13 Ultrabook goes to maximum brightness whenever I close
the top and I have to execute the following command in order to
control the brightness again:

echo 0 > /sys/class/backlight/intel_backlight/brightness

The following script in /etc/pm/sleep.d/ is said to fix the problem:

http://ubuntuforums.org/showpost.php?p=11783826&postcount=40

I created it and made it executable but it doesn't work for me.  Does
anyone know what the problem might be?

- Grant