Re: resume script not executed - Ubuntu

This is a discussion on Re: resume script not executed - Ubuntu ; On Thu, 30 Aug 2007, jane doa wrote: > On Thu, 30 Aug 2007 09:48:51 +0200, Vitus Jensen wrote: > >> On Mon, 27 Aug 2007, Vitus Jensen wrote: [... /etc/acpi/resume.d/60-thinkpad-wireless-led.sh ...] >>> The funny thing is, /var/log/wlanresume (mode 666) ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: resume script not executed

  1. Re: resume script not executed

    On Thu, 30 Aug 2007, jane doa wrote:

    > On Thu, 30 Aug 2007 09:48:51 +0200, Vitus Jensen wrote:
    >
    >> On Mon, 27 Aug 2007, Vitus Jensen wrote:



    [... /etc/acpi/resume.d/60-thinkpad-wireless-led.sh ...]

    >>> The funny thing is, /var/log/wlanresume (mode 666) is never filled, the
    >>> script obviously isn't executed! Why? I thought this was easy...
    >>>

    >> Nobody? Question too silly?

    >
    > because /etc/acpi/resume.sh isn't being run ?
    >
    > /etc/acpi/sleep.sh looks like it will by-pass resume.sh in some
    > conditions.
    >
    > just a thought.


    A good thought ... but it's even stranger: /etc/acpi/sleep.sh isn't
    executed at all!?!

    I'm using kpowersave to suspend to RAM. If powersaved is suspending by
    itself (how?) then the only hint where to add the LED activation is

    /etc/powersave/events: EVENT_GLOBAL_RESUME_SUSPEND2RAM="restore_after_suspend_to_ram"

    It seems that neither apm nor acpi scripts are called when suspending via
    kpowersave. So I have to look at /usr/lib/powersave/.

    Thank you for providing ideas!
    Vitus

    --
    Vitus Jensen, Hannover, Germany, Earth, Universe (current)

  2. Re: resume script not executed

    On Fri, 31 Aug 2007, Vitus Jensen wrote:

    > On Thu, 30 Aug 2007, jane doa wrote:
    >
    >> On Thu, 30 Aug 2007 09:48:51 +0200, Vitus Jensen wrote:
    >>
    >>> On Mon, 27 Aug 2007, Vitus Jensen wrote:

    >
    >
    > [... /etc/acpi/resume.d/60-thinkpad-wireless-led.sh ...]
    >
    >>>> The funny thing is, /var/log/wlanresume (mode 666) is never filled, the
    >>>> script obviously isn't executed! Why? I thought this was easy...
    >>>>
    >>> Nobody? Question too silly?

    >>
    >> because /etc/acpi/resume.sh isn't being run ?
    >>
    >> /etc/acpi/sleep.sh looks like it will by-pass resume.sh in some
    >> conditions.
    >>
    >> just a thought.

    >
    > A good thought ... but it's even stranger: /etc/acpi/sleep.sh isn't executed
    > at all!?!
    >
    > I'm using kpowersave to suspend to RAM. If powersaved is suspending by
    > itself (how?) then the only hint where to add the LED activation is
    >
    > /etc/powersave/events:
    > EVENT_GLOBAL_RESUME_SUSPEND2RAM="restore_after_suspend_to_ram"
    >
    > It seems that neither apm nor acpi scripts are called when suspending via
    > kpowersave. So I have to look at /usr/lib/powersave/.


    I've deinstalled (k)powersave and am using klaptop now. Now /etc/acpi/
    scripts are executed and the WLAN symbol is automagically enabled after
    resume. klaptop doesn't have all those nice features of kpowersave but it
    works.

    I still have to figure out whether laptop mode is enabled, throttleling is
    enabled and the like but as the next LTS version isn't released before
    april 2008 I can take my time.

    Thread closed.

    By[t]e,
    Vitus

    --
    Vitus Jensen, Hannover, Germany, Earth, Universe (current)

+ Reply to Thread