EnglishFrenchSpanish

OnWorks favicon

acpitool - Online in the Cloud

Run acpitool in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command acpitool that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


acpitool - a Linux ACPI client, allowing you to query or set ACPI values

SYNOPSIS


acpitool [ -aAbBcefFhjlmnosStTvVwWz ]

DESCRIPTION


acpitool is a Linux ACPI client. It simply reads /proc/acpi or /sys/class entries and
presents the output in a meaningful, human-readable format.

It provides a.o. information on battery status, AC adapter presence, thermal reading, etc.
This command is most useful on laptops with an ACPI compliant BIOS and a Linux kernel,
preferably from the 2.6 series, with ACPI enabled.

Acpitool also allows the machine to be put into standby, if your laptop supports it.

If your laptop is a Toshiba , it allows you to set the LCD brightness level and toggle the
fan on/off.

If you have an Asus laptop, it can also set the LCD brightness level, switch the LCD panel
on or off, and control the mail led and wireless led.

If you have an IBM Thinkpad laptop, it can once again set the LCD brightness level, and
also eject the ultrabay device.

OPTIONS


-a, --ac_adapter
Show AC adapter presence

-A Show supported Asus ACPI extensions (LCD brightness level, video out routing
DSDT/acpi4asus info)

-b Show battery status information, available batteries only.

-B, --battery
Show detailed battery status information, for all battery entries found.

-c, --cpu
Show CPU information (type, speed, PM capabilities, throttling states, c-state
usage, frequency scaling).

-e Show just about everything : more info on the batteries, ACPI version, kernel
version, CPU, . . .

-f, --fan
Show fan status (shows fan info specific to Toshiba or IBM Thinkpad, if
applicable).

-F x Force the fan on (x=1) or switch back to auto mode (x=0). Works only on Toshiba
laptops. The fan is switched off ONLY if it was forced on first, not if it was
switched on automatically. Requires write access to /proc/acpi/toshiba/fan

-h, --help
Show help text.

-j Eject Thinkpad ultrabay device. Requires write acces to /proc/acpi/ibm/bay

-l x Set LCD brightness level to x, where x is in the range 0..7. Works only on Toshiba
and IBM Thinkpad laptops. Requires write access to /proc/acpi/toshiba/lcd or
/proc/acpi/ibm/brightness
Illegal values for x will result in the value being set to either 0 or 7.

-m x Switch the mail led on (x=1) or off (x=0). Works only on Asus laptops. Requires
write access to /proc/acpi/asus/mled

-n x Switch the wireless led on (x=1) or off (x=0). Works only on Asus laptops.
Requires write access to /proc/acpi/asus/wled

-o x Switch the LCD panel on (x=1) or off (x=0). Works only on Asus laptops. Requires
write access to /proc/acpi/asus/lcd

-s, --suspend to memory
Put the machine into sleep state S3, if possible. Requires write access to
/proc/acpi/sleep (kernel 2.4.x) or /sys/power/state (kernel 2.6.x)

-S, --suspend to disk ?
Put the machine into sleep state S4, if possible. Requires write access to
/proc/acpi/sleep (kernel 2.4.x) or /sys/power/state (kernel 2.6.x)

-t, --thermal
Show thermal zone(s) information, including trip_points.

-T, --Toshiba
Show supported Toshiba ACPI extensions, currently being LCD brightness level, video
out routing (what display is the video chip sending to) and fan status (on/off,
forced or not).

-v Show more verbose output when something is not found. Makes sense only when used
together with other options.

-V, --version
Show acpitool version number and release date, then exit.

-w Show the wakeup capable devices. (Available since ACPI 20040715, check your
version).

-W x Enable/disable wakeup capable device x. Run 'acpitool -w' to see valid numbers for
x. Requires write access to /proc/acpi/wakeup

-z x Set Asus LCD brightness level to x, where x is 0..15. Works only on Asus laptops.
Requires write access to /proc/acpi/asus/brn

REMARKS


This program absolutely requires a Linux kernel with ACPI support enabled. This program
will not work without it.

IBM Thinkpad support is part of the Linux kernel since kernel 2.6.10.

Don't blame me if acpitool can't suspend your laptop : there are quite some problematic
laptops out there. Check the acpi-bugzilla list if you don't believe me ;)

Note that some options, like -F, -l , -j, -s, -W and -z, require write access to some of
the /proc/acpi entries. This requires acpitool either to be run as root or either
administrative measures must be taken, most likely by root, to allow ordinary users to
write to these files. Creating a group for ACPI users and setting permissions accordingly
comes to mind.

Also note that older laptops (< 2000) often simply don't have ACPI support, they usually
support APM only.

Use acpitool online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 2
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 3
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 4
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 5
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 6
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • More »

Linux commands

  • 1
    a56
    a56
    A56 - Motorola DSP56001 assembler ...
    Run a56
  • 2
    a68g
    a68g
    a68g - Algol 68 Genie, an Algol 68
    compiler-interpreter ...
    Run a68g
  • 3
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 4
    copydatabase-1.3
    copydatabase-1.3
    copydatabase - Perform a
    document-by-document copy of one or more
    Xapian databases ...
    Run copydatabase-1.3
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad