Register or Login to browse without ads

Tue 7 Sep 2010 - 6:21 pm UTC

Home | Ask a Question | Browse Questions

CANCELLED

Question: How to make Win7 sleep even if there is an audio stream open?

Home » Technology » #3587

Please carefully read the Disclaimer and Terms & conditions.
Priced at $25.00

Actions: Add Comment

Asked by bigjosh on Sat 2 Jan 2010 - 8:48 pm UTC:

Windows 7 is much better about sleeping than it's forerunners.

Unfortuantely,  I still find one common case where it does not sleep when
it should: When there is an open audio stream.

Many applications can leave an open audio stream. The most common for me is
just having an open browser window with a Flash movie in it. The movie can
be paused or finished, but the audio stream remains open for as long as the
page is still up. 

You can verify stuation this using the following command response my
machine gives follows)...

====
C:\Windows\system32>powercfg -REQUESTS
DISPLAY:
None.

SYSTEM:
[DRIVER] SoundMAX Integrated Digital HD Audio
(HDAUDIO\FUNC_01&VEN_11D4&DEV_989B
&SUBSYS_10438334&REV_1003\4&18dbcfae&0&0001)
An audio stream is currently in use.

AWAYMODE:
None.
====

How can I make my Win7 computer follow the normal inactivity sleep timeout
even if there is an open audio stream?

NOTE: I am looking for a way to do this using native Win7 functionality and
I would rather not install a 3rd party code.

Thanks!

-josh

Uclue Researcher Request for clarification by Researcher Patricia (hummer) on Sat 2 Jan 2010 - 10:48 pm UTC:

Hi Josh,

Have you tried this?

MicroSoft TechNet
"Finally went to:
Control Panel\Network and Internet\Network and Sharing Center\Advanced
sharing settings
And under media streaming - blocked all - and that did the trick!  I don't
know if there's another way to allow streaming and enable sleeping, but for
now, beats running all night long after waking for a time update etc...
:-)"
http://social.technet.microsoft.com/Forums/en/w7itproui/thread/bce158e2-d057-4761-b715-5f68b8002fc2

Regards,
Patricia

Uclue Researcher Request for clarification by Researcher davidsarokin on Sat 2 Jan 2010 - 11:11 pm UTC:

bj,

There's a discussion of this problem here:

http://www.soundgraph.com/forums/showthread.php?t=884

which makes it sound like as it's specific to certain drivers.  You might
want to see if you have any options along those lines to select a driver
compatible with sleep mode.

At least until a researcher (hopefully) comes along with a more permanent
solution.  


David

Uclue Researcher Request for clarification by Researcher davidsarokin on Sat 2 Jan 2010 - 11:13 pm UTC:

Sorry...I didn't see Patricia's post...perhaps she's found the solution
already.

Question clarification by bigjosh on Mon 4 Jan 2010 - 7:24 pm UTC:

Patricia: I had checked the streaming setting and it is off. This has to do
with Flash having an open audio stream on the local machine and that open
stream causing the sound card to register a power request. 


Reading Davesarokin's link, I saw a reference to the -REQUESTSOVERIDE
parameter to the POWERCFG command. A couple of google searches turned up
this this document...

http://download.microsoft.com/download/7/E/7/7E7662CF-CBEA-470B-A97E-CE7CE0D98DC2/AvailabilityRequests.docx

... describing how to use this to tell Windows to ignore a power request
source. This is exactly what I was looking for.

So, I entered...

powercfg -REQUESTSOVERRIDE DRIVER "SoundMAX Integrated Digital HD Audio"
SYSTEM

...and now my machine sleeps even with a video running!

By entering the appropriate REQUESTOVERRIDE command, you should be able to 
tell your machine to sleep despite requests from *any* program, driver, or
device that is trying to keep it awake.

Thanks!

-josh

Cancelled by bigjosh on Mon 4 Jan 2010 - 7:25 pm UTC:

I ultimately found the answer myself, but could not have done it without
the  helpful comments. Thanks uClue!

Uclue Researcher Comment by Researcher davidsarokin on Mon 4 Jan 2010 - 9:08 pm UTC:

bigjosh...thanks for letting us know the outcome, and glad to hear you
solved the problem.

Actions: Add Comment

Bookmark it!   Del.icio.us Digg Furl Reddit Yahoo MyWeb StumbleUpon Technorati Mixx MySpace Facebook

Frequently Asked Questions | Terms & Conditions | Disclaimer | Privacy Policy | Contact Us | Spread the word!

© 2010 Uclue Ltd