From: Colin D. M. <li...@mi...> - 2003-12-02 03:24:09
|
Quoting Robert Schlabbach <rob...@gm...>: > BTW, Colin, while I got you on the list: It appears your driver has no > support for power management (just like mine:(). Have you looked into this, > or do you know of a good resource? I tried reading the DDK documentation, > but it only left me confused :( > I've not really looked at the power management stuff, and since I just recently upgraded to Windows XP I've not reinstalled the DDK yet (although I will soon). > The key thing one has to do is to restore the hardware state after resuming > e.g. from hibernating (i.e. complete power-off). Now the ugly thing about > this is that if a BDA graph is running when you hibernate, it will only be > put in _paused_ state, not stopped! Thus, you need to get the hardware back > exactly to that paused state, which I think is rather complicated... Or > maybe there is a way to request that the graph is put in stopped state? I > haven't found any, though :( I suppose if you stored the state of what you were told to do you could re-set the parameters of the card when you were awoken so the graph wouldn't realise anything had changed, but that could be tricky to make work, it seems a bit annoying that it only pauses. I'll have a look once I've re-installed the DDK to see if I can spot anything but I'm not sure if it's just going to have to be done a difficult way or such. Sorry I couldn't be of more help, Colin |