Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91205 Details for
Bug 139458
ati-drivers-8.27.10 -- fixes, patches, and *working* ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the ati-powermode powerstate restore issue
ati-powermode_powerstate-fix.diff (text/plain), 913 bytes, created by
Christian Affolter
on 2006-07-08 08:18:03 UTC
(
hide
)
Description:
Fixes the ati-powermode powerstate restore issue
Filename:
MIME Type:
Creator:
Christian Affolter
Created:
2006-07-08 08:18:03 UTC
Size:
913 bytes
patch
obsolete
>--- ati-powermode.sh.old 2006-07-08 16:56:59.000000000 +0200 >+++ ati-powermode.sh 2006-07-08 17:07:40.000000000 +0200 >@@ -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 139458
:
91057
|
91071
| 91205 |
93289
|
93290
|
93291
|
93429