Skip to contentSkip to conversation

Driver Testing

DISCUSSION nicdev05 nic 2 participants 2 messages Mar 17, 2005 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Thanks Jason,
Setting a wake time by writing to /proc/acpi/alarm
returns with an error - "No Installed handler for fixed event". This is to be expected I guess since I don't have a resume command attached to the wake timer.

So, any idea as what the resume command should be? I
a Fedora Core-2 system.

Outside of resume, the suspend process works fine
(by writing to /sys/power/state). If I press the power button the system seems to resume but then follows with a reboot...

Any ideas? Thanks..
-Nic

--- Jason Dagit <dagit-LP0vGzdgvNwj5TC/[email protected]>, Jason Dagit

Quoted 8 lines · <dagit-LP0vGzdgvNwj5TC/[email protected]> wrote:
Quoted 2 lines · nicdev05 nic <nicdev05-/[email protected]> writes:

Folks,
I am adding power management support to a

network

Quoted 3 lines

driver on Linux 2.6. I have a simple question, is
there a tool I can use to test my PM support?
Something that will put my PC (Dell Optiplex) to

Quoted 9 lines

sleep

Quoted 1 line

and wakes it up after say 1-minute?

You may want to try this:

http://acpi.sourceforge.net/documentation/alarm.html

Jason

__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

A message that is not in the archive (sent off-list or not yet received): 20050317024304.95595.qmail-oqthl4G0bEevuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org

#2 lore raw
Quoted 2 lines · nicdev05 nic <nicdev05-/[email protected]> writes:

So, any idea as what the resume command should be? I
a Fedora Core-2 system.

Unfortunately I don't have the answer to this questions, but perhaps others on the list do. I'm a debian zealot (okay, perhaps satisfied user is more accurate :) and I'm not (yet) very versed in the ways of acpi.

Quoted 4 lines

Outside of resume, the suspend process works fine
(by writing to /sys/power/state). If I press the power button the system seems to resume but then follows with a reboot...

If you reboot on resume you may be experiencing this bug:
http://bugme.osdl.org/show_bug.cgi?id=3691

Does that sound like your problem? I'm anxiously awaiting advice from others on this list about how to solve that bug. I have a laptop which I currently use swsuspend2 on, but would much, much rather suspend to ram, at least most of the time.

Jason

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click