F15 fails to suspend/hibernate on Thinkpad W510+

Bojan Jovanović bojov at fon.bg.ac.rs
Tue Jun 28 12:04:10 UTC 2011


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 at 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 at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bojov.vcf
Type: text/x-vcard
Size: 306 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110628/da2728d8/attachment.vcf 


More information about the users mailing list