acpi-support (0.109-11) unstable; urgency=high

  * Fix postinst to not remove thinkpad_acpi.modprobe. Closes: #514278
  * Fix tests in postinst that are supposed to match on upgrade only to
    not match on initial install (when $2 is empty).

 -- Raphael Hertzog <hertzog@debian.org>  Fri, 06 Feb 2009 09:09:28 +0100

acpi-support (0.109-10) unstable; urgency=low

  * Fix default settings for Thinkpad R50e 1834. Closes: #507927

 -- Raphael Hertzog <hertzog@debian.org>  Fri, 12 Dec 2008 16:33:12 +0100

acpi-support (0.109-9) unstable; urgency=low

  * Fix fix on broken getXuser so that it only takes the first
    line of output from w -hs that matches  (Closes: #497999)

 -- Bart Samwel <bart@samwel.tk>  Mon, 08 Sep 2008 20:42:41 +0200

acpi-support (0.109-8) unstable; urgency=low

  * Fix broken getXuser (Closes: #497999)

 -- Bart Samwel <bart@samwel.tk>  Sun, 07 Sep 2008 10:19:26 +0200

acpi-support (0.109-7) unstable; urgency=low

  * Reported in #497220: CheckPolicy() now calls getXconsole instead of
    getXuser, as it should.
  * getXuser() now uses "w" to determine the X user. The old code used
    finger, but this was highly unreliable. (Closes: #497220)
  * Added missing 'policy-funcs' include to hibernatebtn.sh (Closes: 
    #497125)
  * scripts in /etc/acpi no longer test files from acpi-support-base
    to see if they should run (Closes: #497801)
  * Always consider a dbus-send call for a suspend method failed if 
    dbus-send returns an error code (Closes: #496911)

 -- Bart Samwel <bart@samwel.tk>  Thu, 04 Sep 2008 20:00:27 +0200

acpi-support (0.109-6) unstable; urgency=high

  * /etc/acpi/events/sleepbtn: /etc/acpi/events/sleepbtn runs wrong
    script (Closes: #489465)
  * /etc/acpi/battery.d is ignored on newer kernels (Closes: #491396)
  * Incorrect D-BUS HAL call in dbus-hal suspend method (Closes:
    #488937)

 -- Bart Samwel <bart@samwel.tk>  Tue, 19 Aug 2008 21:39:41 +0200

acpi-support (0.109-5) unstable; urgency=low

  * Make suspendorhibernate script executable.

 -- Bart Samwel <bart@samwel.tk>  Sun, 22 Jun 2008 23:11:52 +0200

acpi-support (0.109-4) unstable; urgency=low

  * Bashisms of the form '. script args' (Closes: #485435)
  * Use legacy suspend mode by default for existing setups (but not for 
    new ones) . (Closes: #485564)
  * Do not send fake keys to user interface for /etc/acpi/sleep.sh and
    /etc/acpi/hibernate.sh calls, only for button presses.
    (Closes: #484901)

 -- Bart Samwel <bart@samwel.tk>  Sun, 22 Jun 2008 23:01:32 +0200

acpi-support (0.109-3) unstable; urgency=low

  * /usr/share/acpi-support/screeblank returns 0 before blanking the
    screen (Closes: #483015)

 -- Bart Samwel <bart@samwel.tk>  Sun, 22 Jun 2008 22:43:13 +0200

acpi-support (0.109-2) unstable; urgency=low

  * Reinstate thinkpad_acpi.modprobe to fix "Many Thinkpad X60 keys stop
    working" (Closes: #481253)
  * Fix incorrect usage of getXconsole instead of getXuser in lid.sh
    (Closes: #481534)
  * toshset, nvclock moved to Recommends instead of Depends (Closes: #410918,
    #434566, #438665, #445900 #457387)
  * Deprecate built-in suspend/hibernate handling in favor of dbus
    calls.
  * Support suspend/hibernate handling by dbus calls to a power
    management daemon or HAL, calling the pm-utils package, calling the
    hibernate package, or using the legacy built-in suspend/hibernate support.
    By default, send keys to the known power management daemons, or if they
    are not running, fall back to use dbus to a power management daemon,
    dbus directly to HAL, and direct calls to pm-utils.
  * Add Recommends for hal, pm-utils, dbus.
  * Ignore errors in 90-hdparm.sh while detecting if APM is supported,
    since not all drives support the HDIO_GET_IDENTITY operation.
    (Closes: #481685)
  * lid.sh doesn't give lid.sh.pre a chance to abort the close (Closes:
    #482708)
  * Replace dependency on console-tools by console-utilities, which is a
    virtual package that allows kbd | console-tools. (Closes: #481173)
  * Installation Fails if /proc/acpi/event Not Present (Closes: #481312)
  * Set DM-Upload-Allowed field to yes.

 -- Bart Samwel <bart@samwel.tk>  Sun, 25 May 2008 18:17:46 +0200

acpi-support (0.109-1) unstable; urgency=low

  * New upstream release 0.109 (Ubuntu Hardy) [no relevant changes].
  * New upstream release 0.108 (Ubuntu Hardy) [no relevant changes].
  * New upstream release 0.107 (Ubuntu Hardy):
    * "lib/FUJITSU SIEMENS.config": Fix typo, which caused failures on Fujitsu
      notebooks (LP: #203452)
  * New upstream release 0.106 (Ubuntu Hardy):
    * Add events/asus-video to support asus switch video hotkey; patch from
      Nicolò Chieffo (LP: #138228)
    * Fix the value range in sonybright.sh (0-7 instead of 1-8); patch from
      unggnu (LP: #136380)
    * "lib/FUJITSU SIEMENS.config":
      - Enable suspend for Fujitsu-Siemens C1110 (LP: #52970)
      - Enable STR for Fujitsu-Siemens Lifebook S7020, S7110
    * events/asus-*: Fix event key names for ASUS (HOTK); patch from
      Jeroen van der Vegt (LP: #25784)
    * Fix names in comments for events/panasonic-{mute,volume-down,volume-up}    
    * Drop thinkpad_acpi.modprobe: the workarounds therein are not needed for
      thinkpad_acpi in Hardy anymore; investigations by Jerone Young
      (LP: #194679) [ Note from Bart Samwel: Therefore probably not needed in
      current Debian kernels either. ]
  * New upstream version 0.105 (from Ubuntu Hardy):
    * Fix screenblank for KDE by using a dcop call
  * Add HOTK key names in events/asus-* for more keys than provided by the
    upstream.
  * Remove extra non-owned files on purge. Closes: #455012
  * Call old acpid power button handler /etc/acpi/powerbtn.sh if present.
    Closes: #461311
  * Support "operstate" power state file for madwifi drivers. Closes: #453706.
  * Support operstate, rf_kill and power/state to determine if wireless is
    powered on. Closes: #463719.
  * Support asus-laptop module as well as asus-acpi module for setting the
    wireless LED. Closes: #453856.
  * As a fallback, detect X instances that were not started on a vt.
    Closes: #462954.
  * Add missing checks that acpi-support is installed to some of the config
    scripts. Closes: #469556.
  * Remove Default-Stop entries from vbesave init script, since the script
    doesn't do anything when it's stopped. Closes: #461441.
  * Check that a drive supports APM before using hdparm -B on it.
    Closes: #458787.
  * Divert sleep button to sleep.sh if power management daemons are not
    running, for thinkpad, panasonic, sony and toshiba laptops.
    Closes: #467374, 373660.
  * Stop laptop mode early in the suspend/hibernate process, and start it late
    at resume time. This fixes suspend/resume problems on at least one machine.
    Closes: #458437.
  * Config option USE_HIBERNATE_PACKAGE=true will now instruct acpi-support to
    delegate sleeping and hibernation to the "hibernate" package.
    Closes: #426934, #405563.
  * Check if we can actually open event device in acpi_fakekey. Closes: #410478.
  * Support Asus R1F tablet screen rotation. Kudos to Antonio Trueba.
    Closes: #450531.
  * Remove /etc/acpi/resume.d/49-915-resolution-set.sh. It will be moved to
    the 915resolution package. Closes: #447742, #467347.
  * Don't misinterpret Asus Eee PC hotkeys as brightness keys. Closes: #459328.
  * Support Asus Eee PC volume up/down and mute keys. Closes: #459326.
  * Get rid of extra quotes in asus-wireless.sh.
  * Fix handling of ${shlibs:Depends} in control file (it wasn't generated in
    the rules file).
  * Move radeontool to Recommends. (This is possible because radeontool is in
    task "laptop" now.)
  * Once again got rid of some bash dependencies. Closes: #453861.
  * Be able to detect X user when X has been started using startx. Thanks to
    Csaba Halasz for the patch. Closes: #471510.
  * Call wpa_action stop for wpasupplicant-controlled interfaces before suspend.
    Closes: #473184.
  * Correctly bring up logical interfaces on resume. Closes: #475002.
  * Instead of restarting Network Manager on suspend, call its sleep and wakeup
    events. Closes: #477917.
  * Add console-tools to depends of acpi-support-base, since we use fgconsole in
    power-funcs.
  * Fix dcop call in CheckPolicy to pass the X user. Closes: #480033.
  * Let acpi-support depend on exact version of acpi-support-base.

 -- Bart Samwel <bart@samwel.tk>  Mon, 12 May 2008 17:10:00 +0200

acpi-support (0.103-5) unstable; urgency=low

  [ Bart Samwel ]
  * Don't do exit in 90-hdparm.sh, it exits the whole resume/startup process.
    Closes: #453478.
  * Read laptop-mode.conf better in 90-hdparm.sh. Closes: #452489.
  * Set hdparm -B 128 while on battery in 90-hdparm.sh. Head parking is useful
    on the road for shock protection. Still set hdparm -B 254 while on AC.
  * Listen on a wider range of battery and ac events (required on some
    laptops).

  [ Raphael Hertzog ]
  * Updated Standards-Version to 3.7.3 (no change).
  * Wrap some changelog lines to please lintian.
  * Fix dh_gencontrol invocation to pass "-pacpi-support" before "--".

 -- Raphael Hertzog <hertzog@debian.org>  Thu, 13 Dec 2007 20:27:24 +0100

acpi-support (0.103-4) unstable; urgency=low

  * acpi-support-base now Replaces acpi-support (<= 0.103-2).
    Closes: #451748.
  * Fix checks for existing handlers in powerbutton handler. Closes: #451803
  * Restart laptop-mode after resume, so all of the hardware settings are
    reapplied.

 -- Bart Samwel <bart@samwel.tk>  Sun, 18 Nov 2007 10:36:29 +0200

acpi-support (0.103-3) unstable; urgency=low

  * Rebuild as Debian native package because we diverged too much from Ubuntu.
    This ensures that the source tarball corresponds really to what's in SVN
    and won't reintroduce deleted files. Closes: #451568, #451569

 -- Raphael Hertzog <hertzog@debian.org>  Sat, 17 Nov 2007 20:18:29 +0100

acpi-support (0.103-2) unstable; urgency=low

  [ Bart Samwel ]
  * getXconsole returns wrong DISPLAY="0\n0" (Closes: #437940)
  * powerbtn handler missing (Closes: #433877)
  * Asus wireless card on/off button fix (Closes: #410952)
  * Restore screen brightness on certain Asus laptops (Closes: #448134)
  * Split off power button support into acpi-support-base.
  * Set hdparm power management to 254 for all hard drives. (Closes: #448673)
  * Don't check executable flags on /etc/acpi/suspend.d and /etc/acpi/resume.d
    scripts. (Closes: #447571)
  * Attempt to fix brightness keys for Sony fr215 laptop (Closes: #446056)
  * Support KDE screensaver for screen blanking (Closes: #446516)
  * Listen for Fn+F5 and Fn+F6 again on thinkpads (Closes: #446647)
  * Fix incorrect reference to module sbs in resume.d/72-acpi-pain.sh
    (Closes: #447085)

  [ Raphael Hertzog ]
  * Add descriptions to LSB headers in init scripts (fix lintian warnings).

 -- Raphael Hertzog <hertzog@debian.org>  Thu, 15 Nov 2007 11:45:41 +0100

acpi-support (0.103-1) unstable; urgency=low

  * New upstream version 0.96 (from Ubuntu Gutsy):
    * ibm-acpi has been renamed to thinkpad-acpi. Rename options file
      accordingly. (Closes: #434845)
  * New upstream version 0.96-ubuntu1 (from Ubuntu Gutsy):
    * Build packages for lpia as well.
  * New upstream version 0.97 (from Ubuntu Gutsy):
    * Improve X display finding
    * Switch Thinkpad wireless hotkey control back to firmware for now
    * Improve Toshiba wireless handling
    * Check fragment scripts are executable
    * Improve Panasonic support
    * Improve state saving/restoring over suspend/resume
    * Add Asus brightness key support
    * Alter some dependencies to recommends
    * Fix init script to check state on boot
    * Depend on the appropriate shlibdeps
    * Add a postrm to tidy up the init scripts
    * We no longer need to stop mysql
    * Tidy up scripts so a few errors aren't produced
    * Update sony brightness script to handle sony-laptop  
  * New upstream version 0.98 (from Ubuntu Gutsy):
     * Add support for the video toggle hotkey
  * New upstream version 0.99 (from Ubuntu Gutsy):
    * prepare.sh: Fix missing space in executability test.
  * New upstream version 0.100 (from Ubuntu Gutsy):
    * send events on ACPI brightness presses
  * New upstream version 0.101 (from Ubuntu Gutsy):
    * Switch Thinkpad to using ACPI events for magic keys so that
      'thinkpad-keys' can go away and save us all from the new Lenovopad
      slow NVRAM.
    - See 'hotkey-setup' for remapping and initial module loading + setup.
    * Extend mask used in 'thinkpad_acpi.modprobe'.
  * New upstream version 0.102 (from Ubuntu Gutsy):
    * Poke thinkpad-keys on CMOS notification 
  * New upstream version 0.103 (from Ubuntu Gutsy):
    * Replace call to 'thinkpad-keys-update' with "thinkpad-keys --update"
    * Remove wireless-related comment gruff from 'thinkpad-cmos' event.  
  * Use nvclock instead of smartdimmer for setting LCD brightness on Sony
    laptops. (Closes: #430491)
  * Call the correct function in wireless.sh to toglle wireless states.
    (Closes: #430895)
  * Correctly detect keyboard event device in acpi_fakekey. (Closes: #433771)
  * Add LSB dependency info to acpi-support and vbesave init scripts.
    (Closes: #432020)
  * Fix a problem in power-funcs (getXconsole function), which didn't work when
    COLUMNS was set. (Closes: #437141)
  * Press LEFT SHIFT (using acpi_fakekey) after unblanking the screen when the
    lid is opened. (Closes: #374069)
  * Fix path to backlight control file for sony laptops, from upstream version
    0.97. (Closes: #424004)
  * Honor DEB_BUILD_OPTIONS=nostrip. (Closes: #436370)
  * Document thinkpad_acpi options in thinkpad_acpi.modprobe. (Closes: #438430)
  * Send SIGHUP to ksysguardd on resume so that it reopens its files in
    /proc/acpi. (Closes: #421017)
  * Correct directory existence check in power.sh. (Closes: #430494)
  * Perform error checking for vbetool. (Closes: #445213)
  * Reduced dependency on xbase-clients to x11-xserver-utils. (Closes: #438665)
  
 -- Bart Samwel <bart@samwel.tk>  Sun, 07 Oct 2007 11:15:00 +0200

acpi-support (0.95-2) unstable; urgency=low

  * Remove spurious file acpi-support_0.90-2.diff.gz added in the repository
    during last merge (it's still in the orig.tar.gz though).
  * Add a new SKIP_INTERFACES variables in /etc/default/acpi-support and use
    it to define network interfaces that are not tied to hardware to avoid
    shutting them down during suspend.
  * Properly remove files that have been removed in the SVN in the clean
    target. This is required because the files are still present in the
    .orig.tar.gz file (otherwise autobuilder builds will have the unwanted
    files).
  * Add XS-Vcs-* fields in debian/control.

 -- Raphael Hertzog <hertzog@debian.org>  Fri, 15 Jun 2007 21:34:42 +0200

acpi-support (0.95-1) unstable; urgency=low

  [ Bart Samwel ]
  * New upstream versions (from Ubuntu Feisty and Gutsy).
    * 0.95: Clean up issues with toggling multiple wireless cards.
      - Move variable initiation into loop inside 'wireless.sh'
      - Move contents of 'wireless.sh' into 
        lib/state-funcs:toggleAllWirelessState()
      - Update '{ibm,tosh,asus}-wireless.sh' to use state-funcs
    * 0.95: Remove spurious 'echo HERE' from lib/state-funcs.  D'oh.
    * 0.94: Save and restore values that the kernel does not preserve across
      suspend/resume and hibernate/resume:
      - /sys/class/net/eth*/device/rf_kill
      - /proc/acpi/ibm/bluetooth
      - /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    * 0.94: White list Lenovo ThinkPad Z60m as working suspend.
    * 0.93: Change 'wireless.sh' to use 'device/rf_kill' for wireless
      devices (if available) in preference to 'device/power/state' which
      has been removed by the upstream kernel developers.
    * 0.93: Teach 'lib/state-funcs:isAnyWirelessPoweredOn( )' to also check
      'device/rf_kill' if it's available.
    * 0.93: Change 'ibm-wireless.sh' to rotate wireless and bluetooth states
    * 0.93: Correct inverted logic in 'isAnyWirelessPoweredOn()'.
    * 0.93: Change script shebangs to use '/bin/sh' instead of '/bin/bash'.
    * 0.92: Add 'events/sony-eject' for Sony Vaio TX3.
  * Stop pretending to control laptop-mode-tools, which
    only works (and badly too) in the upstream Ubuntu version. The lmt
    package provides its own acpi bindings. Add reference in config file
    to laptop-mode-tools as a replacement for the current non-working
    configuration option. (Closes: #425800)
  * Change Recommends of laptop-mode-tools to Suggests. This should prevent
    automatic enabling of laptop mode for unsuspecting users, it should not
    be installed by default.
  * Check that acpi-support is still installed in script configuration files.
    (Closes: #424752)
  * Change order of PCI video state restoration so that it is always the last
    to be saved and the first to be restored. (Closes: #396897)
  * Only use ifup/ifdown for interfaces listed by /etc/network/run/ifstate.
    For other interfaces that are up, use "ifconfig down" to force them down,
    and restart network-manager and ifplugd after resume to bring them back up.
    (Closes: #373659)
  * Do not ifup/down "lo" and "dummy..." interfaces over suspend.
    (Closes: #427128)
  * Removed bash dependencies. (Note that this may break custom scripts in
    /etc/acpi that contain bashisms, as the scripts are sourced, not just
    executed.) (Closes: #407510)
  * Instead of only restoring the hardware clock on resume, stop and start the
    hwclock.sh service over suspend. (Closes: #389537)
  * Move radeontool call out of loop in lid.sh. (Mentioned in bug 391498, but
    does not solve the bug.)
  * Potential fix for "sometimes lid.sh doesn't work" bug. (Part of bug 391498,
    but not enough to close it.)
  * Bump up Debhelper compatibility level to 5.
  * Remove useless use of grep in asus-touchpad.sh.

  [ Raphael Hertzog ]
  * Mark Bart as Maintainer.
  * Put myself in Uploaders instead.
  * Sponsor upload for Bart. Change version to 0.95-1.
  * Manually remove (or move out of the way) old scripts in postint. Concerns:
    - /etc/acpi/suspend.d/80-video-pci-state.sh
    - /etc/acpi/resume.d/49-855-resolution-set.sh
    - /etc/acpi/resume.d/13-855-resolution-set.sh
    - /etc/modprobe.d/toshiba_acpi.modprobe
  * Documents policy for handling obsolete configuration files in
    README.Debian.

 -- Raphael Hertzog <hertzog@debian.org>  Thu, 14 Jun 2007 21:52:16 +0200

acpi-support (0.90-4) unstable; urgency=low

  * Change logic of isAnyWirelessPoweredOn() to only succeed if one wireless
    device with support for reporting a "state" in sysfs is turned on;
    closes: #410402.
  * Add myself as uploader.
  * Install new manpage for acpi_fakekey, thanks Nico Golde; closes: #383365.
  * Call dh_strip to drop the ELF comment section of acpi_fakekey.
  * Depend on radeontool on all arches.

 -- Loic Minier <lool@dooz.org>  Sun, 11 Feb 2007 19:48:22 +0100

acpi-support (0.90-3) unstable; urgency=low

  * Disable VESA BIOS Extensions (VBE) state saving / restoring for X60s
    Thinkpads (models 1702*, 1704*); closes: 407188.

 -- Loic Minier <lool@dooz.org>  Fri, 19 Jan 2007 22:57:56 +0100

acpi-support (0.90-2) unstable; urgency=low

  * Invoke /usr/sbin/s2disk instead of /sbin/s2disk; thanks Jan Luebbe.
  * Don't pass any arguments to s2disk as it doesn't support these in newer
    uswsusp versions.
  * Fix "APCI" instead of "ACPI" typo in IBM.config; thanks Joshua Kwan;
    closes: #389511.

 -- Loic Minier <lool@dooz.org>  Sun, 22 Oct 2006 19:15:00 +0200

acpi-support (0.90-1) unstable; urgency=low

  * New upstream versions (from Ubuntu Edgy).
    * 0.90: Explicitly switch the screen back to text mode if it was that way
            before resume.
    * 0.89: Add support for high-res uswsusp
    * 0.88: Change defaults
    * 0.87: Add support for using uswsusp
  * Conflict with uswsusp <= 0.2 as well.

 -- Loic Minier <lool@dooz.org>  Sat, 21 Oct 2006 12:59:06 +0200

acpi-support (0.86-1) unstable; urgency=low

  * New upstream version (from Ubuntu Edgy).
    * 0.86: Remove stop links from rc0 and rc6
    * 0.85: Don't unload nsc-ircc on suspend
  * Add ${shlibs:Depends} and call to dh_shlibdeps. Closes: #383449
  * 855resolution is no more in Debian, replaced by 915resolution. 
    Closes: #381210
  * Improved description, thanks to Clément Stenac. Closes: #383691
  * Removed README.toshiba which doesn't apply to Debian (or which doesn't
    apply any more, the toshiba_acpi option indicated doesn't exist in
    2.6.17.7). Closes: #383326

 -- Raphael Hertzog <hertzog@debian.org>  Sun, 20 Aug 2006 10:43:59 +0200

acpi-support (0.84-1) unstable; urgency=low

  * New upstream version.
  * Put laptop-mode-tools in Recommends instead of Depends to not force the
    user to use it: it can be painful to have to wait for the disk to spin up
    and the gain is not always worth it with recent (very small) hard-disks.
  * Add upstream changelog.

 -- Raphael Hertzog <hertzog@debian.org>  Fri, 16 Jun 2006 17:51:06 +0200

acpi-support (0.80-1) unstable; urgency=low

  * Initial release.
  * Add a watch file.
  * Little fixes for lintian compliancy.

 -- Raphael Hertzog <hertzog@debian.org>  Mon, 15 May 2006 00:02:44 +0000
