[Lunar-commits] <moonbase> easy-slow-down-manager: new module for switching Samsung laptop or netbook wifi and backlight on/off or changing speed. This is Linux open source clone of Samsung's Easy SpeedUp manager for Windows.
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Wed May 4 19:08:34 CEST 2011
commit a249c982aeddd6a57580ad20e893a3d7a5206f89
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Wed May 4 19:08:34 2011 +0200
easy-slow-down-manager: new module for switching Samsung
laptop or netbook wifi and backlight on/off or changing speed.
This is Linux open source clone of Samsung's Easy SpeedUp manager for Windows.
---
kernel/kernel-reqs/POST_INSTALL | 2 +-
utils/easy-slow-down-manager/BUILD | 7 +++++
utils/easy-slow-down-manager/DEPENDS | 2 +
utils/easy-slow-down-manager/DETAILS | 43 ++++++++++++++++++++++++++++++++++
4 files changed, 53 insertions(+), 1 deletions(-)
diff --git a/kernel/kernel-reqs/POST_INSTALL b/kernel/kernel-reqs/POST_INSTALL
index 0223695..82bfdbe 100644
--- a/kernel/kernel-reqs/POST_INSTALL
+++ b/kernel/kernel-reqs/POST_INSTALL
@@ -1,4 +1,4 @@
-kreqs="alsa-driver bluez-kernel cipe cryptoapi cvsfs drm-git e1000 fglrx ftpfs fuse gspcav1 hostap-driver ieee80211 igb iptables ipw2100 ipw2200 ipw3945 iwlwifi ixgbe i2c kqemu kvm ltmodem ndiswrapper madwifi madwifi-svn mwavem NFORCE NVIDIA NVIDIA-old NVIDIA-beta NVIDIA-legacy NVIDIA-fx openafs-driver pcmcia-cs r8168 slmodem snare-core submount virtualbox-module open-vm-tools broadcom-wifi zfs-spl zfs"
+kreqs="alsa-driver bluez-kernel cipe cryptoapi cvsfs drm-git e1000 fglrx ftpfs fuse gspcav1 hostap-driver ieee80211 igb iptables ipw2100 ipw2200 ipw3945 iwlwifi ixgbe i2c kqemu kvm ltmodem ndiswrapper madwifi madwifi-svn mwavem NFORCE NVIDIA NVIDIA-old NVIDIA-beta NVIDIA-legacy NVIDIA-fx openafs-driver pcmcia-cs r8168 slmodem snare-core submount virtualbox-module open-vm-tools broadcom-wifi easy-slow-down-manager zfs-spl zfs"
for req in $kreqs; do
if module_installed $req ; then
diff --git a/utils/easy-slow-down-manager/BUILD b/utils/easy-slow-down-manager/BUILD
new file mode 100644
index 0000000..0db8c6e
--- /dev/null
+++ b/utils/easy-slow-down-manager/BUILD
@@ -0,0 +1,7 @@
+(
+
+ make all &&
+ prepare_install &&
+ make install
+
+) > $C_FIFO 2>&1
diff --git a/utils/easy-slow-down-manager/DEPENDS b/utils/easy-slow-down-manager/DEPENDS
new file mode 100644
index 0000000..d64d050
--- /dev/null
+++ b/utils/easy-slow-down-manager/DEPENDS
@@ -0,0 +1,2 @@
+# GUI requires some more python deps I do not know
+#optional_depends "pygtk" "" "" "for gtk GUI tools"
diff --git a/utils/easy-slow-down-manager/DETAILS b/utils/easy-slow-down-manager/DETAILS
new file mode 100644
index 0000000..57d2445
--- /dev/null
+++ b/utils/easy-slow-down-manager/DETAILS
@@ -0,0 +1,43 @@
+ MODULE=easy-slow-down-manager
+ VERSION=r33
+ SOURCE=$MODULE-$VERSION.tar.xz
+ SOURCE_URL=$PATCH_URL
+ SOURCE_VFY=sha1:21ff098e1c67c07336bdc1dfeaf210053a5a415f
+ WEB_SITE=http://code.google.com/p/easy-slow-down-manager
+ ENTERED=20110503
+ UPDATED=20110503
+ SHORT="kernel modules for managing Samsung laptop/netbook"
+
+cat << EOF
+Easy slow down manager provides Linux users with functionality similar to
+"Samsung Easy Speed Up Manager". It also allows to turn WiFi and backlight
+on and off.
+
+It consist of kernel module named easy_slow_down_manager.
+To use it first issue "modprobe easy_slow_down_manager".
+If everything goes fine you get /proc/easy_slow_down_manager,
+/proc/easy_wifi_kill and /proc/easy_backlight files.
+
+"echo 0 > /proc/easy_slow_down_manager" turns laptop to "normal" mode.
+"echo 1 > /proc/easy_slow_down_manager" turns laptop to "silent" mode.
+"echo 2 > /proc/easy_slow_down_manager" turns laptop to "speed" mode.
+"echo 0 > /proc/easy_wifi_kill" turns WiFi off.
+"echo 1 > /proc/easy_wifi_kill" turns WiFi on.
+"echo 0 > /proc/easy_backlight" turns backlight off.
+"echo 1 > /proc/easy_backlight" turns backlight on.
+
+Samsung backlight module fixes backlight-related bugs in acpi for Samsung laptops.
+Important: To enable it, boot kernel with acpi_backlight=vendor option.
+
+The module can work in two modes: direct PCI programming and brighness control via SABI.
+The mode is chosen by module option use_sabi (could be 0 or 1); by default SABI support is enabled.
+SABI provides support for larger number of laptop models, but allows for less number of brightness levels.
+
+samsung-backlight module options:
+debug=(0|1) print debug information
+use_sabi=(0|1) change brightness via PCI or SABI (default)
+force=(0|1) skip model/vendor checks
+sabi_delay=value delay between SABI commands,ms
+minbright,maxbright specify minimum and maximum brightness levels; for PCI interface default is (10,255); for SABI (0,7)
+levels number of brightness levels; default is 7
+EOF
More information about the Lunar-commits
mailing list