summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-12-21 01:55:58 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-12-21 01:55:58 +0000
commita80b3535d2ef9c414322252dc50a86545acd6235 (patch)
tree5e084b641a0ffdcba5c829ef667d8a0ad4311426 /x11-drivers/ati-drivers/files
parentlatest svn (diff)
downloadje_fro-a80b3535d2ef9c414322252dc50a86545acd6235.tar.gz
je_fro-a80b3535d2ef9c414322252dc50a86545acd6235.tar.bz2
je_fro-a80b3535d2ef9c414322252dc50a86545acd6235.zip
latest
svn path=/; revision=150
Diffstat (limited to 'x11-drivers/ati-drivers/files')
-rw-r--r--x11-drivers/ati-drivers/files/8.443.1/ati-powermode-opt-path-1.patch29
-rw-r--r--x11-drivers/ati-drivers/files/digest-ati-drivers-8.443.13
2 files changed, 32 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/files/8.443.1/ati-powermode-opt-path-1.patch b/x11-drivers/ati-drivers/files/8.443.1/ati-powermode-opt-path-1.patch
new file mode 100644
index 0000000..64dcdfb
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/8.443.1/ati-powermode-opt-path-1.patch
@@ -0,0 +1,29 @@
+diff -ur common.orig/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh
+--- common.orig/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh 2006-07-28 04:22:36.000000000 +0100
++++ common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh 2006-08-04 12:19:42.000000000 +0100
+@@ -4,6 +4,8 @@
+ # Control script for ACPI lid state and AC adapter state
+ #
+
++aticonfig='/opt/bin/aticonfig'
++
+ getXuser() {
+ user=`finger| grep -m1 ":$displaynum " | awk '{print $1}'`
+ if [ x"$user" = x"" ]; then
+@@ -63,13 +65,13 @@
+ if [ ${has_pplib} -eq 1 ]; then
+ su $user -c '/usr/bin/aticonfig --pplib-cmd="notify psrc dc"'
+ else
+- su $user -c "/usr/bin/aticonfig --set-powerstate=1 --effective=now"
++ su $user -c "$aticonfig --set-powerstate=1"
+ fi
+ else
+ echo "high power"
+ if [ ${has_pplib} -eq 1 ]; then
+ su $user -c '/usr/bin/aticonfig --pplib-cmd="notify psrc ac"'
+ else
+- su $user -c "/usr/bin/aticonfig --set-powerstate=3 --effective=now"
++ su $user -c "$aticonfig --set-powerstate=$($aticonfig --lsp | grep 'default state' | cut -c 3)"
+ fi
+ fi
+
diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.443.1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.443.1
new file mode 100644
index 0000000..244a71d
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.443.1
@@ -0,0 +1,3 @@
+MD5 5d40b0c7a6f9e8356fdcd38052ae5e7b ati-driver-installer-8.443.1-x86.x86_64.run 48308870
+RMD160 9a5d8467602161d63e72b3716d551f8971621a66 ati-driver-installer-8.443.1-x86.x86_64.run 48308870
+SHA256 19ca5b576cfc03f14eb4c4050b4e050572ae6bd962320efc239032fdc5ff1541 ati-driver-installer-8.443.1-x86.x86_64.run 48308870