acpi-support - scripts for handling many ACPI events

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: acpi-support
Package version: 0.142
Package release:
Package architecture: amd64
Package type: deb
Installed size: 92 B
Download size: 9.96 KB
Official Mirror:
This package contains scripts to react to various ACPI events. It only includes scripts for events that can be supported with some level of safety cross platform. It is able to: * Detect loss and gain of AC power, lid closure, and the press of a number of specific buttons (on Asus, IBM, Lenovo, Panasonic, Sony and Toshiba laptops). * Suspend, hibernate and resume the computer, with workarounds for hardware that needs it. * On some laptops, set screen brightness.



  • uswsusp <= 0.2


    Source package: acpi-support

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install acpi-support deb package:
      # sudo apt-get install acpi-support


    • /etc/acpi/
    • /etc/acpi/
    • /etc/acpi/
    • /etc/acpi/
    • /etc/acpi/
    • /etc/acpi/events/asus-keyboard-backlight-down
    • /etc/acpi/events/asus-keyboard-backlight-up
    • /etc/acpi/events/asus-wireless-off
    • /etc/acpi/events/asus-wireless-on
    • /etc/acpi/events/ibm-wireless
    • /etc/acpi/events/lenovo-undock
    • /etc/acpi/events/thinkpad-cmos
    • /etc/acpi/events/tosh-wireless
    • /etc/default/acpi-support
    • /usr/share/acpi-support/state-funcs
    • /usr/share/doc/acpi-support/README
    • /usr/share/doc/acpi-support/changelog.gz
    • /usr/share/doc/acpi-support/copyright


    2013-04-30 - Martin Pitt <> acpi-support (0.142) saucy; urgency=low * Drop events/lidbtn, Handled by logind now. * Drop events/asus-rotate and, this has been handled by gnome-settings-daemon and friends for ages. * Drop events/sleepbtn,,, also handled by g-s-d and friends. * Drop events/panasonic-lockbtn,, lib/screenblank: This only applies to xscreensaver and radeontool (dcop has ceased to exist a long time ago), and only for a few machines. * Drop,, and events using it: Handled by desktop. * lib/power-funcs: Drop getXuser() and getXconsole(): No remaining users, and these used ConsoleKit. Drop consolekit dependency. * Drop and events/{battery,ac}: upower has done this for a long time, and we don't support anything else. * Drop events/tosh-hibernate and Handled by desktops. Drop pm-utils dependency. * Drop acpi_fakekey, associated build system, and scripts/events that use it. This is supposed to work with proper kernel drivers or udev keymap overrides, most of it is probably obsolete, and the rest should be fixed properly. * Drop lib/{device,policy}-funcs, not used by anything any more. * Drop debian/init.d, upower automatically does that. Drop lib/power-funcs, init script was the last consumer. * Drop obsolete dependencies: x11-xserver-utils, hdparm, lsb-base, powermgmt-base, laptop-detect, dmidecode. * debian/{pre,post}inst: Remove transitional code for versions before 140, i. e. the last LTS. * debian/preinst: Clean up the gazillion obsolete conffiles which were removed above.

    2012-10-09 - Timo Aaltonen <> acpi-support (0.141) quantal; urgency=low [ Steve Langasek ] * drop asus-brightness-{up,down} handlers and asus-brn-{down,up} scripts. LP: #955176. [ Timo Aaltonen ] * Don't handle Synaptics devices. (LP: #804109)

    2012-03-13 - Steve Langasek <> acpi-support (0.140) precise; urgency=low [ James Ferguson ] * add support for Elantech touchpads. LP: #953296. * events/lenovo-touchpad2: new event handler for an acpi event on newer ThinkPads which always maps to the touchpad. [ Troy Sankey ] *, events/asus-keyboard-backlight-{up,down}: add support for hotkey that adjusts the keyboard backlight on the ASUS G73jh and others. LP: #931614.

    2012-03-03 - Steve Langasek <> acpi-support (0.139) precise; urgency=low * lib/power-funcs: adjust getXuser and getXconsole to use consolekit instead of ps/who to identify the "foreground" session and the owner of a given X session, since lightdm is currently failing to record this information in utmp. Also, add headers for each of these functions documenting how they're supposed to work, since it's completely non-obvious and some of the scripts already in acpi-support are using them wrong. Thanks to Ayan George <> for the preliminary patch. LP: #933626, #893271. * fix wrong use of getXconsole where getXuser is needed.

    2010-11-21 - Steve Langasek <> acpi-support (0.138) natty; urgency=low * drop sony-* event handlers, which are also now superseded by a kernel input device; and drop the sound button action scripts, of which the sony events were the last users. LP: #676685.

    2010-06-22 - Steve Langasek <> acpi-support (0.137) maverick; urgency=low *, lib/policy-funcs: don't call pm-powersave if upower is running, as upower already does this for us unconditionally and we don't want to run these scripts twice. Eventually should be dropped entirely, but Kubuntu hasn't yet transitioned to use upower. LP: #582471. * lib/power-funcs: drop dependency on finger, we can do this just as well using who from coreutils.