Commit 3b0e89cd authored by Francesco Marinucci's avatar Francesco Marinucci

acpi-eeepc-generic update to 1.0.2

parent 00169015
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=acpi-eeepc-generic
pkgver=1.0rc3
pkgrel=3
pkgver=1.0.2
pkgrel=1
pkgdesc="ACPI scripts for EeePC netbook computers (700, 701, 900, 900A, 901, 904HD, S101, 1000, 1000H, 1000HD, 1000HE, 1005HA, 1005-HA-H, 1005PE, 1005P, 1008HA, 1201N, T91MT)"
url="http://code.google.com/p/acpi-eeepc-generic/"
arch=(any)
arch=('x86_64')
license=(GPL3)
depends=(acpid xorg-server-utils dmidecode)
depends=('acpid' 'xorg-server-utils' 'dmidecode')
optdepends=(
"unclutter: Hide cursor when touchpad is disabled"
"kdebase-runtime: KDE's super-user privileges gaining"
"kdebase-kdialog: KDE's OSD"
"kde-runtime: KDE's super-user privileges gaining"
"sudo: super-user privileges gaining"
"gksu: GNOME/GTK super-user privileges gaining"
)
......@@ -23,27 +19,43 @@ backup=(etc/conf.d/acpi-eeepc-generic.conf)
conflicts=("acpi-eee" "acpi-eee900" "acpi-eee901" "acpi-eee1000" "acpi-eeepc900" "buttons-eee901" "e3acpi" "eee-control" "eee-fan")
categories=('system')
source=(
"acpi-eeepc-generic-events"
"acpi-eeepc-defaults-events.conf"
"acpi-eeepc-1000-events.conf"
"acpi-eeepc-1000H-events.conf"
"acpi-eeepc-1000HD-events.conf"
"acpi-eeepc-1000HE-events.conf"
"acpi-eeepc-1000H-events.conf"
"acpi-eeepc-1001P-events.conf"
"acpi-eeepc-1001PX-events.conf"
"acpi-eeepc-1005HA-events.conf"
"acpi-eeepc-1005-HA-H-events.conf"
"acpi-eeepc-1005HAG-events.conf"
"acpi-eeepc-1005PE-events.conf"
"acpi-eeepc-1005PEB-events.conf"
"acpi-eeepc-1005P-events.conf"
"acpi-eeepc-1005PX-events.conf"
"acpi-eeepc-1005PXD-events.conf"
"acpi-eeepc-1008HA-events.conf"
"acpi-eeepc-1001P-events.conf"
"acpi-eeepc-1015B-events.conf"
"acpi-eeepc-1015P-events.conf"
"acpi-eeepc-1015PEM-events.conf"
"acpi-eeepc-1015T-events.conf"
"acpi-eeepc-1201HA-events.conf"
"acpi-eeepc-1201N-events.conf"
"acpi-eeepc-1201PN-events.conf"
"acpi-eeepc-1201NL-events.conf"
"acpi-eeepc-1215N-events.conf"
"acpi-eeepc-1215B-events.conf"
"acpi-eeepc-700-events.conf"
"acpi-eeepc-701-events.conf"
"acpi-eeepc-900-events.conf"
"acpi-eeepc-900A-events.conf"
"acpi-eeepc-900-events.conf"
"acpi-eeepc-901-events.conf"
"acpi-eeepc-904HD-events.conf"
"acpi-eeepc-S101-events.conf"
"acpi-eeepc-T101MT-events.conf"
"acpi-eeepc-T91MT-events.conf"
"acpi-eeepc-defaults-events.conf"
"acpi-eeepc-generic-events"
"acpi-eeepc-X101H-events.conf"
"acpi-eeepc-generic-functions.sh"
"acpi-eeepc-generic-handler.sh"
"acpi-eeepc-generic-logsbackup.rcd"
......@@ -59,49 +71,61 @@ source=(
"acpi-eeepc-generic-toggle-touchpad.sh"
"acpi-eeepc-generic-toggle-webcam.sh"
"acpi-eeepc-generic-toggle-wifi.sh"
"acpi-eeepc-generic.conf"
"bluetooth.png"
"eee.png")
"acpi-eeepc-generic.conf")
md5sums=('be2c9c078c781185356c775f7a785569'
md5sums=('cf253e386d7e743a3d25ec4165051521'
'323c03e32baec7eca3f360a282490cda'
'be2c9c078c781185356c775f7a785569'
'be2c9c078c781185356c775f7a785569'
'8978b064b40be086942116b0c7779de6'
'be2c9c078c781185356c775f7a785569'
'5ec8097c18e623d6ba2bff1f5a814885'
'476668a307c1ac833049ead5303cbc37'
'5ec8097c18e623d6ba2bff1f5a814885'
'be56ea98b9aa016098bdab9cbb110334'
'5ec8097c18e623d6ba2bff1f5a814885'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'5ec8097c18e623d6ba2bff1f5a814885'
'5ec8097c18e623d6ba2bff1f5a814885'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'03c04440f12e3700592664320b9138a6'
'c75b95926e0ac397b0eea6e054ea9154'
'c75b95926e0ac397b0eea6e054ea9154'
'c75b95926e0ac397b0eea6e054ea9154'
'c75b95926e0ac397b0eea6e054ea9154'
'c75b95926e0ac397b0eea6e054ea9154'
'c75b95926e0ac397b0eea6e054ea9154'
'75016dde1f414772434c2c151b159c29'
'75016dde1f414772434c2c151b159c29'
'ae981fe86cd99b736ba740fffbfec3e0'
'a34fbf623a7d3e41cdf378924837dbbe'
'ae981fe86cd99b736ba740fffbfec3e0'
'0e7c2e4cdcb2894d67cb62f526ae491d'
'533018701f2f67873396994ec364bb36'
'ce02758525ba114f2f0ab3d5c564d4f3'
'75bd2c42f01a6733ab5a2f7a0c15c70d'
'323c03e32baec7eca3f360a282490cda'
'cf253e386d7e743a3d25ec4165051521'
'9444ff2c95380825af9f8c0c3ea65566'
'0964588390647e98b475af0fb3f688de'
'75bd2c42f01a6733ab5a2f7a0c15c70d'
'c75b95926e0ac397b0eea6e054ea9154'
'096f637d1548b2f28a6ddf751f5ff2c2'
'000e26f2fd8fb92f750296b755a16649'
'06137998d8ef768763bb327f8716641e'
'7e26565bd36e2411ab998d6bcfe15f9e'
'13c38e64dab996301f8d724342178cfc'
'026238ef581ca0e844d3304c5df9433f'
'3927305c811cef63ae52e803a169d7b2'
'e956bc5d3761630f3c01b8b7df80f1d1'
'b84ce693c3095e5059da0fa84b575990'
'fc6902bccab69842ba5bfc6139fcf74c'
'0be0da28548b7f54baab01c4a559de8e'
'45738315630165b45470694a67c8121d'
'87a977662d92c640b21b97e1c705ad57'
'12c506d5a4ae304833f22f04b5d5c1f0'
'614647590c18eb4de123263bd7bceaa8'
'ca53efde37b4484ca05a5a9dddde423c'
'fb7539a926831b28050267e13394c831'
'39f88b5f21b1249a1da04e921deeec95'
'398fda7498fa76f7dd511dc6bfad4a9b'
'b6e3ad05a0d6c9ed87bd0859267e86d8'
'4d9af939dbd59121cd4bb191d340eb1c')
'92d41b7a65fa773fc2c6c59b92c9859f'
'318d5cae4a833dfccd0f10ba9496352b'
'63908e6167fc455c678c21a045aef037'
'4621ffb00858a03d05a89a669a20e6f5'
'a7accb76fd44f06817925556fc337ac1')
package() {
mkdir -p $pkgdir/{etc/{acpi/{eeepc/models,events},conf.d,rc.d},usr/share/{applications,pixmaps}}
......@@ -128,6 +152,4 @@ package() {
install -m0755 $f ${pkgdir}/etc/acpi/eeepc
done
install -m0644 ${srcdir}/eee.png ${pkgdir}/usr/share/pixmaps
install -m0644 ${srcdir}/bluetooth.png ${pkgdir}/usr/share/pixmaps
}
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_RESOLUTION=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="0000001b" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_RESOLUTION=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
KEY_SILVER1=NONE
KEY_SILVER2=NONE
KEY_SILVER3=NONE
KEY_SILVER4=NONE
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
KEY_Fn_F3="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
#################################################################
### Match previous to functions
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_ROTATE=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
# This laptop has one silver button (touchpad), witch give same code as Fn+F9
# Fn+F? combination
KEY_Fn_F1="00000080" # Sleep
KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
# Fn+F3 and Fn+F4 does not have functions
KEY_Fn_F5="0000002*" # Brightness down
KEY_Fn_F6="0000002*" # Brightness up
KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
KEY_Fn_F8="00000030" # XRandR
KEY_Fn_F9="00000037" # Touchpad
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar
KEY_Fn_C="0000003c" # Resolution
#################################################################
### Match previous to functions
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=$KEY_Fn_F8
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12
EEEPC_SHE_TOGGLE=$KEY_Fn_Space
EEEPC_RESOLUTION=$KEY_Fn_C
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
# This laptop has one silver button (touchpad), witch give same code as Fn+F9