![]() |
APMD-List: |
to APMD Home
|
Index:
[thread]
[date]
[subject]
[author]
From: Craig Markwardt <craigm@pcasun3.gsfc.nasa.gov> To : Jeffrey W. Baker <jwbaker@acm.org> Date: Mon, 24 Apr 2000 20:13:24 -0400 (EDT) apmd not triggering AC online/offlineJeffrey W. Baker writes: > Hi there, > > I installed apmd 3.0 on a Sony Vaio Z505HS running RedHat 6.1. I upgraded > the kernel to version 2.2.14. > > The problem is that apmd is not triggering the "change power" section of > my apmd_proxy script. All other features work fine, and the > apm(1) program is able to tell me when the machine is and isn't > offline. /proc/apm is of the correct format. > > Is this a configuration issue or a bug? I want this functionality so that > I can pause the disitributed.net client when I am on batteries and fire it > up again when I hook up the line power. You can try enabling either of the debugging sections of apmd_proxy, to see if the events are at least reaching the script. My guess is they are not. APMD itself should definitely be passing those along, and even logs them. It is conceivable that the BIOS just isn't sending those events. Which would be wierd since SONY/Phoenix obviously know how to do APM already: my 505G works fine. The ultimate test is to enable debugging in the kernel module, but that requires a recompile. In principle the power change event could be simulated by comparing the succesive ac power-on values. Currently apmd depends on a change event from the BIOS. Craig Index: [thread] [date] [subject] [author] |