← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 585099] Re: pm-utils: hibernate/suspend do not work right

 

Here:

Device	S-state	  Status   Sysfs node
P0P2	  S4	 disabled  
P0P3	  S4	 disabled  
P0P1	  S4	 disabled  pci:0000:00:1e.0
UAR1	  S4	 disabled  pnp:00:0c
USB0	  S4	 disabled  pci:0000:00:1d.0
USB1	  S4	 disabled  pci:0000:00:1d.1
USB2	  S4	 disabled  pci:0000:00:1d.2
USB3	  S4	 disabled  
EUSB	  S4	 disabled  pci:0000:00:1d.7
USB4	  S4	 disabled  pci:0000:00:1a.0
USB5	  S4	 disabled  pci:0000:00:1a.1
USB6	  S4	 disabled  pci:0000:00:1a.2
USBE	  S4	 disabled  pci:0000:00:1a.7
P0P4	  S4	 disabled  pci:0000:00:1c.0
P0P5	  S4	 disabled  
P0P6	  S4	 disabled  
P0P7	  S4	 disabled  pci:0000:00:1c.3
P0P8	  S4	 disabled  pci:0000:00:1c.4
P0P9	  S4	 disabled  pci:0000:00:1c.5

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/585099

Title:
  pm-utils: hibernate/suspend do not work right

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Confirmed

Bug description:
  I own an ASUS P3-P5G43 (Intel GMA X4500 graphics) barebone running Mythbuntu 10.04 amd64. The following pm-utils commands work bad as shown:

- pm-hibernate:

the PC appears to correctly hibernate, but when trying to wake-up it only does a normal boot.

- pm-suspend:

It suspends the right way only the first time. Subsequent tries are ignored.

In both failure cases it seems no relevant info is written to pm-hibernate/suspend logs.

For suspend/hibernate purposes using MythTV I have set up the following script:

/etc/pm/sleep.d/01_mythtv:

#!/bin/bash

. "${PM_FUNCTIONS}"

case "$1" in
 suspend|hibernate)
 killall mythfrontend.real &> /dev/null
 killall mythwelcome &> /dev/null
 service mythtv-backend stop &> /dev/null
 service lirc stop &> /dev/null
 rmmod dvb_usb_dib0700 &> /dev/null
 ;;

 resume|thaw)
 modprobe dvb_usb_dib0700 &> /dev/null
 service lirc start &> /dev/null
 service mythtv-backend start &> /dev/null
 sleep 3
 sudo -u <mi_usuario> mythfrontend &> /dev/null
 ;;
esac 

I will provide any additional debugging info upon request.

Regards,





References