You are not logged in.
I installed `acpid` and enabled it via systemd as a superuser. When I close the laptop, it goes to suspend. The problem is that when I open it, it comes back w/o screen turning on. How can I fix it?
I went throught few pages in the wiki, but it says that supend should work out of the box. I'm willing to to fix, but how!
Laptop model is _Dell Inspiron 15R SE_ and here's the output of `lspci` command.
[dagrevis@haze ~]$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series]
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 07)
08:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
P.S. If I enable something via `systemctl`, will it be enabled after I reboot?
Offline
Ja rakstīsi systemctl enable <serviss> tad viņš palaidīsies pie sistēmas starta. Pamēģini paregulēt screen brightnesu ar pogām, man, piemēram, kad dators atmostās brightness nez kāpēc ir uz 0 (man noklusētā ir inteļa karte, skatos, ka tev ir arī AMD karte). Man kodols 3.8.2-1 un šitā problēma nesen parādījās, citus video draiverus vari pamēģināt (compat-drivers-patched), bet tā paka uzliekot i915 man vispār nokrešo X serveri.
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630M] (rev a1)
For others:
This might be because the screen brightness is set to zero immediately after sleep or before sleep for intel cards (happens to me)
Last edited by kellerman (2013-03-09 16:34:13)
Offline
I have the same problem with my Lenovo X230. Any idea how to fix it?
Offline
i run arch with only openbox and before i had a login manager when my computer got back from suspend the screen was as if it was still suspended but it actualy wasnt and by typing my passward it went back to openbox. i dont really know if this helps but it may so i posted this anyway.
Offline
No, I am pretty sure, that the display light is set to zero since when I change the brightness, the display is back on working. But I think that is a little bit annoying, so I would be very happy if anyone could tell me how to fix it.
Offline
Well I've added this to my kernel line
acpi_osi=Linux
This gets the brightness buttons to work. Still XFCE brightness plugin doesn't work.
I guess if this line is not added, there won't be problems with wakeup??? maybe...
Offline
To make my brightness buttons work, I added
acpi_backlight=vendor
to my kernel line, and that also seems to cause the problem, since once I remove it, the problem disappears and the screen is back in its original brightness from before suspend but on the downside the brightness buttons don't work.
So anyone a Idea how to fix it?
Offline
There is no fix as far as I know. This might be this issue https://bbs.archlinux.org/viewtopic.php?id=157263
The brightness can still be controllable when you add this parameter. I prefer this way, tapping once at the bightness keys isn't so hard after suspend.
Offline
OP back. Brightness works (didn't work when I installed Linux), but after recovering from suspend and trying to press my custom-binded buttons (xmonad WM) to control brightness — nothing happens.
I'm not at home tight now, but later I will post by kernel params and how I binded those brightness buttons.
Offline
tapping once at the bightness keys isn't so hard after suspend.
I don't know why, but suspend on my Acer 5742Z was working fine until a couple of days ago (acpid update?). Anyway, systemd handles suspend so I added the "976" line, and added "acpi_osi=Linux" to my boot line. I'd never previously used brightness control.
cat /usr/lib/systemd/system-sleep/lockscreen.sh
#!/bin/sh
case "$1" in
pre )
;;
post )
hdparm -q -S12 -q -B254 /dev/sda
DISPLAY=:0.0 su paul -c "/usr/bin/slock"
echo "976" > /sys/class/backlight/intel_backlight/brightness
;;
esac
Offline
I don't know why, but suspend on my Acer 5742Z was working fine until a couple of days ago (acpid update?).
Kernel update on my part, I don't even have acpid installed. I'm booting with acpi_osi=linux acpi_backlight=vendor on an i3 HD3000 chip (HP ProBook 4530s). With kernel 3.7.10 there are no problems, with 3.8.2 I'm having the same problems described here. I downgraded the kernel, it works without a hitch. Then I read this thread, upgraded to 3.8.2 again, and all I have to do is tap the brightness key once for my screen to come back after suspend.
I'll dick around with boot parameters when I have some more time, I'm pretty busy right now. It's probably something to do with the Intel driver. As it stands now, I need the boot parameters in order for my system to do some screen powersave magic without me hacking at suspend scripts. This is all on Gnome, with the Gnome power manager.
Will get back to you with some more info later on.
Offline
I was having the same problem since the last kernel update (3.8.3-2, was in 3.7.5-1 before). My laptop is an ASUS NV56 using i915 for the following card:
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Removing the acpi_backlight=vendor parameter from my kernel line not only solved the issue, but it also enabled my brightness buttons (weren't working before).
Offline
did someone tried it with the new update 3.8.4?
Offline
Yes, still the same. If you remove the acpi_backlight=vendor, it works, but I'm a bit too lazy to fiddle with the correct values for intel-backlight in my powersave script, plus I'm hoping some further update automagically fixes this.
Offline
i had the same issue: after 'systemctl suspend' and resume the suspend, the screen's backlight is off and cannot control with the Fn keys, but the system can response the key hits, so i only can keyin 'reboot' and restart the system.
after i installed the CPU Microcode, i found the issue was solved.
if you not install the microcode, have a try.
Offline
I'm having this problem as well. It appears that since the latest kernel updates my screen brightness is being set to zero when I suspend. When I wake, xscreensaver prompts me for my password but the screen is black. The brightness keys aren't responsive until I log in because they are controlled by Xmonad. The result is that I have to enter my password blind, hope it's been entered correctly, hit enter, and hit brightness up, which is problematic.
Can anyone provide a way to keep the brightness from being set to zero when I suspend/resume?
By the way, I have acpi_backlight=vendor and acpi_osi=linux passed to the kernel. The second seems to have no effect, and removing the first still leaves me with a black screen on resume but disables the brightness keys altogether. My laptop is an HP dv7.
Offline
I have this problem too with the same notebook as the thread starter. I'm currently using a workaround with sleep hooks:
/usr/lib/systemd/sytem-sleep/restorebacklight.sh
--------------------------------------------------------------------------
#!/bin/sh
case $1 in
post)
echo 1000 > /sys/class/backlight/intel_backlight/brightness
;;
esac
Of course you may need to change the location of the brightness file and the value depending on your hardware.
Offline
Seems to work; thanks Argus.
Offline
Of course you may need to change the location of the brightness file and the value depending on your hardware.
it works, thank you !
Offline
Fixed in 3.8.5
Offline
I confirm that 3.8.5 fixes the problem for me too.
Offline
not for my
$lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600M GT] (rev a1)
03:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:09.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:09.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
Offline
I confirm that 3.8.5 fixes the problem for me too.
Same here, now the brightness is set correctly. Can we mark it SOLVED?
3.8.5-1 here.
Last edited by kellerman (2013-04-07 20:41:56)
Offline
3.8.6 here and I confirm that the issue doesn't seem to be fixed. I have a nVidia card and am using the nouveau driver (from extra, I think). Had to downgrade to 3.7.10.
Offline
Seems to be fixed in 3.9.
Offline