Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#7243 - Fglrx ati-powermode.sh script not properly resetting power mode
Attached to Project:
Arch Linux
Opened by Mick (amdviaman) - Wednesday, 23 May 2007, 07:34 GMT
Last edited by Travis Willard (Cerebral) - Sunday, 08 July 2007, 14:29 GMT
Opened by Mick (amdviaman) - Wednesday, 23 May 2007, 07:34 GMT
Last edited by Travis Willard (Cerebral) - Sunday, 08 July 2007, 14:29 GMT
|
DetailsThe script /etc/acpi/ati-powermode.sh does not reset 'high' power mode when opening laptop lid or inserting AC adapter. The reason is that on line 59, the call to /usr/bin/aticonfig --set-powerstate=3 is invalid. The value of --set-powerstate needs to be set to 2. I'm not sure if this is hardware-specific, but setting --set-powerstate to 3 throws the following error: "Error: Power state 3 out of range (1-2)." On an ATI Xpress 200M. Fixed version of the script is attached to this report.
Fascinating how ATI developers aren't familiar with their own tool's parameters :D |
This task depends upon
Closed by Travis Willard (Cerebral)
Sunday, 08 July 2007, 14:29 GMT
Reason for closing: Fixed
Additional comments about closing: more generic script patched in starting with 8.38.6
Sunday, 08 July 2007, 14:29 GMT
Reason for closing: Fixed
Additional comments about closing: more generic script patched in starting with 8.38.6
ati-powermode.sh
aticonfig --list-powerstates
core/mem [flags]
-----------------
* 1: 128/135 MHz [low voltage]
2: 324/135 MHz
3: 419/351 MHz [default state]
sh test.sh
Lid Open
On AC
high power
Password:
Error: Option value '' for option 'set-powerstate' is invalid.
/usr/bin/aticonfig: parsing the command-line failed.
aticonfig --lsp | tail -1 | cut -d":" -f 1 | sed "s/* //g" has to cut two more spaces before the powerstate value (3 in my case)
aticonfig --lsp | grep ":" | tail -1 | cut -d':' -f 1 | sed "s/\* *//g" delivers " 3"