public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* /sys/devices/.../power/state broken?
@ 2006-12-12 10:17 Brice Goglin
  2006-12-12 15:42 ` Alan Stern
  0 siblings, 1 reply; 5+ messages in thread
From: Brice Goglin @ 2006-12-12 10:17 UTC (permalink / raw)
  To: pavel, Greg KH, David Brownell; +Cc: linux-pm

Hi,

I know that .../power/state files are deprecated, but I like using them
for basic testing of a driver's suspend/resume routines. Anyway, echoing
something in the .../power/state in current -git does not seem to work
anymore. For instance, the driver's suspend routine is not called
anymore  when writing 3 while it was at least in 2.6.17 and 2.6.18. And
reading the contents of the file afterwards now returns 0 while it
seemed to return 2 before.

I didn't have time to git-bisect the problem so far, I will if nobody
has any idea.

And if somebody knows what to use instead of .../power/state to test a
driver's suspend/resume, I'd be happy to hear it too. The explanation in
feature-removal-schedule.txt did not help a lot, neither did the thread
I found on linux-pm :)

thanks,
Brice

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

end of thread, other threads:[~2006-12-18  3:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 10:17 /sys/devices/.../power/state broken? Brice Goglin
2006-12-12 15:42 ` Alan Stern
2006-12-12 18:15   ` David Brownell
2006-12-15 19:01     ` Greg KH
2006-12-18  3:27       ` class suspend()/resume() broken David Brownell

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