[Bug 451282] Re: display is fully dimmed after resume from suspend

Velitchko Filipov 451282 at bugs.launchpad.net
Tue Sep 7 09:59:33 UTC 2010


velitchko at VELITCHKO-PC:~$ find /sys/ -iname '*bright*'
/sys/devices/virtual/leds/hp::hddprotect/brightness
/sys/devices/virtual/leds/hp::hddprotect/max_brightness
/sys/devices/virtual/backlight/acpi_video0/brightness
/sys/devices/virtual/backlight/acpi_video0/actual_brightness
/sys/devices/virtual/backlight/acpi_video0/max_brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::radio/brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::radio/max_brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::assoc/brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::assoc/max_brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::RX/brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::RX/max_brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::TX/brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/iwl-phy0::TX/max_brightness
/sys/devices/pci0000:00/0000:00:1e.0/0000:86:09.1/leds/mmc0::/brightness
/sys/devices/pci0000:00/0000:00:1e.0/0000:86:09.1/leds/mmc0::/max_brightness
/sys/module/video/parameters/brightness_switch_enabled

and my rc.local file looks like this


#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
brt=`cat /sys/devices/virtual/backlight/acpi_video0/brightness`
abrt=`cat /sys/devices/virtual/backlight/acpi_video0/actual_brightness`
if (( $brt != $abrt )) ; then
echo $abrt > /sys/devices/virtual/backlight/acpi_video0/brightness
fi


but the problem is that the display is still dim after reloging from hibernate or suspend.
Does anyone have any ideas?

-- 
display is fully dimmed after resume from suspend
https://bugs.launchpad.net/bugs/451282
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list