please merge laptop-mode-tools 1.45-1 from Debian unstable main

Bug #255446 reported by Tormod Volden
4
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: laptop-mode-tools

It seems to have enough fixes to make a merge worthwhile. The patch from bug #250935 is included in this merge.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

This is the MoM merge, fixed up a bit, as a starting point.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Now added Alexey's work in bug #250935.

Revision history for this message
Tormod Volden (tormodvolden) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Corrected the "=" checking in the hooks so that ENABLE_LAPTOP_MODE is honoured.

description: updated
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Honour the "init" argument used by the init script, and put back WAS_INIT=0 which is used by the laptop-mode module.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

For reference, here is the changelog entry:

 laptop-mode-tools (1.45-1ubuntu1) intrepid; urgency=low
 .
   [ Tormod Volden ]
   * Merge from debian unstable (LP: #255446), remaining changes:
     - etc/init.d/laptop-mode: Check if laptop mode is disabled in
       /etc/default/laptop-mode (that's the file laptop_mode looks into, too,
       but it incorrectly evaluates the ENABLE_LAPTOP_MODE setting) as well
       as in /etc/default/acpi-support.
     - usr/sbin/laptop_mode: Do not parse arguments, ignore "force" and
       let start/stop mean enable/disable.
     - /usr/sbin/laptop_mode: Do not read $ACTIVATE_WITH_POSSIBLE_DATA_LOSS
       from /var/run/laptop-mode-state to see if state has changed.
     - debian/rules: Do not ship acpi/apm scripts (we handle that ourselves)
     - debian/laptop-mode-tools.preinst: Remove any old acpi/apm scripts
     - debian/laptop-mode-tools.postinst: Create /etc/default/laptop-mode
       (with ENABLE_LAPTOP_MODE=false) if the file does not exist yet and we
       are on ppc.
     - Also accept "stop" as second argument since the init script
       calls laptop_mode with "init stop"
 .
   [ Alexey Borzenkov ]
   * Change default settings to match acpi-support (LP: #250935)
     - etc/laptop-mode/laptop-mode.conf: change default spindown time and
       power management modes
   * Add pm-utils hooks to ensure laptop-mode is running as expected after
     power change or thaw/resume
     - power.d/laptop-mode: runs laptop-mode on power change
     - sleep.d/96laptop-mode: runs laptop-mode on thaw/resume

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package laptop-mode-tools - 1.45-1ubuntu1

---------------
laptop-mode-tools (1.45-1ubuntu1) intrepid; urgency=low

  [ Tormod Volden ]
  * Merge from debian unstable (LP: #255446), remaining changes:
    - etc/init.d/laptop-mode: Check if laptop mode is disabled in
      /etc/default/laptop-mode (that's the file laptop_mode looks into, too,
      but it incorrectly evaluates the ENABLE_LAPTOP_MODE setting) as well
      as in /etc/default/acpi-support.
    - usr/sbin/laptop_mode: Do not parse arguments, ignore "force" and
      let start/stop mean enable/disable.
    - /usr/sbin/laptop_mode: Do not read $ACTIVATE_WITH_POSSIBLE_DATA_LOSS
      from /var/run/laptop-mode-state to see if state has changed.
    - debian/rules: Do not ship acpi/apm scripts (we handle that ourselves)
    - debian/laptop-mode-tools.preinst: Remove any old acpi/apm scripts
    - debian/laptop-mode-tools.postinst: Create /etc/default/laptop-mode
      (with ENABLE_LAPTOP_MODE=false) if the file does not exist yet and we
      are on ppc.
    - Also accept "stop" as second argument since the init script
      calls laptop_mode with "init stop"

  [ Alexey Borzenkov ]
  * Change default settings to match acpi-support (LP: #250935)
    - etc/laptop-mode/laptop-mode.conf: change default spindown time and
      power management modes
  * Add pm-utils hooks to ensure laptop-mode is running as expected after
    power change or thaw/resume
    - power.d/laptop-mode: runs laptop-mode on power change
    - sleep.d/96laptop-mode: runs laptop-mode on thaw/resume

laptop-mode-tools (1.45-1) unstable; urgency=low

  * New upstream version 1.45.
  * New upstream version 1.44:
    * Strip non-numeric suffixes from kernel minor version number.
      Closes: #488950.
    * Remove spurious error message on machines that don't have
      /sys/class/power_supply. Closes: #490167.
    * Fix incorrect path to laptop-mode.conf in the laptop-mode.conf(8)
      manual page. Closes: #488261.
    * Add sched-mc-power-savings module. Closes: #490587.

laptop-mode-tools (1.43-1) unstable; urgency=low

  * New upstream version 1.43:
    * Don't use temp file in init script, that doesn't work if /tmp is
      mounted readonly. Closes: #480946.
    * Fix IPW2100 power management so that power management mode stays
      enabled even on AC. If we don't do this, we can't control the
      transmit power at all because we let the chipset handle it.
      Closes: #481180.
    * Replace *_ENABLE_HAL_POLLING settings by *_DISABLE_HAL_POLLING.
      More intuitive that way. The old settings were also interpreted
      in reverse. The backward compatibility layer actually *fixes that*
      because it was a bug, so behaviour will change for 1.42
      installations. Closes: #482307.
    * Get rid of bashism in laptop-mode module.
  * Put URL on separate line in README. Closes: #486467.
  * Set DM-Upload-Allowed field to yes.
  * Fix bashism in lm-profiler script. Closes: #480606

 -- Tormod Volden <email address hidden> Wed, 06 Aug 2008 20:06:08 +0200

Changed in laptop-mode-tools:
status: New → Fix Released
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.