public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Driver Testing
@ 2005-03-17  2:43 nicdev05 nic
       [not found] ` <20050317024304.95595.qmail-oqthl4G0bEevuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: nicdev05 nic @ 2005-03-17  2:43 UTC (permalink / raw)
  To: Jason Dagit; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


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/SZClsA@public.gmane.org>, Jason Dagit
<dagit-LP0vGzdgvNwj5TC/SZClsA@public.gmane.org> wrote:
> nicdev05 nic <nicdev05-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> writes:
> 
> > Folks,
> >   I am adding power management support to a
> network
> > 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
> sleep
> > 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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Driver Testing
@ 2005-03-18 17:57 nicdev05 nic
       [not found] ` <20050318175743.66629.qmail-0gFffodynuCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: nicdev05 nic @ 2005-03-18 17:57 UTC (permalink / raw)
  To: Jason Dagit; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

Playing around more on the below problem, it appears that a ACPI module (button.ko) seems to have some issues and it causes the reboot. I am yet to dig deeper into what the exact issue might be, but removing this module before going into a suspend mode and then following with a resume works fine i.e. there is no reboot of the system on resume. Again this is on Fedora-2 system (with 2.6.5 kernel)
-Nic



> 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


		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

[-- Attachment #2: Type: text/html, Size: 1030 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Driver Testing
@ 2005-03-17  1:21 nicdev05 nic
       [not found] ` <20050317012151.36290.qmail-0gFffodynuCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: nicdev05 nic @ 2005-03-17  1:21 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Folks,
  I am adding power management support to a network
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 sleep
and wakes it up after say 1-minute?

  Appreciate any pointers!
-Nic

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-03-24 10:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-17  2:43 Driver Testing nicdev05 nic
     [not found] ` <20050317024304.95595.qmail-oqthl4G0bEevuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2005-03-17  6:27   ` Jason Dagit
  -- strict thread matches above, loose matches on Subject: below --
2005-03-18 17:57 nicdev05 nic
     [not found] ` <20050318175743.66629.qmail-0gFffodynuCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2005-03-18 18:55   ` Jason Dagit
2005-03-17  1:21 nicdev05 nic
     [not found] ` <20050317012151.36290.qmail-0gFffodynuCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2005-03-17  1:45   ` Jason Dagit, Jason Dagit
2005-03-17 13:02   ` Matthew Garrett
2005-03-24 10:29     ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox