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

Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Mon 8/25/14 9:09

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Mon 8/25/14 9:09
Alberto Milone  
Ubuntu: do not generate... 
Thu 8/21/14 3:56
Alberto Milone  
Ubuntu:... 
Wed 8/20/14 7:30
Alberto Milone  
Ubuntu: don't complain... 
Wed 8/20/14 7:23
Alberto Milone  
Ubuntu: add support for... 
Wed 8/20/14 7:16
Alberto Milone  
Ubuntu: add support for... 
Tue 8/19/14 4:48
Alberto Milone  
Ubuntu/ati-packager.sh:... 
 
> --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