|
一个版本是在veket5上编译的,另一个版本则适合所有版本的veket。
除了“基本”的 ACPI如电池状态信息,交流存在,等等。 。 。 ,Acpitool还支持东芝,华硕和IBM的Thinkpad笔记本电脑的各种扩展,使您可以改变液晶的亮度水平,开/关切换风扇,等等。
AcpiTool is (yet another) Linux ACPI client. It's a small command-line application, intended to be a replacement for the apm tool. The primary target audience are laptop users, since these people are most interested in stuff like battery status, thermal status and the ability to put their precious laptop to sleep. Most of this does not apply to desktop systems.
Besides "basic" ACPI information like battery status, AC presence, etc . . . , Acpitool also supports various extensions for Toshiba, Asus and IBM Thinkpad laptops, allowing you to change the LCD brightness level, toggle fan on/off, and more.
The program simply accesses the /proc/acpi or /sysfs entries to get/set acpi values. Hence, you need a computer running a Linux kernel from the 2.4.x or 2.6.x series with acpi enabled, to use this program.
cliente ACPI de linha de comando
AcpiTool é um cliente ACPI Linux. Ele é um pequeno aplicativo de linha de comando, que pretende ser um substituto para a ferramenta apm. O público-alvo principal são usuários de laptop, pois estas pessoas estão mais interessadas em coisas como o estado da bateria, o estado térmico e a habilidade de suspender (modo "sleep"). O programa simplesmente acessa as entradas /proc/acpi ou /sysfs para obter ou definir valores ACPI. Ele também suporta várias extensões para laptops Toshiba, Asus, e IBM Thinkpad.
command line ACPI client
AcpiTool is a Linux ACPI client. It's a small command line application, intended to be a replacement for the apm tool. The primary target audience are laptop users, since these people are most interested in things like battery status, thermal status and the ability to suspend (sleep mode). The program simply accesses the /proc/acpi or /sysfs entries to get or set ACPI values. It also supports various extensions for Toshiba, Asus, and IBM Thinkpad laptops.
# acpitool --help
Usage: acpitool [option] . . .
Shows ACPI information from the /proc/acpi filesystem, like battery status,
temperature, or ac power. Can also suspend your machine (if supported).
-a, --ac_adapter AC adapter information
-A, --Asus show supported Asus ACPI extensions (LCD brightness level, video out routing DSTD/acpi4asus info)
-b battery status, available batteries only
-c, --cpu CPU information (type, speed, cache size, frequency scaling, c-states, . . .)
-B, --battery battery status, all info on all battery entries
-e show just about everything
-f, --fan show fan status
-F x force fan on (x=1) or switch back to auto mode (x=0). (Toshiba only)
-h, --help show this help screen
-j eject ultrabay device (Thinkpad only)
-l x set LCD brightness level to x, where x is 0..7 (Toshiba and Thinkpad only)
-m x switch the mail led on (x=1) or off (x=0) (Asus only)
-n x switch the wireless led on (x=1) or off (x=0). (Asus only)
-o x set LCD on (x=1) or off (x=0). (Asus only)
-s, --suspend suspend to memory (sleep state S3), if supported
-S suspend to disk (sleep state S4), if supported
-t, --thermal thermal information, including trip_points
-T, --Toshiba show supported Toshiba ACPI extensions (LCD brightness level, video out routing, fan status)
-v be more verbose (more detailed error messages, only usefull combined with other options)
-V, --version show application version number and release date
-w, --wakeup show wakeup capable devices
-W x enable/disable wakeup capable device x. The x can be seen when invoking -w first.
-z x set Asus LCD brightness level to x, where x is 0..15 (Asus only). |
|