projects / fglrx-packaging.git / commitdiff
Build Results
 
Summary

Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Mon 7/7/14 17:19

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Mon 7/7/14 17:19
Sebastian Siebert  
SUSE: Add... 
Fri 6/13/14 9:58
Alberto Milone  
Ubuntu: run execstack... 
Fri 6/13/14 6:20
Alberto Milone  
Ubunutu: refresh... 
Fri 6/13/14 5:09
Alberto Milone  
Ubuntu: add support for... 
Tue 1/14/14 9:17
Alberto Milone  
Ubuntu: refresh... 
Tue 1/14/14 9:05
Alberto Milone  
Ubuntu: make it possible... 
 
> --git a/SuSE/ati-powermode.sh b/SuSE/ati-powermode.sh
deleted file mode 100755
index 209e5ea
..0000000
--- a/SuSE/ati-powermode.sh
+++ /dev/null
@@ -1,42 +0,@@
-
#!/bin/bash
-#
-# Script to adjust power mode of ati graphic chips
-#
-
-
getXuser() {
-        
user=`finger| grep -m1 ":$displaynum " | awk '{print $1}'`
-        if [ 
x"$userx"" ]; then
-                user=`finger| grep -m1 ":$displaynum" | awk '{print $1}'`
-        
fi
-        if [ x"$user!= x"" ]; then
-                userhome=`getent passwd $user | cut -d: -f6`
-                
export XAUTHORITY=$userhome/.Xauthority
-        else
-                
export XAUTHORITY=""
-        fi
-}
-
-case 
"$1" in
-    true)
-    echo 
"**ATI Low power"
-    for x in /tmp/.X11-unix/*; do
-        displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
-        getXuser;
-        if [ x"$XAUTHORITY" != x"" ]; then
-        export DISPLAY=":$displaynum"
-        su $user -c "/usr/bin/aticonfig --set-powerstate=1 --effective=now"
-        fi
-    done
-    ;;
-    false)
-    echo "**ATI high power"
-    for x in /tmp/.X11-unix/*; do
-        displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
-        getXuser;
-        if [ x"$XAUTHORITY" != x"" ]; then
-        export DISPLAY=":$displaynum"
-        su $user -c "/usr/bin/aticonfig --set-powerstate=3 --effective=now"
-        fi
-    done
-  &nbs
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media