Comment 61 for bug 292256

Revision history for this message
maximi89 (maximi89) wrote : Re: [Bug 292256] Re: backlight failed after suspend to ram on IBM X40

Thanks! Chow,
how looks your configuration?...

you think this file need come with a default settings for works?
in my case with the default settings doesn't works...
i going to make more test, but i don't undersdtand really how i can use the
/etc/pm/config.d
refer: http://en.opensuse.org/Pm-utils

in this case creating a file called "modules" or "config" inside
/etc/pm/config.d this would work?...
i think the default set for this file need to be with the next modules

SUSPEND_MODULES="button ehci_hcd ohci_hcd uhci_hcd iwl3945"
HIBERNATE_MODE="shutdown"

Because the default configuration it's platform, and that does not works...
about the modules, if you suspend without this parameters suspend
don't works too... still poweron and freeze...
What do you think about?
all here... what think about this? who have problems or need make this
change when installd the system?

2009/5/19 Chow Loong Jin <email address hidden>

> On Mon, 2009-05-18 at 21:25 +0000, maximi89 wrote:
> > guys, edit the file of pm-utils
> > /usr/lib/pm-utils/defaults
> >
> > maximi89@Maximiliano:/usr/share/emesene$ cat /usr/lib/pm-utils/defaults
> > ##########################################################
> > # DO NOT EDIT THIS FILE! #
> > # #
> > # Add files in /etc/pm/config.d/ instead! #
> > ##########################################################
> >
> > # Default method to power down the system when hibernating.
> > # If commented out, the system will use the kernel default as a
> > # default value.
> > #
> > # Check /sys/power/disk for valid values. The default value
> > # will be surrounded by [square brackets].
> > HIBERNATE_MODE="shutdown"
> >
> > # Whether we need to post the video card when resuming from
> > # hibernate. You should not normally need to set this.
> > # In the future pm-utils will get this setting from HAL.
> > #
> > # Valid values are "no" and "yes"
> > # HIBERNATE_RESUME_POST_VIDEO="no"
> >
> > # The default sleep/wake system to use. Valid values are:
> > # kernel The built-in kernel suspend/resume support.
> > # Use this if nothing else is supported on your system.
> > # uswsusp If your system has support for the userspace
> > # suspend programs (s2ram/s2disk/s2both), then use this.
> > # tuxonice If your system has support for tuxonice, use this.
> > #
> > # The system defaults to "kernel" if this is commented out.
> > SLEEP_MODULE="uswsusp"
> >
> > # These variables will be handled specially when we load files in
> > # /etc/pm/config.d.
> > # Multiple declarations of these environment variables will result in
> > # their contents being concatenated instead of being overwritten.
> >
> > # If you need to unload any modules to suspend/resume, add them here.
> > SUSPEND_MODULES="nvidia ehci_hcd ohci_hcd uhci_hcd iwl3945"
> >
> > # If you want to keep hooks from running, add their names here.
> > # HOOK_BLACKLIST=""
> >
> > # If you want to unconditionally add parameters to the commandline,
> > # add them here.
> > # ADD_PARAMETERS=""
> >
> > # If you want to ignore commandline parameters, add them here.
> > # DROP_PARAMETERS=""
> >
> > # If you need to synchronize the system clock across a suspend/resume or
> > # hibernate/thaw cycle, set this variable.
> > # NEED_CLOCK_SYNC="true"
> >
> >
> > i get the same as you, the suspend mode hangs my computer, but editing
> this file i get working all again...
> >
> Did you read the header of the file? It said "DO NOT EDIT THIS FILE! Add
> files in /etc/pm/config.d/ instead", which is what you should have done.
> The reason for this is that if you modify the variables here, they will
> be overwritten when you upgrade pm-utils. So you should just dump a file
> in /etc/pm/config.d with the line "HIBERNATE_MODE=shutdown".
> --
> Regards,
> Chow Loong Jin
>
> --
> backlight failed after suspend to ram on IBM X40
> https://bugs.launchpad.net/bugs/292256
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Maximiliano Augusto Castañón Araneda
Santiago, Chile
Linux user # 394821