You are not logged in.
I hope it's in the right category...
After waking up notebook from suspend in Gnome (I didn't try it in KDE), the brightness is at its full. Normally, it is set to like 30%. Any ideas why is brightness full after awaking and how to make it to keep the brightness as it was before suspending?
Thanks
Offline
You should maybe check out acpi and laptop-mode-tools.
Offline
Hm, that is interesting. I had ACPI installed. Then, I installed acpid and added acpid to the daemons in /etc/rc.conf. But that didn't fix the issue. I even tried to change brightness settings in Gnome but that didn't help either. I also tried to fix the issue according to Wiki entry in acpid. It did not work.
If it helps, I'm pasting my /etc/acpi/handler.sh:
#!/bin/sh
# Default acpi script that takes an entry for all actions
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
# modify it to not use /sys
minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
set $*
case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PBTN|PWRF) logger "PowerButton pressed: $2" ;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
button/sleep)
case "$2" in
SLPB) echo -n mem >/sys/power/state ;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
;;
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
;;
esac
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
battery)
case "$2" in
BAT0)
case "$4" in
00000000) #echo "offline" >/dev/tty5
;;
00000001) #echo "online" >/dev/tty5
;;
esac
;;
CPU0)
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
button/lid)
#echo "LID switched!">/dev/tty5
;;
*)
logger "ACPI group/action undefined: $1 / $2"
;;
esac
Offline
I have acpi and acpid installed and still, the problem is there... I don't see much point in installing laptop-mode-tools since I do not want to use them.
BTW, the same problem is in KDE too, so I guess it's DE independent.
Offline