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

Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Thu 10/23/14 5:19

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 10/17/14 11:23
Alberto Milone  
Ubuntu: add support for... 
Mon 10/13/14 11:22
Alberto Milone  
Ubuntu: avoid... 
Thu 9/11/14 5:59
Alberto Milone  
Ubuntu: drop link to... 
Fri 9/5/14 9:45
Alberto Milone  
Ubuntu: make sure it's... 
Mon 9/1/14 8:07
Alberto Milone  
Ubuntu: create a symlink... 
Mon 8/25/14 9:09
Alberto Milone  
Ubuntu: do not generate... 
 
> --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