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
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:

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

- Grant