FYI: Pmud bug (erratum)

Stefan Bruda yellowdog-general@lists.terrasoftsolutions.com
Thu Aug 28 17:40:01 2003


At 19:17 -0400 on 2003-8-28 Stefan Bruda wrote:
 >
 > This seems to be a long-standing bug but it went unpatched in the YDL
 > pmud package.  The problem is that PMUD calls pwrctl lid-open with the
 > extra argument "ac" no matter what is the power state.  To fix,
 > replace line 513 in pmud.c, namely
 > 
 > 						ac ? "ac" : "battery"
 > 
 > to

Oops, sorry, my fault, the replacement line should actually be

						powermode ? "ac" : "battery"

Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't. That's logic.
    --Lewis Carroll, Through the Looking-Glass