Thinkpad T43p no longer able to suspend to RAM (intrepid)

Bug #280139 reported by hunger
2
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

My thinkpad T43p is no longer able to suspend to RAM using latest intrepid kernel and other packages.

KPowersave does not even list the option to suspend to RAM anymore. Suspend to Disk is still listed.

This has worked fine ever since Breezy (with some bugs occasionally breaking things:-).

My hardware is described in detail here:
https://wiki.ubuntu.com/LaptopTestingTeam/ThinkpadT43p-2668

Please feel free to request additional information.

Best Regards,
Tobias

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 280139] Re: Thinkpad T43p no longer able to suspend to RAM (intrepid)

Sounds like Bug #267141. An easy way to test would be to remove the
uswsusp package and then running this command: "pm-is-supported
--suspend; echo $?". If the output is 0, then it is a duplicate of Bug
#267141
.
--
Chow Loong Jin

Revision history for this message
hunger (hunger) wrote :

Uninstalling uswsusp makes pm-is-supported --suspend exit with 0 while having it installed the return code is 1.

KPowersave still does not offer suspend functionality, even after uninstalling uswsusp though.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On Thu, 2008-10-09 at 08:13 +0000, hunger wrote:
> Uninstalling uswsusp makes pm-is-supported --suspend exit with 0 while
> having it installed the return code is 1.
>
> KPowersave still does not offer suspend functionality, even after
> uninstalling uswsusp though.
Restart and try again.
>
--
Chow Loong Jin

Revision history for this message
hunger (hunger) wrote :

Restarting does not help.

uswsusp is not installed anymore but I still can not suspend to RAM.

KPowersave still only offers suspend to disk. The same is true for guidance-power-manager.

Revision history for this message
hunger (hunger) wrote :

This is the relevant output from hal-device:

udi = '/org/freedesktop/Hal/devices/computer'
  power_management.type = 'acpi' (string)
  power_management.acpi.linux.version = '20080609' (string)
  info.addons = { 'hald-addon-cpufreq', 'hald-addon-acpi' } (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_names = { 'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave' } (string list)
  info.subsystem = 'unknown' (string)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = { 'i', 'i', '', '', '', 'b' } (string list)
  info.product = 'Computer' (string)
  info.capabilities = { 'cpufreq_control' } (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = { 'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/computer' (string)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = { 'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save' } (string list)
  system.kernel.name = 'Linux' (string)
  info.callouts.add = { 'hal-acl-tool --remove-all', 'hal-storage-cleanup-all-mountpoints' } (string list)
  system.kernel.version = '2.6.27-7-generic' (string)
  power_management.is_powersave_set = false (bool)
  system.kernel.machine = 'i686' (string)
  info.callouts.session_add = { 'hal-acl-tool --reconfigure' } (string list)
  power_management.can_suspend = false (bool)
  info.callouts.session_remove = { 'hal-acl-tool --reconfigure' } (string list)
  power_management.can_suspend_hybrid = true (bool)
  info.callouts.session_active = { 'hal-acl-tool --reconfigure' } (string list)
  power_management.can_hibernate = true (bool)
  info.callouts.session_inactive = { 'hal-acl-tool --reconfigure' } (string list)
  system.hardware.primary_video.vendor = 4098 (0x1002) (int)
  system.hardware.primary_video.product = 12628 (0x3154) (int)
  system.hardware.serial = 'L3XM93' (string)
  system.hardware.uuid = 'F64DBB81-4928-11CB-99F2-D151C2AFBF87' (string)
  system.firmware.vendor = 'IBM' (string)
  system.firmware.version = '1YET65WW (1.29 )' (string)
  system.firmware.release_date = '08/21/2006' (string)
  system.hardware.vendor = 'IBM' (string)
  system.hardware.product = '2668H8G' (string)
  system.hardware.version = 'ThinkPad T43p' (string)
  system.chassis.manufacturer = 'IBM' (string)
  system.chassis.type = 'Notebook' (string)
  system.formfactor = 'laptop' (string)
  info.interfaces = { 'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq'} (string list)

can_suspend is false, while the other options are true:-(

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Do this in a terminal:
=======================================
. "/usr/lib/pm-utils/pm-functions"
echo $SLEEP_MODULE
check_suspend; echo $?
=======================================

--
Chow Loong Jin

Revision history for this message
hunger (hunger) wrote :

Here is the output:

tobias@chewbacca> . "/usr/lib/pm-utils/pm-functions" ~
/usr/lib/pm-utils/pm-functions:52: no matches found: /etc/pm/config.d/*[!~]
tobias@chewbacca> echo $SLEEP_MODULE ~
auto
tobias@chewbacca> check_suspend; echo $? ~
zsh: command not found: check_suspend
127

I hope this helps...

Revision history for this message
hunger (hunger) wrote :

OK, running this in bash (instead of zsh) I get a different output:

tobias@chewbacca:~$ . "/usr/lib/pm-utils/pm-functions"
tobias@chewbacca:~$ echo $SLEEP_MODULE
uswsusp
tobias@chewbacca:~$ check_suspend; echo $?
1

Revision history for this message
hunger (hunger) wrote :

... and after uninstalling uswsusp again (reinstalled it yesterday to test suspend for a bit) I get this output:
tobias@chewbacca:~$ . "/usr/lib/pm-utils/pm-functions"
tobias@chewbacca:~$ echo $SLEEP_MODULE
kernel
tobias@chewbacca:~$ check_suspend; echo $?
0

Revision history for this message
hunger (hunger) wrote :

Wow, great... after *purging* uswsusp suspend works again. Just removing it did not fix the issue for me:-(

Revision history for this message
hunger (hunger) wrote :

Works again, so let's close the issue again.

Changed in pm-utils:
status: New → Fix Released
Revision history for this message
hunger (hunger) wrote :

hyperair: Thanks for your help!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.