FYI: Pmud bug

Dan Burcaw yellowdog-general@lists.terrasoftsolutions.com
Thu Aug 28 22:45:01 2003


Stefan,

If you could bugzilla this, it would increase the likelihood of making
it in a future release.
Thanks,
Dan

On Thu, 2003-08-28 at 17:17, Stefan Bruda wrote:
> Hi.
> 
> 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
> 
> 						powerlevel ? "ac" : "battery"
> 
> and recompile.
> 
> Just thought somebody would be interested.
> 
> Cheers,
> Stefan