Bug 773767

Summary: Fedora 16 doesn't suspend on laptop lid
Product: [Fedora] Fedora Reporter: Luis Medinas <lmedinas>
Component: kernelAssignee: Ben Skeggs <bskeggs>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: emailjonathananderson-fedora, gansalmon, grizonic, itamar, jfeeney, jforbes, jonathan, kernel-maint, madhu.chinakonda, undifined
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-14 15:07:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Luis Medinas 2012-01-12 21:03:55 UTC
On Fedora 16 i'm able to suspend my samsung laptop. But when i close the laptop lid acpid doesn't report any event and it can't suspend on close lid.
This works on other distributions even with kernel 3.1.x. 

acpid -d -f -l
Deprecated /proc/acpi/event was not found.  Trying netlink and the input layer...
input layer /dev/input/event0 opened successfully
input layer /dev/input/event1 opened successfully
input layer /dev/input/event2 opened successfully
input layer /dev/input/event3 opened successfully
input layer /dev/input/event5 opened successfully
input layer /dev/input/event6 opened successfully
inotify fd: 10
inotify wd: 1
netlink opened successfully
acpid: starting up with netlink and the input layer
parsing conf file /etc/acpi/events/videoconf
acpid: skipping incomplete file /etc/acpi/events/videoconf
parsing conf file /etc/acpi/events/powerconf
acpid: 1 rule loaded
acpid: waiting for events: event logging is on

Comment 1 Luis Medinas 2012-01-24 23:03:11 UTC
I tried with kernel 3.2.1 from f16 and happens the same. If i compile a kernel from kernel.org my laptop suspend when the lid is closed.

So it might be any patch on f16 kernels that is causing this issue.

Comment 2 Luis Medinas 2012-01-25 22:19:56 UTC
I found the the problem for this issue.
My laptop have 2 graphics cards (nvidia optimus) nvidia and intel and fedora 16 triggers i915 and nouveau modules and prevent the laptop to suspend on close lid. After blacklist nouveau module f16 can suspend on close lid with f16 kernels.

Comment 3 Josh Boyer 2012-03-01 17:57:08 UTC
Ben, is there anything that can be done besides blacklisting the nouveau driver on Optimus machines?

Comment 4 Dave Jones 2012-03-22 17:05:41 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 5 Dave Jones 2012-03-22 17:08:55 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 6 Dave Jones 2012-03-22 17:19:30 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 7 Luis Medinas 2012-04-29 12:22:19 UTC
I can reproduce the same problem using F17, this might affect all nvidia optimus users i don't agree blacklist nouveau is the best option but at least its the safe one because otherwise resuming from suspend and close laptop lid doesn't work.

Comment 8 Keimpe de Jong 2012-05-19 10:20:45 UTC
subscribing because of similar issue:
kernel: 3.3.6-3.fc16.x86_64 #1 SMP  
video: 02:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500/5100 Series]

Comment 9 Keimpe de Jong 2012-05-19 10:34:33 UTC
May 19 03:44:28 localhost NetworkManager[1091]: <info> sleep requested (sleeping: no  enabled: yes)
May 19 03:44:28 localhost NetworkManager[1091]: <info> sleeping or disabling...
May 19 03:44:28 localhost NetworkManager[1091]: <info> (p4p1): now unmanaged
May 19 03:44:28 localhost NetworkManager[1091]: <info> (p4p1): device state change: unavailable -> unmanaged (reason 'sleeping') [20 10 37]
May 19 03:44:28 localhost NetworkManager[1091]: <info> (p4p1): cleaning up...
May 19 03:44:28 localhost NetworkManager[1091]: <info> (p4p1): taking down device.
May 19 03:44:28 localhost NetworkManager[1091]: <info> (wlan0): now unmanaged
May 19 03:44:28 localhost NetworkManager[1091]: <info> (wlan0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
May 19 03:44:28 localhost kernel: [13044.217000] pcieport 0000:00:04.0: wake-up capability enabled by ACPI
May 19 03:44:28 localhost NetworkManager[1091]: <info> (wlan0): deactivating device (reason 'sleeping') [37]
May 19 03:44:28 localhost NetworkManager[1091]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1340
May 19 03:44:28 localhost NetworkManager[1091]: <info> (wlan0): cleaning up...
May 19 03:44:28 localhost NetworkManager[1091]: <info> (wlan0): taking down device.
May 19 03:44:28 localhost kernel: [13044.653502] cfg80211: Calling CRDA to update world regulatory domain
May 19 03:44:28 localhost dbus[1137]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 19 03:44:28 localhost dbus-daemon[1137]: dbus[1137]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 19 03:44:28 localhost avahi-daemon[1079]: Withdrawing address record for 192.168.1.120 on wlan0.
May 19 03:44:28 localhost avahi-daemon[1079]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.120.
May 19 03:44:28 localhost avahi-daemon[1079]: Interface wlan0.IPv4 no longer relevant for mDNS.
May 19 03:44:28 localhost avahi-daemon[1079]: Withdrawing address record for fe80::924c:e5ff:fe04:e607 on wlan0.
May 19 03:44:28 localhost dnsmasq[1365]: no servers found in /etc/resolv.conf, will retry
May 19 03:44:29 localhost dbus[1137]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 19 03:44:29 localhost dbus-daemon[1137]: dbus[1137]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 19 03:44:30 localhost kernel: [13046.040714] cfg80211: World regulatory domain updated:
May 19 03:44:30 localhost kernel: [13046.040724] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 19 03:44:30 localhost kernel: [13046.040732] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.040739] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.040746] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.040752] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.040758] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.040782] cfg80211: Calling CRDA for country: NL
May 19 03:44:30 localhost kernel: [13046.053205] cfg80211: Regulatory domain changed to country: NL
May 19 03:44:30 localhost kernel: [13046.053214] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 19 03:44:30 localhost kernel: [13046.053222] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.053228] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.053234] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 19 03:44:30 localhost kernel: [13046.053240] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
May 19 03:44:31 localhost iscsi[6624]: Stopping iscsi: [  OK  ]
May 19 03:44:32 localhost dbus-daemon[1137]: Stopping iscsi (via systemctl):  [  OK  ]
May 19 03:44:33 localhost chronyd[1167]: Source 81.171.44.131 offline
May 19 03:44:33 localhost chronyd[1167]: Source 46.166.148.103 offline
May 19 03:44:33 localhost chronyd[1167]: Source 88.159.82.127 offline
May 19 03:44:33 localhost chronyd[1167]: Source 83.98.155.30 offline
May 19 06:52:13 localhost kernel: imklog 5.8.10, log source = /proc/kmsg started.

Comment 10 Dave Jones 2012-10-23 15:31:02 UTC
# Mass update to all open bugs.

Kernel 3.6.2-1.fc16 has just been pushed to updates.
This update is a significant rebase from the previous version.

Please retest with this kernel, and let us know if your problem has been fixed.

In the event that you have upgraded to a newer release and the bug you reported
is still present, please change the version field to the newest release you have
encountered the issue with.  Before doing so, please ensure you are testing the
latest kernel update in that release and attach any new and relevant information
you may have gathered.

If you are not the original bug reporter and you still experience this bug,
please file a new report, as it is possible that you may be seeing a
different problem. 
(Please don't clone this bug, a fresh bug referencing this bug in the comment is sufficient).

Comment 11 Justin M. Forbes 2012-11-14 15:07:51 UTC
With no response, we are closing this bug under the assumption that it is no longer an issue. If you still experience this bug, please feel free to reopen the bug report.