Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 106366 Details for
Bug 161324
~x11-drivers/ati-drivers-8.27.10 does not compile with kernels >=2.6.18
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ati-powermode.sh.patch (required patch 3 of 3)
ati-powermode.sh.patch (text/plain), 1.12 KB, created by
Ryan Hope
on 2007-01-10 14:45:39 UTC
(
hide
)
Description:
ati-powermode.sh.patch (required patch 3 of 3)
Filename:
MIME Type:
Creator:
Ryan Hope
Created:
2007-01-10 14:45:39 UTC
Size:
1.12 KB
patch
obsolete
>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 >@@ -17,6 +17,10 @@ > fi > } > >+aticonfig='/opt/ati/bin/aticonfig' >+ >+# default high power state >+default_state=`$aticonfig --lsp | grep 'default state' | cut -c 3` > > grep -q closed /proc/acpi/button/lid/*/state > if [ $? = 0 ]; then >@@ -46,7 +50,7 @@ > getXuser; > if [ x"$XAUTHORITY" != x"" ]; then > export DISPLAY=":$displaynum" >- su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=1 --effective=now" >+ su $user -c "$aticonfig --set-powerstate=1 --effective=now" > fi > done > else >@@ -56,7 +60,7 @@ > getXuser; > if [ x"$XAUTHORITY" != x"" ]; then > export DISPLAY=":$displaynum" >- su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=3 --effective=now" >+ su $user -c "$aticonfig --set-powerstate=$default_state --effective=now" > fi > done > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 161324
:
106358
|
106360
|
106362
| 106366 |
106368
|
106370