Whenever I try to put my laptop into either suspend or hibernate mode (i.e., close the lid when not plugged in) the laptop _seems_ to be trying to go to sleep but never quite gets there. The battery light stays on, the sleep light (crescent moon) light blinks, but there's no disk activity and the power light stays on.
And nothing short of holding the power button down and forcing a power off works for bringing the laptop back out of htis state.
Any ideas on what I should or could do to get suspend to work again? It's a PITA to have to hard shutdown the laptop when I accidentally shut the lid.
On 6/24/11, Darryl L. Pierce dpierce@redhat.com wrote:
Whenever I try to put my laptop into either suspend or hibernate mode (i.e., close the lid when not plugged in) the laptop _seems_ to be trying to go to sleep but never quite gets there. The battery light stays on, the sleep light (crescent moon) light blinks, but there's no disk activity and the power light stays on.
And nothing short of holding the power button down and forcing a power off works for bringing the laptop back out of htis state.
/var/log/pm-suspend.log may be worth a look. And you could run pm-is-supported (see its manpage for how to interpret the result).
Any ideas on what I should or could do to get suspend to work again? It's a PITA to have to hard shutdown the laptop when I accidentally shut the lid.
I hope this feature (closing lid causes suspend) can be switched off somehow. It's a PITA even if suspend/hibernate works.
Andras
On Fri, Jun 24, 2011 at 03:56:58PM +0200, Andras Simon wrote:
On 6/24/11, Darryl L. Pierce dpierce@redhat.com wrote:
Whenever I try to put my laptop into either suspend or hibernate mode (i.e., close the lid when not plugged in) the laptop _seems_ to be trying to go to sleep but never quite gets there. The battery light stays on, the sleep light (crescent moon) light blinks, but there's no disk activity and the power light stays on.
And nothing short of holding the power button down and forcing a power off works for bringing the laptop back out of htis state.
/var/log/pm-suspend.log may be worth a look. And you could run pm-is-supported (see its manpage for how to interpret the result).
Here's what I get:
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid (mcpierce@mcpierce-laptop:~)$ echo $? 1
Though I'm questioning this last once since I tried to do:
pm-is-supported --suspend-hybrid && echo $?
and it never showed the RC, telling me the command itself failed.
Any ideas on what I should or could do to get suspend to work again? It's a PITA to have to hard shutdown the laptop when I accidentally shut the lid.
I hope this feature (closing lid causes suspend) can be switched off somehow. It's a PITA even if suspend/hibernate works.
It can. Check out my blog post [1] about how to disable it.
[1] http://mcpierce.blogspot.com/2011/05/fedora-15-gnome-3-and-closing-your.html
Once upon a time, Darryl L. Pierce dpierce@redhat.com said:
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid (mcpierce@mcpierce-laptop:~)$ echo $? 1
Though I'm questioning this last once since I tried to do:
pm-is-supported --suspend-hybrid && echo $?
and it never showed the RC, telling me the command itself failed.
Remember: exit code of zero is "success", non-zero is "failure". It is inverted from common usage, but allows for multiple "failure" exit codes.
On Fri, Jun 24, 2011 at 09:18:14AM -0500, Chris Adams wrote:
Once upon a time, Darryl L. Pierce dpierce@redhat.com said:
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid (mcpierce@mcpierce-laptop:~)$ echo $? 1
Though I'm questioning this last once since I tried to do:
pm-is-supported --suspend-hybrid && echo $?
and it never showed the RC, telling me the command itself failed.
Remember: exit code of zero is "success", non-zero is "failure". It is inverted from common usage, but allows for multiple "failure" exit codes.
Right. The manpage for pm-is-supported says that a 0 exit code means the feature _is_ supported, and 1 means it's _not_ supported. So in the above case suspend and hibernate are (in theory) supported, yet both result in my laptop being non-responsive. And in the last case the fact that:
pm-is-supported --suspend-hybrid && echo $?
fails to output the exit code tells me the arg is causing pm-is-supported itself to fail.
Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 09:18:14AM -0500, Chris Adams wrote:
Once upon a time, Darryl L. Piercedpierce@redhat.com said:
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid (mcpierce@mcpierce-laptop:~)$ echo $? 1
Though I'm questioning this last once since I tried to do:
pm-is-supported --suspend-hybrid&& echo $?
and it never showed the RC, telling me the command itself failed.
Remember: exit code of zero is "success", non-zero is "failure". It is inverted from common usage, but allows for multiple "failure" exit codes.
Right. The manpage for pm-is-supported says that a 0 exit code means the feature _is_ supported, and 1 means it's _not_ supported. So in the above case suspend and hibernate are (in theory) supported, yet both result in my laptop being non-responsive. And in the last case the fact that:
pm-is-supported --suspend-hybrid&& echo $?
fails to output the exit code tells me the arg is causing pm-is-supported itself to fail.
You have asked it to display the termination code if it terminates normally. Is that what you want? I would think you want to display it when it fails, maybe: pm-is-supported --suspend-hybrid && echo Supported || echo "Not supported $?"
Remember zero is good status...
On Tue, Jun 28, 2011 at 04:31:32PM -0400, Bill Davidsen wrote:
You have asked it to display the termination code if it terminates normally. Is that what you want? I would think you want to display it when it fails, maybe: pm-is-supported --suspend-hybrid && echo Supported || echo "Not supported $?"
Remember zero is good status...
Trust me, I'm remembering that. ;)
From the pm-is-supported manpage:
RETURN VALUE The result of the test for a certain powermanagement state is defined by the following exit codes.
Code Diagnostic 0 State available. 1 State NOT available.
On 06/24/2011 10:09 AM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 03:56:58PM +0200, Andras Simon wrote:
On 6/24/11, Darryl L. Pierce dpierce@redhat.com wrote:
Whenever I try to put my laptop into either suspend or hibernate mode (i.e., close the lid when not plugged in) the laptop _seems_ to be trying to go to sleep but never quite gets there. The battery light stays on, the sleep light (crescent moon) light blinks, but there's no disk activity and the power light stays on.
For what its worth - I have a sandy bridge W520 and i can sleep it no prob at all. Caveat:
1) I'm using KDE
2) I installed the 3.0 koji kernel (with a few needed companion packages - I can detail this if you like).
3) I note that a newer 2.6.38 build is in koji with some sandy bridge fixes that may help.
4) I have the nvidia optimus but at the moment I have turned off the nvidia in in bios so am using the intel i915 graphics. Haven't had time to deal with trying this - too many other things to deal with on this laptop.
So it definitely works on F15 with the right pieces in place.
gene
On Fri, Jun 24, 2011 at 10:18:17AM -0400, Genes MailLists wrote:
So it definitely works on F15 with the right pieces in place.
But how to get it to work with my laptop? Fedora 14 had no problems with suspend/hibernate...
On 06/24/2011 10:44 AM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 10:18:17AM -0400, Genes MailLists wrote:
So it definitely works on F15 with the right pieces in place.
But how to get it to work with my laptop? Fedora 14 had no problems with suspend/hibernate...
Is yours a sandy bridge - which graphics card is active?
On 06/24/2011 10:45 AM, Genes MailLists wrote:
On 06/24/2011 10:44 AM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 10:18:17AM -0400, Genes MailLists wrote:
So it definitely works on F15 with the right pieces in place.
But how to get it to work with my laptop? Fedora 14 had no problems with suspend/hibernate...
Is yours a sandy bridge - which graphics card is active?
what do:
1) egrep model /proc/cpuinfo | sort -u
2) lspci
show please.
On Fri, Jun 24, 2011 at 10:48:36AM -0400, Genes MailLists wrote:
On 06/24/2011 10:45 AM, Genes MailLists wrote:
On 06/24/2011 10:44 AM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 10:18:17AM -0400, Genes MailLists wrote:
So it definitely works on F15 with the right pieces in place.
But how to get it to work with my laptop? Fedora 14 had no problems with suspend/hibernate...
Is yours a sandy bridge - which graphics card is active?
what do:
1) egrep model /proc/cpuinfo | sort -u
(mcpierce@mcpierce-laptop:~)$ egrep model /proc/cpuinfo | sort -u model : 30 model name : Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
2) lspci
(mcpierce@mcpierce-laptop:~)$ lspci 00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11) 00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11) 00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11) 00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11) 00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11) 00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11) 00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11) 00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06) 00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 06) 00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 06) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) 01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) 03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35) 0d:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01) 0d:00.1 System peripheral: Ricoh Co Ltd Device e230 (rev 01) 0f:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) 17:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01) 17:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 01) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04) ff:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04) ff:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04) ff:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04) ff:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04) ff:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04) ff:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04) ff:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04) ff:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04) ff:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04) ff:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04) ff:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
On 06/24/2011 11:02 AM, Darryl L. Pierce wrote:
(mcpierce@mcpierce-laptop:~)$ egrep model /proc/cpuinfo | sort -u
model : 30 model name : Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
Ok this is not a sandy bridge as far as I know - so that's out ...
2) lspci(mcpierce@mcpierce-laptop:~)$ lspci
01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2)
Are you using nouveau or nvidia drivers for this ?
On Fri, Jun 24, 2011 at 11:59:12AM -0400, Genes MailLists wrote:
2) lspci(mcpierce@mcpierce-laptop:~)$ lspci
01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2)
Are you using nouveau or nvidia drivers for this ?
Nouveau drivers.
On Fri, 2011-06-24 at 13:01 -0400, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 11:59:12AM -0400, Genes MailLists wrote:
2) lspci(mcpierce@mcpierce-laptop:~)$ lspci
01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2)
Are you using nouveau or nvidia drivers for this ?
Nouveau drivers.
Suspend seems to work with nVidia proprietary drivers. I was using them until the latest gnome update (see some other thread about that). There's probably a nouveau bug regarding suspend.
On Sat, Jun 25, 2011 at 01:46:48PM -0700, Matthew Saltzman wrote:
On Fri, 2011-06-24 at 13:01 -0400, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 11:59:12AM -0400, Genes MailLists wrote:
2) lspci(mcpierce@mcpierce-laptop:~)$ lspci
01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2)
Are you using nouveau or nvidia drivers for this ?
Nouveau drivers.
Suspend seems to work with nVidia proprietary drivers. I was using them until the latest gnome update (see some other thread about that). There's probably a nouveau bug regarding suspend.
That sounds about right. I was using the nVidia drivers under F14 (when I wasn't trying to be a purist and foregoing the eye candy) and suspend/hibernate worked fine.
Matthew Saltzman wrote:
On Fri, 2011-06-24 at 13:01 -0400, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 11:59:12AM -0400, Genes MailLists wrote:
2) lspci(mcpierce@mcpierce-laptop:~)$ lspci
01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2)
Are you using nouveau or nvidia drivers for this ?
Nouveau drivers.
Suspend seems to work with nVidia proprietary drivers. I was using them until the latest gnome update (see some other thread about that). There's probably a nouveau bug regarding suspend.
One of the things I don't understand about the Fedora political (religious?) practice is forcing GNOME3 into a release when the drivers a large portion of users need for proper operation are not included and can't be. Actually, with stock drivers mine all suspend perfectly, it's that "resume" things that doesn't work. :-(
On Tue, Jun 28, 2011 at 04:27:51PM -0400, Bill Davidsen wrote:
One of the things I don't understand about the Fedora political (religious?) practice is forcing GNOME3 into a release when the drivers a large portion of users need for proper operation are not included and can't be. Actually, with stock drivers mine all suspend perfectly, it's that "resume" things that doesn't work. :-(
I wonder if that's not my case as well: going into hibernate mode seems to work fine, but restarting comes up with a new login prompt. I didn't check to see if it still had me listed as logged in already or not. But very odd that the video driver would affect the authenticated session.
On 06/24/2011 05:02 PM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 10:48:36AM -0400, Genes MailLists wrote:
On 06/24/2011 10:45 AM, Genes MailLists wrote:
On 06/24/2011 10:44 AM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 10:18:17AM -0400, Genes MailLists wrote:
So it definitely works on F15 with the right pieces in place.
But how to get it to work with my laptop? Fedora 14 had no problems with suspend/hibernate...
Is yours a sandy bridge - which graphics card is active?
what do:
1) egrep model /proc/cpuinfo | sort -u(mcpierce@mcpierce-laptop:~)$ egrep model /proc/cpuinfo | sort -u model : 30 model name : Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
2) lspci(mcpierce@mcpierce-laptop:~)$ lspci 00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11) 00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11) 00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11) 00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11) 00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11) 00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11) 00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11) 00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06) 00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 06) 00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 06) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) 01:00.0 VGA compatible controller: nVidia Corporation GT216 [Quadro FX 880M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) 03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35) 0d:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01) 0d:00.1 System peripheral: Ricoh Co Ltd Device e230 (rev 01) 0f:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) 17:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01) 17:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 01) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04) ff:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04) ff:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04) ff:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04) ff:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04) ff:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04) ff:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04) ff:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04) ff:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04) ff:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04) ff:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04) ff:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
Could be a problem with usb3? usb3 driver doesn't support suspend. only known solution for me is to unload xhci driver. do you have some device attached to usb?
this scripts helps me with Asus laptop. maybe you would need to change name for appropriate usb driver(s).
#!/bin/sh # File: "/etc/pm/sleep.d/20_custom-ehci_hcd". TMPLIST=/tmp/ehci-dev-list
case "${1}" in hibernate|suspend) echo -n '' > $TMPLIST for i in `ls /sys/bus/pci/drivers/ehci_hcd/ | egrep '[0-9a-z]+:[0-9a-z]+:.*$'`; do # Unbind ehci_hcd for first device XXXX:XX:XX.X: echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/unbind echo "$i" >> $TMPLIST done ;; resume|thaw) for i in `cat $TMPLIST`; do # Bind ehci_hcd for first device XXXX:XX:XX.X: echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/bind done rm $TMPLIST ;; esac
or
#!/bin/sh # Fix some issues with USB3
if [ "$1" = "suspend" ] then modprobe -r xhci fi
if [ "$1" = "resume" ] then modprobe xhci fi
On Tue, Jun 28, 2011 at 02:04:10PM +0200, Bojan Jovanović wrote:
Could be a problem with usb3? usb3 driver doesn't support suspend. only known solution for me is to unload xhci driver. do you have some device attached to usb?
Most times I'm connected to my docking station (keyboard and mouse on USB) or else I'm just using my BT keyboard and mouse. So I'm going to wager that having a USB device attached is the culprit since I don't always have that.
this scripts helps me with Asus laptop. maybe you would need to change name for appropriate usb driver(s).
I'll give it a shot.
On Fri, Jun 24, 2011 at 10:45:59AM -0400, Genes MailLists wrote:
On 06/24/2011 10:44 AM, Darryl L. Pierce wrote:
On Fri, Jun 24, 2011 at 10:18:17AM -0400, Genes MailLists wrote:
So it definitely works on F15 with the right pieces in place.
But how to get it to work with my laptop? Fedora 14 had no problems with suspend/hibernate...
Is yours a sandy bridge - which graphics card is active?
I'm not sure. /proc/cpuinfo reports the CPU model as:
Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz
and lscpu reports:
(mcpierce@mcpierce-laptop:~)$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 CPU socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 30 Stepping: 5 CPU MHz: 1199.000 BogoMIPS: 3457.40 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-7
On 6/24/11, Darryl L. Pierce dpierce@redhat.com wrote:
Here's what I get:
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate (mcpierce@mcpierce-laptop:~)$ echo $? 0 (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid (mcpierce@mcpierce-laptop:~)$ echo $? 1
Though I'm questioning this last once since I tried to do:
pm-is-supported --suspend-hybrid && echo $?
and it never showed the RC, telling me the command itself failed.
Any ideas on what I should or could do to get suspend to work again? It's a PITA to have to hard shutdown the laptop when I accidentally shut the lid.
I hope this feature (closing lid causes suspend) can be switched off somehow. It's a PITA even if suspend/hibernate works.
It can. Check out my blog post [1] about how to disable it.
[1] http://mcpierce.blogspot.com/2011/05/fedora-15-gnome-3-and-closing-your.html
Thanks!
Now, how did you configure the lid closing behaviour? If you made it to cause suspend, you could try hibernate, and vice versa. In fact, for testing purposes I'd leave the lid thing out altogether and try pm-suspend or pm-hibernate from the command line.
Andras
On Fri, Jun 24, 2011 at 04:56:02PM +0200, Andras Simon wrote:
Thanks!
Now, how did you configure the lid closing behaviour? If you made it to cause suspend, you could try hibernate, and vice versa. In fact, for testing purposes I'd leave the lid thing out altogether and try pm-suspend or pm-hibernate from the command line.
Originally I had it configured to suspend when the lid closed using first the steps on my blog [1] and then via the gnome-tweak-tool app. When that failed I configured it to hibernate instead.
I'll try the pm-{suspend,hibernate} commands after lunch and report back on the success or failure of those.
On Fri, Jun 24, 2011 at 04:56:02PM +0200, Andras Simon wrote:
Now, how did you configure the lid closing behaviour? If you made it to cause suspend, you could try hibernate, and vice versa. In fact, for testing purposes I'd leave the lid thing out altogether and try pm-suspend or pm-hibernate from the command line.
sudo pm-suspend :: resulted in the laptop getting hosed and required a hard restart.
sudo pm-hibernate :: the laptop seemed to hibernate, but when I started it it bypassed grub but I was no longer logged in; i.e., it acted as if it had just shutdown
On 6/24/11, Darryl L. Pierce dpierce@redhat.com wrote:
sudo pm-suspend :: resulted in the laptop getting hosed and required a hard restart.
sudo pm-hibernate :: the laptop seemed to hibernate, but when I started it it bypassed grub but I was no longer logged in; i.e., it acted as if it had just shutdown
Well, if all else fails, and /var/log/pm-suspend.log isn't revealing anything, then maybe it's time for a bug report... With a laptop, the lack of suspend/hibernate is more than annoying. (At least I only ever boot laptops during and after installation. They're suspended or hibernated when not in use.)
Andras
On 06/24/2011 03:25 PM, Darryl L. Pierce wrote:
Whenever I try to put my laptop into either suspend or hibernate mode (i.e., close the lid when not plugged in) the laptop _seems_ to be trying to go to sleep but never quite gets there. The battery light stays on, the sleep light (crescent moon) light blinks, but there's no disk activity and the power light stays on.
And nothing short of holding the power button down and forcing a power off works for bringing the laptop back out of htis state.
Any ideas on what I should or could do to get suspend to work again? It's a PITA to have to hard shutdown the laptop when I accidentally shut the lid.
I have had the same problem since F12 (I am running F14 now). I ran through some debuggin tests, and it seems to be a problem with an unspecified driver on my end...I did try F15 for a while though, and never had the problem there. Maybe if you try to install a custom kernel things would change?
Chris
I experience this behavior on a T61 so I don't think it's a Sandy Bridge problem. I've experienced it since F14. I also use a docking station and external display and remember back when I was running F14 I found a bug report somewhere confirming that (at least on F14) it was related to the external display. I'll have to look and see if I can find that bug report and also check if one exists for F15 yet.
You're right this is a terrible problem, because at least for me, it's intermittent, but when it happens you can kiss your unsaved work goodbye :(
On Fri, Jun 24, 2011 at 7:25 AM, Darryl L. Pierce dpierce@redhat.comwrote:
Whenever I try to put my laptop into either suspend or hibernate mode (i.e., close the lid when not plugged in) the laptop _seems_ to be trying to go to sleep but never quite gets there. The battery light stays on, the sleep light (crescent moon) light blinks, but there's no disk activity and the power light stays on.
And nothing short of holding the power button down and forcing a power off works for bringing the laptop back out of htis state.
Any ideas on what I should or could do to get suspend to work again? It's a PITA to have to hard shutdown the laptop when I accidentally shut the lid.
-- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines