Re: [PATCH] fix APM notify of apmd for on-AC/on-battery transitions

Ray Lee (ray-lk@madrabbit.org)
26 Jul 2002 16:42:28 -0700


Hi there Cort,

It looks like my Vaio will need it as well -- loading the apm module
with debug=1 doesn't show any on/off battery events when I yank the
power. (It does log other events, though.)

A comment on the patch? How about pushing the specifics of the
apm_bios_power_change_bug from check_events() down into either the
get_event() or apm_get_event() routines? That way the specifics are
abstracted a bit from the main event dispatch loop, and one gets to
inherit the debug logging and whatnot.

And, in case you decide to tighten up the dmi matching, my laptop info
follows:

BIOS Information Block
Vendor: Phoenix Technologies LTD
Version: R0117A0
Release: 04/25/00
System Information Block
Vendor: Sony Corporation
Product: PCG-XG29(UC)

Thanks,

Ray

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/