Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#42961 - [linux] My laptop can not suspend when I close the lid
Attached to Project:
Arch Linux
Opened by Stephen (httpe) - Sunday, 30 November 2014, 09:37 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 17 October 2017, 02:37 GMT
Opened by Stephen (httpe) - Sunday, 30 November 2014, 09:37 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 17 October 2017, 02:37 GMT
|
DetailsDescription:
Hi, my laptop can not suspend when I close the lid, but 'systemctl suspend' work well. I have not installed a desktop environment, just a i3 window manager. I have installed the 'acpid' and edited the /etc/acpi/handler.sh as follow, but it doesn't work. The log from 'journalctl -f' when I close the lid are shown below. It told me to report a bug:) I am using kernel 'Additional info:3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux' and all packages are up-to-date. Many thanks! /etc/acpi/handler.sh #!/bin/bash # Default acpi script that takes an entry for all actions case "$1" in button/power) case "$2" in PBTN|PWRF) logger 'PowerButton pressed' ;; *) logger "ACPI action undefined: $2" ;; esac ;; button/sleep) case "$2" in SLPB|SBTN) logger 'SleepButton pressed' ;; *) logger "ACPI action undefined: $2" ;; esac ;; ac_adapter) case "$2" in AC|ACAD|ADP0) case "$4" in 00000000) logger 'AC unpluged' ;; 00000001) logger 'AC pluged' ;; esac ;; *) logger "ACPI action undefined: $2" ;; esac ;; battery) case "$2" in BAT0) case "$4" in 00000000) logger 'Battery online' ;; 00000001) logger 'Battery offline' ;; esac ;; CPU0) ;; *) logger "ACPI action undefined: $2" ;; esac ;; button/lid) case "$3" in close) i3lock && systemctl suspend logger 'LID closed' ;; open) logger 'LID opened' ;; *) logger "ACPI action undefined: $3" ;; esac ;; *) logger "ACPI group/action undefined: $1 / $2" ;; esac # vim:set ts=4 sw=4 ft=sh et: Log from 'journal -f': Nov 30 17:33:04 arce-notebook systemd-logind[321]: Lid closed. Nov 30 17:33:04 arce-notebook logger[5417]: LID closed Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: pci_bus 0000:02: Allocating resources Nov 30 17:33:04 arce-notebook kernel: pci_bus 0000:03: Allocating resources Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: pci_bus 0000:01: Allocating resources Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:04 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:04 arce-notebook kernel: nouveau 0000:01:00.0: Max Payload Size 16384, but upstream 0000:00:01.0 set to 128; if necessary, use "pci=pcie_bus_safe" and report a bug Nov 30 17:33:08 arce-notebook systemd-logind[321]: Lid opened. Nov 30 17:33:08 arce-notebook logger[5428]: LID opened Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: pci_bus 0000:02: Allocating resources Nov 30 17:33:08 arce-notebook kernel: pci_bus 0000:03: Allocating resources Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: pci_bus 0000:01: Allocating resources Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:08 arce-notebook kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Nov 30 17:33:10 arce-notebook kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95) Nov 30 17:33:10 arce-notebook kernel: ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM Nov 30 17:33:10 arce-notebook kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95) |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 17 October 2017, 02:37 GMT
Reason for closing: No response
Tuesday, 17 October 2017, 02:37 GMT
Reason for closing: No response
Comment by Stephen (httpe) -
Sunday, 30 November 2014, 09:41 GMT
My laptop has dual-videocard, one is inside the intel CPU and another is nvidia 610M. I just installed the xf86-video-intel driver.
Comment by mattia (nTia89) -
Monday, 02 October 2017, 17:53 GMT
is this issue still valid?