updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / acpi-eee1000 / eee.conf
blob9f26c4612e5c361775fb901ca527db8763f06dca
1 #####################################
2 #### acpi-eee configuration file ####
3 #####################################
5 #### Fallback user to be used for X session if autodetection fails ####
7 XUSER=username
9 #### Power button settings ####
11 #POWER_BUTTON_COMMAND="/sbin/shutdown -t3 -h now"
12 POWER_BUTTON_COMMAND=""
14 #### AP-button application/task manager launcher (Fn-F6) ####
16 AP_COMMAND="xterm -e htop"
18 #### Display toggle (Fn-F5) ####
19 # Set your preferred third display setup; if you don't know, leave defaults
21 # example of clone mode
22 BOTH_DISPLAY_COMMAND="xrandr --output LVDS --preferred --output VGA --preferred"
23 # for more help consult "man xrandr"
25 # extra user commands executed while:
26 # LVDS (internal display)
27 PRE_LVDS_EXTRA_COMMAND=""
28 POST_LVDS_EXTRA_COMMAND=""
29 # VGA (external display)
30 PRE_VGA_EXTRA_COMMAND=""
31 POST_VGA_EXTRA_COMMAND=""
33 #### Lid events ####
35 # Scripts ALWAYS tries to TURN OFF the screen (DPMS) when lid is
36 # closed and back on when lid is opened.
38 # Set this to "yes" to run ON_*_LID_CLOSE_ACTION commands on lid events.
40 COMMAND_ON_LID_CLOSE=no
42 # Examples:
43 # Suspend to ram when lid is closed
44 #ON_AC_LID_CLOSE_ACTION="/etc/acpi/eee/suspend2ram.sh"
45 #ON_BATTERY_LID_CLOSE_ACTION="/etc/acpi/eee/suspend2ram.sh"
47 # When on AC do nothing (this will still turn the screen off)
48 # and on battery shutdown the computer.
49 # ON_AC_LID_CLOSE_ACTION=""
50 # ON_BATTERY_LID_CLOSE_ACTION="/sbin/halt"
52 #### WLAN-toggling (Fn-F2) ####
53 # Optional command to be executed with wireless on/off
55 NETWORK_UP_COMMAND=""
56 NETWORK_DOWN_COMMAND=""
58 #### Suspend extra command ####
59 # Optional command to execute before/after suspend to ram
61 PRE_SUSPEND_COMMAND=""
62 POST_SUSPEND_COMMAND=""
64 #### Power source  ####
65 # Commands to run when AC power source is plugged in or unplugged
67 #AC_PLUGGED_COMMAND="/etc/acpi/eee/fsb.sh autoACon"
68 #AC_UNPLUGGED_COMMAND="/etc/acpi/eee/fsb.sh autoACoff"
69 AC_PLUGGED_COMMAND=""
70 AC_UNPLUGGED_COMMAND=""
72 #### Brightness on battery/AC ####
74 BRIGHTNESS_AC="6"
75 BRIGHTNESS_BATTERY="2"
77 #### Critical battery level command ####
79 BATTERY_CRITICAL="/etc/acpi/eee/suspend2ram.sh"
81 #### Asusosd screen position ####
83 # Asusosd must be restarted changes to take effect.
84 # Value can be either integer or text "center" as shown below.
85 # If none is set, default position (2,2) will be used.
87 #ASUSOSD_XPOS=200
88 #ASUSOSD_XPOS=center
89 #ASUSOSD_YPOS=350
90 #ASUSOSD_YPOS=center
92 #### Silver function buttons ####
94 BUTTON_BLANK="/etc/acpi/eee/buttonblank.sh"
95 BUTTON_RESOLUTION="/etc/acpi/eee/buttonres.sh"
96 #BUTTON_USER1=""
97 #BUTTON_USER1="/etc/acpi/eee/fsb.sh next"
98 #BUTTON_USER2=""
99 #BUTTON_USER2="/etc/acpi/eee/cardr.sh"
102 #############################################################################
103 #### WARNING: Edit these lines below only if you know what are you doing ####
104 #############################################################################
106 #### wireless device ####
108 WIRELESS_DEVICE="ra0"
109 #WIRELESS_DEVICE="wlan0"
110 WIRELESS_MODULE="rt2860sta"
111 #WIRELESS_MODULE="iwl3945"
112 WIRELESS_SWITCH="/proc/acpi/asus/wlan"
113 #WIRELESS_SWITCH="/sys/devices/platform/eeepc/wlan"
115 #### powersave value for iwl3945 on battery, 1 to 5, on AC is set 6 as default
116 # 1 low powersave ...  5 best powersave
118 WIRELESS_POWERSAVE="5"
120 ### Bluetooth toggle
121 # To use this script, make sure your ACPI module contains the bluetooth
122 # patch, and that the file "/proc/acpi/asus/bluetooth" exists.
123 # Then set BUTTON_USER2 (the fourth silver user hotkey) to
124 # "/etc/acpi/eee/bluetooth.sh"
125 # Set ENABLE_BLUETOOTH=Y to enable ASUSOSD icons.
127 #BLUETOOTH_SWITCH="/proc/acpi/asus/bluetooth"
128 #ENABLE_BLUETOOTH=N
129 #BUTTON_USER2="/etc/acpi/eee/bluetooth.sh"
131 #### FSB Power management settings ####
133 # WARNING:  enabling the following features will allow the user to
134 # change CPU speed, and may cause instability, up to and including
135 # burning out the CPU.  Use at your risk!
137 # These functions require the 'eee' kernel module.  Make sure
138 # that the module is loaded (add it to your MODULES list
139 # in /etc/rc.conf), and verify that the file '/proc/eee/fsb' exists.
141 # ENABLE_PWRMGMT
142 # If this is set to "Y", then third silver user hotkey will be
143 # enabled to set set the CPU speed by modifying the FSB.
144 # There are currently three settings:  Power Saving, High Performance,
145 # and Super Performance (overclock)
146 # See the script /etc/acpi/eee/fsb.sh for more information.
148 ENABLE_PWRMGMT=N
149 #ENABLE_PWRMGMT=Y
151 # ENABLE_PWRMGMT_AUTO
152 # If this is set to "Y", then the CPU speed will be automatically
153 # adjusted by modifying the FSB on AC_ON, AC_OFF, SUSPEND and RESUME events.
154 # This feature can only be used when ENABLE_PWRMGMT=Y (above).
155 # See the script /etc/acpi/eee/fsb.sh for more information.
157 #ENABLE_PWRMGMT_AUTO=Y
158 ENABLE_PWRMGMT_AUTO=N
160 # You may tweak the PLL multipliers below.  The default values have been
161 # tested, and should work on most Eee 901s;  modify them AT YOUR OWN RISK.
163 # Power save mode PLL multiplier
164 PWRSAV=85
165 # High performance PLL multiplier
166 HIPERF=100
167 # Super performance PLL multiplier (CPU is slightly overclocked)
168 SPPERF=110