Tuesday, December 16, 2008

Ubuntu 8.10 ACPI scripts for Eee PCs

I have created a new set of scripts to manage ACPI functions under Ubuntu that are designed to be generic, written to search for devices in your Eee PC rather than targetting a specific model so they should work fine on any Ubuntu 8.10 or later Eee PC out there. I'm eager to get feedback on these scripts, so I can mature them.

They have been confirmed to work on the Eee Pc 701 series, 901 series, 904HD, 1000, 1000H, 1000HA, 1000HE, and 1000HD, however all known Eee PC components are detected, and should work out of the box on even the latest Eee. (If not, please tell me)

There is a project on SourceForge for them, link here: http://eeepc-acpi-util.sourceforge.net/

They are available for managed installation via apt by adding the StatUX repository (link on right).

Please consider helping to fund the statux.org repository hosting fees through a small donation.



Here is the original announcement on eeeuser.com: http://forum.eeeuser.com/viewtopic.php?pid=463370

There is an action script that intercepts input from the "special" keys on the EeePC keyboard. These keys are configured as follows by default:

Top row (4 keys)
  • Touchpad On / Off
  • Screen resolution cycle (1024x600, 800x600, 640x480)
  • Bluetooth On / Off
  • Webcam On / Off
Alternately any two of the following can be enabled instead of Bluetooth / Webcam:
  • Rotate Screen (Cycles Left, Inverted, Right, then Normal)
  • CPU Mode cycle (Performance, On Demand, Power Saver)
  • Firefox (Customizable)
  • Pidgin (Customizable)
The FN-[F1-F12] keys are set to the following by default:
  • F1 - Sleep (not managed by my ACPI Scripts)
  • F2 - WIFI (It will autodetect your adapter, or alternately you can select ndiswrapper mode)
  • F5-F6 Brightness (not managed by my ACPI Scripts)
  • F7 - LCD power Toggle On / Off
  • F8 - VGA Output toggle
  • F9 - Gnome System Monitor
  • F10 - Volume Mute
  • F11 - Volume -
  • F12 - Volume +
Additionally, CPU Front Side Bus; CPU Scaling; and the CPU Fan are managed by this suite of tools.

The configuration file is stored in a standard location for (/etc/default) and it's called eeepc-acpi.

Pretty much any configuration parameter is in there, including an option to show you what key you pressed. It doesn't care about models, it looks at your PCI devices to figure out what WIFI card you have, which is override-able if you'd rather use ndiswrapper. You can also change the rate of volume up / down as well as the device (LineOut) by default. Additionally, you can change the fan management mode between "auto" and "managed" and set the temperature zones. The CPU shifts from on demand to performance mode on power change (AC / Battery) as long as CPU Freq is installed.
If you are satisfied with EeePC ACPI Utilities, then do your part to keep the project alive and hosted by helping pay the fees involved with bringing you free software.

NEW: Please provide feedback about your model and level of support here:
[ LINK ]. Thank you.

Download from SourceForge: http://eeepc-acpi-util.sourceforge.net/

Download through APT / Synaptic: http://www.statux.org