Bug 798018 - X53SV AC Powered suspend works, battery suspend hangs
Summary: X53SV AC Powered suspend works, battery suspend hangs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 20:44 UTC by shamim.islam
Modified: 2012-02-28 04:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 04:30:33 UTC
Type: ---


Attachments (Terms of Use)

Description shamim.islam 2012-02-27 20:44:48 UTC
Description of problem:
Unable to suspend laptop when not plugged in, which is exactly when suspend is most useful.

Laptop: ASUS X53SV core i7 (2.9GHz w/ Turbo), 8G RAM, 1TB Spinpoint, NVIDIA GE GT240M
Video Drivers: NVIDIA + Optimus using bumblebee


Version-Release number of selected component (if applicable):
3.1.0-7.fc16.x86_64


How reproducible:
Always


Steps to Reproduce:
1.Power up laptop plugged in or not
2.Wait for desktop
3.Unplug laptop if plugged in
4.Hit sleep button.
  
Actual results:
1 line of text output and the laptop hangs. (If plugged in, see Expected results)

Expected results:
4-6 lines of output and the laptop sleeps. (Shows this when plugged in).

Additional info:
/etc/pm/sleep.d/20_custom-ehci_hcd
#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
case "${1}" in
hibernate|suspend)
# Unbind ehci_hcd for first device 0000:00:1a.0:
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
# Unbind ehci_hcd for second device 0000:00:1d.0:
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
;;
resume|thaw)
# Bind ehci_hcd for first device 0000:00:1a.0:
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
# Bind ehci_hcd for second device 0000:00:1d.0:
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
;;
esac 


/etc/pm/sleep.d/10_bumblebee
#!/bin/sh
case "$1" in
  hibernate|suspend)
    service bumblebee stop
    rmmod nvidia
    ;;
  thaw|resume)
    modprobe nvidia
    service bumblebee start
    ;;
  *) exit
     ;;
esac

Comment 1 shamim.islam 2012-02-28 04:30:33 UTC
Nm. Found the problem. Set the power button on battery operation to hibernate. Need to wait for the hibernate to take effect.

This is not a bug. My apologies.


Note You need to log in before you can comment on or make changes to this bug.