acpi-eeepc-generic update to 1.0.2

This commit is contained in:
Francesco Marinucci 2014-04-23 16:54:09 +00:00
parent 0016901533
commit 3b0e89cdc8
30 changed files with 959 additions and 74 deletions

View File

@ -1,20 +1,16 @@
#
# 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
}

View File

@ -0,0 +1,50 @@
# 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

View File

@ -0,0 +1,50 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,55 @@
# 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

View File

@ -0,0 +1,51 @@
# 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

View File

@ -0,0 +1,51 @@
# 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

View File

@ -0,0 +1,51 @@
# 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

View File

@ -0,0 +1,51 @@
# 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

View File

@ -0,0 +1,51 @@
# 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

View File

@ -0,0 +1,58 @@
# Copyright 2010 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/>.
# Silver buttons
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="0000002*" # Brightness down
KEY_Fn_F4="0000002*" # Brightness up
KEY_Fn_F5=("00000030" "00000031" "00000032") # XRandR
KEY_Fn_F6="00000012" # Task Manager
KEY_Fn_F7="00000013" # Mute
KEY_Fn_F8="00000014" # Volume Down
KEY_Fn_F9="00000015" # Volume Up
KEY_Fn_F10="NONE"
KEY_Fn_F11="NONE"
KEY_Fn_F12="NONE"
#################################################################
### Match previous to functions
EEEPC_BLANK=NONE
EEEPC_RESOLUTION=NONE
EEEPC_USER1=NONE
EEEPC_USER2=NONE
EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F4
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F3
EEEPC_SCREEN_OFF=NONE
EEEPC_XRANDR_TOGGLE_0=${KEY_Fn_F5[0]}
EEEPC_XRANDR_TOGGLE_1=${KEY_Fn_F5[1]}
EEEPC_XRANDR_TOGGLE_2=${KEY_Fn_F5[2]}
EEEPC_TASKMAN=$KEY_Fn_F6
EEEPC_VOL_MUTE=$KEY_Fn_F7
EEEPC_VOL_DOWN=$KEY_Fn_F8
EEEPC_VOL_UP=$KEY_Fn_F9

View File

@ -0,0 +1,51 @@
# 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

View File

@ -130,14 +130,15 @@ function send_generic() {
if [ "x$UID" == "x0" ]; then
# Verify if GDM is running
# See http://code.google.com/p/acpi-eeepc-generic/issues/detail?id=62
pkill -0 gdm
GDM_RUNNING=$?
if [ "x$GDM_RUNNING" == "x0" ]; then
eval "${@}"
else
/bin/su $user --login -c "${@}"
fi
#pkill -0 gdm
#GDM_RUNNING=$?
#if [ "x$GDM_RUNNING" == "x0" ]; then
# eval "${@}"
#else
# /bin/su $user --login -c "${@}"
#fi
#export XAUTHORITY=${XAUTHORITY-/home/$user/.Xauthority}
/bin/su $user -c "${@}"
else
#bash -c "${@}"
eval "${@}"
@ -704,11 +705,11 @@ and set XUSER variable to your username." stop 20000
# accordingly.
if [ "x$user" != "x" ]; then
home=$(getent passwd $user | cut -d: -f6)
# If XAUTHORITY is not set, put a default value of
# $home/.Xauthority. Else, take that value.
XAUTHORITY=${XAUTHORITY:-$home/.Xauthority}
[ -f $XAUTHORITY ] && export XAUTHORITY
fi
# If XAUTHORITY is not set, put a default value of
# $home/.Xauthority. Else, take that value.
XAUTHORITY=${XAUTHORITY:-$home/.Xauthority}
[ -f $XAUTHORITY ] && export XAUTHORITY
fi
### End of file #################################################

View File

@ -278,9 +278,11 @@ case "$1" in
esac
;;
*)
msg="acpi-eeepc-generic-handler: undefined group/action ($1) event: $2 $3 $4"
eeepc_notify "$msg" keyboard
logger "$msg"
if [ "$NOTIFY_IGNORE_UNKNOWN" != "yes" ]; then
msg="acpi-eeepc-generic-handler: undefined group/action ($1) event: $2 $3 $4"
eeepc_notify "$msg" keyboard
logger "$msg"
fi
;;
esac

View File

@ -21,7 +21,7 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi

View File

@ -21,7 +21,7 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi

View File

@ -21,7 +21,7 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi

View File

@ -21,7 +21,7 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi
@ -67,8 +67,8 @@ fi
function she_toggle() {
if [[ "${she_names[${she_current/0x30/}]}" != "${she_names[${she_next}]}" ]]; then
eeepc_notify "Super Hybrid Engine: ${she_names[${she_current/0x30/}]} to ${she_names[${she_next}]}" cpu
echo ${she_next} > ${SYS_DEVICE}
eeepc_notify "Super Hybrid Engine: Changing to ${she_names[${she_next}]}" cpu
echo ${she_next} > ${SYS_DEVICE} && eeepc_notify "Super Hybrid Engine: ${she_names[${she_current/0x30/}]} to ${she_names[${she_next}]}" cpu &
else
eeepc_notify "Super Hybrid Engine: Already at ${she_names[${she_next}]}" cpu
fi

View File

@ -21,12 +21,13 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi
# 0 means off, 1 means on
STATE_FILE="$EEEPC_VAR/states/touchpad"
LED_FILE="${sys_path}/leds/eeepc::touchpad/brightness"
if [ -e "$STATE_FILE" ]; then
TPSAVED=$(cat $STATE_FILE)
@ -47,6 +48,8 @@ function touchpad_toggle() {
synclient TouchpadOff=1
if [ $? ]; then
[ -e /usr/bin/unclutter ] && unclutter -idle 2 -root &
# Verify if touchpad led exist before trying to turn it off
[[ -e "${LED_FILE}" ]] && echo 0 > ${LED_FILE}
eeepc_notify "Touchpad Disabled" mouse
else
eeepc_notify "Unable to disable touchpad; Ensure xorg.conf is properly configured." stop
@ -56,6 +59,8 @@ function touchpad_toggle() {
synclient TouchpadOff=0
if [ $? ]; then
pkill unclutter
# Verify if touchpad led exist before trying to turn it on
[[ -e "${LED_FILE}" ]] && echo 1 > ${LED_FILE}
eeepc_notify "Touchpad Enabled" mouse
else
eeepc_notify "Unable to enable touchpad; Ensure xorg.conf is properly configured." stop

View File

@ -21,7 +21,7 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi

View File

@ -21,7 +21,7 @@
# Make sure we run as root
if [[ $EUID -ne 0 ]]; then
me="`dirname $0`/`basename $0`"
${SUDO} "${me}"
${SUDO} "${me}" ${@}
exit 1
fi

View File

@ -97,20 +97,22 @@ XUSER=
### Choose what kind of notification you want. libnotify is the
### default, but can disable it with NONE.
#NOTIFY="libnotify" # Gnome, XFCE, GTK
NOTIFY="kdialog" # KDE, QT
NOTIFY="libnotify" # Gnome, XFCE, GTK
#NOTIFY="kdialog" # KDE, QT
#NOTIFY="dzen" # dwm, wmii, xmonad or any other
#NOTIFY="naughty" # Awesome window manager
#NOTIFY=NONE
NOTIFY_DURATION="2000" # Duration, in ms, of the OSD
# Uncomment to disable showing unknown keys
NOTIFY_IGNORE_UNKNOWN="yes"
### Show the ACPI key event
#KEY_SHOW="1"
### Some scripts needs to be run as root. Specify how to gain priviledges
#SUDO="sudo"
SUDO="kdesu -i eee"
#SUDO="gksu" # Append "--sudo-mode" to use sudo instead of su
#SUDO="kdesu -i eee"
SUDO="gksu" # Append "--sudo-mode" to use sudo instead of su
#################################################################
### Drivers used by this Eee. Most used are "rt2860sta", "ath9k"
@ -178,13 +180,13 @@ COMMANDS_RESOLUTION=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-resolution.sh")
COMMANDS_BRIGHTNESS_DOWN=() # Brightness down controled by BIOS
COMMANDS_BRIGHTNESS_UP=() # Brightness up controled by BIOS
#COMMANDS_SCREEN_OFF=(/etc/acpi/eeepc/acpi-eeepc-generic-rotate-lvds.sh)
COMMANDS_SCREEN_OFF=("${COMMANDS_BUTTON_BLANK[@]}")
COMMANDS_SCREEN_OFF=("${COMMANDS_BLUETOOTH_TOGGLE[@]}")
#COMMANDS_XRANDR_TOGGLE=("@lxrandr") # Run as user (not root)
COMMANDS_XRANDR_TOGGLE=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-displays.sh")
COMMANDS_XRANDR_TOGGLE_VGA="above" # VGA is: right-of, left-of, above or below of LVDS
#COMMANDS_TASKM=("@lxtask")
COMMANDS_TASKM=("@lxtask")
#COMMANDS_TASKM=("@xterm htop")
COMMANDS_TASKM=("@ksysguard")
#COMMANDS_TASKM=("@ksysguard")
# If you use OSS, you can use http://ossvol.sourceforge.net/
COMMANDS_MUTE=("alsa_toggle_mute")
@ -231,5 +233,5 @@ LOGSBACKUP_FOLDER="/logs_backup"
### Please comment/remove the following, to prove that you edited
### and read fully the file ;)
### Else, you will get a 20 second warning.
#EEEPC_CONF_DONE="no"
EEEPC_CONF_DONE="no"

View File

@ -11,16 +11,19 @@ post_install() {
echo ">>> Please report it to http://github.com/nbigaouette/acpi-eeepc-generic/issues"
fi
echo " "
echo ">>> To finish installation, read the initial setup wiki page:"
echo ">>> http://wiki.github.com/nbigaouette/acpi-eeepc-generic/information-on-acpi-eeepc-generics-initial-setup"
echo " "
#echo ">>> "
# Get the model and save it to the configuration file
. /etc/acpi/eeepc/acpi-eeepc-generic-functions.sh
get_model
echo " "
echo ">>> Configuration is done via /etc/conf.d/acpi-eeepc-generic.conf"
echo ">>> Note that you will have to COMMENT-out the 'EEEPC_CONF_DONE' option."
echo ">>> Else you will receive an error/warning when hitting a special key!"
echo " "
echo ">>> Please restart acpid to reload actions."
echo "# /etc/rc.d/acpid restart"
}
post_upgrade() {
@ -30,7 +33,8 @@ post_upgrade() {
pre_remove() {
echo " "
echo ">>> Note that the file /etc/acpi/handler.sh is now the default."
sed -e 's/#event/event/g' -e 's/#action/action/g' -i /etc/acpi/events/anything
[ -e /etc/acpi/events/anything ] && \
sed -e 's/#event/event/g' -e 's/#action/action/g' -i /etc/acpi/events/anything
echo ">>> Please restart acpid to reload actions."
echo "# /etc/rc.d/acpid restart"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB