The patch named "ati-powermode-opt-path-3.patch" which makes few changes to ati-powermode.sh (script for acpid to make power mode changes on laptops) contains bug multiple times. For example it changes: -su $user -c '/usr/bin/aticonfig --pplib-cmd="get version"' | grep PPLIB +su $user -c '$aticonfig --pplib-cmd="get version"' | grep PPLIB but $aticonfig in ' ' is not evaluated and script doesn't work. One of possible fixes could be change it to: +su $user -c "$aticonfig --pplib-cmd='get version'" | grep PPLIB Patch contain similar bug three times. Reproducible: Always Steps to Reproduce: On a laptop as root (with ati-drivers and acpid installed) run: 1. /etc/init.d/acpid stop 2. acpid -d then plug/unplug power-supply or open/close lid Actual Results: some error messages (from script) occur Expected Results: no error messages should occur
Pushed to x11 overlay, did not test, as I have no proper laptop. Thanks for the report and the fix.
I finally tested out version from x11 overlay and works as expected (no more errors from the script, only messages that PPLIB execution was successful). Thanx and sorry for a long delay.
Fixed in CVS.