You are not logged in.

#1 2013-03-09 10:30:33

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Laptop screen can't recover from suspend

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

#2 2013-03-09 16:09:34

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 101

Re: Laptop screen can't recover from suspend

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

#3 2013-03-13 10:50:07

Scattenlaeufer
Member
Registered: 2009-04-05
Posts: 17

Re: Laptop screen can't recover from suspend

I have the same problem with my Lenovo X230. Any idea how to fix it?

Offline

#4 2013-03-13 19:45:39

outro_tipo
Member
Registered: 2013-03-08
Posts: 28

Re: Laptop screen can't recover from suspend

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

#5 2013-03-13 20:42:05

Scattenlaeufer
Member
Registered: 2009-04-05
Posts: 17

Re: Laptop screen can't recover from suspend

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

#6 2013-03-14 21:33:35

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 101

Re: Laptop screen can't recover from suspend

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

#7 2013-03-14 21:59:30

Scattenlaeufer
Member
Registered: 2009-04-05
Posts: 17

Re: Laptop screen can't recover from suspend

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

#8 2013-03-18 12:16:04

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 101

Re: Laptop screen can't recover from suspend

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

#9 2013-03-19 08:34:21

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Laptop screen can't recover from suspend

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

#10 2013-03-19 09:08:03

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 801

Re: Laptop screen can't recover from suspend

kellerman wrote:

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

#11 2013-03-19 10:35:09

elkoraco
Member
Registered: 2013-02-18
Posts: 121

Re: Laptop screen can't recover from suspend

vacant wrote:

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

#12 2013-03-24 10:55:25

Harkonnen
Member
Registered: 2013-03-24
Posts: 3

Re: Laptop screen can't recover from suspend

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

#13 2013-03-25 20:23:12

outro_tipo
Member
Registered: 2013-03-08
Posts: 28

Re: Laptop screen can't recover from suspend

did someone tried it with the new update 3.8.4?

Offline

#14 2013-03-25 21:40:04

elkoraco
Member
Registered: 2013-02-18
Posts: 121

Re: Laptop screen can't recover from suspend

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

#15 2013-03-26 06:13:08

ggu2
Member
Registered: 2013-03-26
Posts: 1

Re: Laptop screen can't recover from suspend

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

#16 2013-03-31 16:56:15

0112358
Member
Registered: 2012-04-09
Posts: 29

Re: Laptop screen can't recover from suspend

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

#17 2013-03-31 19:39:38

Argus
Member
Registered: 2012-12-30
Posts: 10

Re: Laptop screen can't recover from suspend

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

#18 2013-04-01 03:50:40

0112358
Member
Registered: 2012-04-09
Posts: 29

Re: Laptop screen can't recover from suspend

Seems to work; thanks Argus.

Offline

#19 2013-04-01 23:04:37

Br1
Member
From: Italy
Registered: 2013-04-01
Posts: 6

Re: Laptop screen can't recover from suspend

Argus wrote:

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

#20 2013-04-04 12:33:30

elkoraco
Member
Registered: 2013-02-18
Posts: 121

Re: Laptop screen can't recover from suspend

Fixed in 3.8.5

Offline

#21 2013-04-04 12:59:42

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Laptop screen can't recover from suspend

I confirm that 3.8.5 fixes the problem for me too.

Offline

#22 2013-04-04 13:04:29

sigo
Member
From: belgium
Registered: 2011-03-18
Posts: 11

Re: Laptop screen can't recover from suspend

not for my sad

$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

#23 2013-04-07 20:41:30

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 101

Re: Laptop screen can't recover from suspend

benob wrote:

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

#24 2013-04-12 05:29:49

R_Rios
Member
From: Brazil
Registered: 2009-09-22
Posts: 13

Re: Laptop screen can't recover from suspend

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

#25 2013-05-01 20:01:05

R_Rios
Member
From: Brazil
Registered: 2009-09-22
Posts: 13

Re: Laptop screen can't recover from suspend

Seems to be fixed in 3.9.

Offline

Board footer

Powered by FluxBB