On Sat, Mar 17, 2018 at 01:42:03AM +0100, Adam Borowski wrote:
> I wrote:
> > The daemon's init script has the following line:
> > apm_available || exit 0
> > which makes it always silently fail, as apm_available contains:
>
> > # APM support was removed from kernel 2.6.40 in 2011.
> > exit 1
>
> > The comment is untrue:
> > ./config/i386/config:CONFIG_APM=m
> > but regardless whether APM still works or not, the daemon will not.
>
> I've changed apm_available to actually check /proc/apm again, which on the
> face value fixes this bug. However: the daemon was completely unusable for
> 4 years, yet no one said a thing. Thus, I'll leave it to you to actually
> close the bug (or do nothing and let the package get autoremoved from
> Buster).
>
> Also, laptops have a much shorter lifespan than desktops or servers: the
> chances of a 20 years battery to still work are about nil, other components
> are also more fragile and harder to replace. Thus, if any such laptops are
> still alive, they probably are stationary, thus without much use for APM.
>
> Having APM in the kernel is still useful (needed for poweroff), but, with no
> one noticing the daemon broken, you might consider sending it off to a nice
> pasture. You know your package far better than me...
I've filed a removal bug now.
Cheers,
Moritz