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

Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Fri 11/28/14 8:47

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 11/28/14 8:47
Alberto Milone  
Ubuntu: install 32bit icd... 
Wed 11/19/14 6:13
Alberto Milone  
Ubuntu: provide a link to... 
Thu 11/6/14 4:34
Alberto Milone  
Ubuntu: do not remove the... 
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... 
 
> --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