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