##### DO NOT EDIT THIS FILE!!! 
##### TO OVERRIDE DEFAULT SETTINGS, USE
##### /etc/sysconfig/eeepc-acpi-scripts.d/ 

# By default, OSD output of function keys is disabled because it's too slow.
# Set to 'yes' if you want fancy OSD overlays.
ENABLE_OSD='yes'
# Set to the name and size of the font used for the overlay.
OSD_FONT='DejaVuSans 36'

# Set this and ENABLE_OSD to yes if you want brightness changes via Fn-Fx to
# be reported.
ENABLE_OSD_BRIGHTNESS='yes'

# Leave these empty to attempt to autoconfigure. If they don't work for you,
# look up the following values by using amixer; one control name per line,
# and enclose them all in *one* pair of single quotation marks, e.g.
# SOUND_LABEL='PCM
# LineOut'
#
# Controls with 'pvolume' capabilities:
SOUND_LABEL=
# Controls with 'pswitch' capabilities:
SOUND_SWITCH=
# Controls with 'pswitch' capabilities only:
SOUND_SWITCH_EXCLUSIVE=

# If auto-configuring, whether to prefer the Master control over others.
# Set to 'no' to disable this. Normally takes effect on reboot.
SOUND_PREFER_MASTER=yes

# Default volume level change.
# You can specify the change in all ways supported by amixer, e.g.
# raw value ('5'), percentage ('1.5625%') or decibels ('0.8dB').
# The different representations are probably not equivalent due to different
# controls having different (raw) ranges. Check amixer output to determine
# what's right for your hardware.
# Leave empty if you want to allow for auto-configuration.
SOUND_VOLUME_STEP=

# Set to 'yes' to display detailed information when the volume up and volume
# down hotkeys are pressed but the volume percentage of all the playback
# devices is not the same.
DETAILED_SOUND_INFO=no

# These are the switches for xrandr --output VGA1 and --output LVDS1
# respectively when Fn-F5 (Fn-F8) is used to select VGA mode.
# * If --auto doesn't give good results for your monitor, specify a mode, e.g.
#     VGA_ON='--mode 1024x768'
#     LVDS_OFF='--off'
# * For xinerama-style (desktop is split across both displays), try:
#     VGA_ON='--auto --above LVDS'
#     LVDS_OFF='--auto'
VGA_ON='--auto'
LVDS_OFF='--off'

# Use the specified suspend method, where the method is actually the name
# of a command. Common methods:
#   pm-suspend (default), pm-hibernate, pm-suspend-hybrid
#   hibernate-ram, hibernate-disk
#
# s2ram and friends can also be specified, but it is usually better to run
# them via a wrapper.
# SUSPEND_OPTIONS is passed as is to the command.
SUSPEND_METHOD=pm-suspend
SUSPEND_OPTIONS=--quirk-s3-bios

# Attempt to lock running xscreensaver or gnome-screensaver on suspend.
# If you use hibernate(1), make sure you only indicate in one place to lock
# the screen.
LOCK_SCREEN_ON_SUSPEND='yes'

# Action to perform when the lid is closed.
# If left empty or set to "suspend", it will suspend via SUSPEND_METHOD
# (specified above).
# To do nothing, set it to "nothing".
# Setting it to anything else will result in it being treated as a command.
LID_CLOSE_ACTION="lock"

# Try to load/unload the hci_usb module and use hcitool for checking
# bluetooth state when the bluetooth control node in
# /sys/devices/platform/bluetooth is not present.
BLUETOOTH_FALLBACK_TO_HCITOOL='yes'

# Configuration of "soft" keys.
# The possible actions are:
#  - handle_blank_screen
#      Turns the display backlight off. Does not activate any screen saver.
#      Pressing a key turns the display backlight back on.
#  - handle_bluetooth_toggle
#      Toggles internal bluetooth adapter on/off.
#      When there iss no bluetooth control node and
#      BLUETOOTH_FALLBACK_TO_HCITOOL is set to 'yes', attempts to toggle
#      on/off any USB bluetooth adapter found.
#  - handle_camera_toggle
#      Toggles internal camera on/off.
#  - handle_vga_toggle
#      Toggles between panel and VGA (as configured above).
#  - handle_gsm_toggle
#      Toggles internal GSM modem (HUAWEI) on/off.
#  - handle_mute_toggle
#      Toggles audio on/off.
#  - handle_volume_up
#  - handle_volume_down
#      Adjust volume level.
#  - handle_shengine
#      Change 'super hybrid engine' setting.
#  - handle_touchpad_toggle
#      Toggles the touchpad on/off.
#  - NONE
#      Ignore the key.
#  - custom command
#      For example you can write a shell function in this file and use its
#      name as an action, or call another internal or external command.

# The silver keys, found on models 900 and above
SOFTBTN1_ACTION='handle_blank_screen'
SOFTBTN2_ACTION='NONE'
SOFTBTN3_ACTION='handle_camera_toggle'
SOFTBTN4_ACTION='handle_bluetooth_toggle'
SOFTBTNSHE_ACTION='handle_shengine'

# Various Fn + key, not all of which are found on all models (or all BIOSes).
# Labelling is "<700/900-series key>/<1000-series key> - function".
# ("--" = not available.)
# --/F3 - touchpad toggle
FnF_TOUCHPAD='handle_touchpad_toggle'
# --/F4 - resolution change
FnF_RESCHANGE='NONE'
# --/F7 - backlight off
FnF_BACKLIGHTOFF='handle_blank_screen'
# F5/F8 - VGA toggle
FnF_VGATOGGLE='handle_vga_toggle'
# F6/F9 - 'task manager' key
FnF_TASKMGR='NONE'
# F7/F10 - mute/unmute speakers
FnF_MUTE='handle_mute_toggle'
# F8/F11 - decrease volume
FnF_VOLUMEDOWN='handle_volume_down'
# F9/F12 - increase volume
FnF_VOLUMEUP='handle_volume_up'

# Clocking options when on AC or battery:
# '0' = overclocked;
# '1' = standard;
# '2' = underclocked
# (etc. as available).
# '' = fastest (AC) or slowest (battery).
PWR_CLOCK_AC=0
PWR_CLOCK_BATTERY=2
# The current state is stored by the BIOS. However, we still have to handle
# "auto" vs. "manual"; this is stored in /var/lib/eeepc-acpi-scripts/cpufv.
# You can use DEFAULT_SHENGINE_CONFIG to provide a setting for when this
# file is missing (which, initially, it will be); if you don't, "auto" mode
# will be chosen for you.
#DEFAULT_SHENGINE_CONFIG=manual
# Set the following to '1' to force usage of S.H.E. even on models that don't
# officialy support it. The default is '0'
#SHENGINE_FORCE_ENABLE=0

for i in /etc/sysconfig/eeepc-acpi-scripts.d/*; do
	[ "${i%\~}" = "$i" ] && [ "${i%.rpm*}" = "$i" ] || continue
	. $i
done
