Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Realtek audio Optical output prevents PC going into sleep mode

02 Jan 2016   #1

Winsdows 7 Ultimate x64
Realtek audio Optical output prevents PC going into sleep mode

Dear Forum,
Appreciate your feedback on the below problem I'm facing:
My desktop will not go into sleep mode after the set time. Forcing sleep mode (sleep button) works OK.
Using the "Windows 7 insomnia" information found in various fora, the "powercfg -requests" command and quite some time (...), the issue boiled down to the "An audio stream is currently in use" message from said command originating from the Realtek High Definition audio driver. Further digging revealed that if I would disable the optical SPDIF output in sound/playback devices, the error message from "powercfg -requests" would disappear and the PC would go into sleep mode as intended. Strangely enough, the 'speakers' and the 'Realtek digital output' (this is the non-optical digital output) can stay enabled for the sleep mode to work OK.

Question: how can I keep also the optical digital audio output enabled AND enjoy the power saving effect from Sleep mode?

Some background: Windows 7 Ultimate, Asus P8P67EVO mobo with Realtek audio, latest audio drivers, using both 'speaker' and 'optical' sound output to feed the PC speakers (using analog audio) as well as the audio system (using digital optical audio). The optical connection to the audio system effectively avoids any ground-loops and hence no hum/noise. If I would use "powercfg" to ignore the audio driver 'in use' information - which is often an effective workaround - the PC would also go into sleep mode when just playing audio. PS: if this is not the right/best forum for this question, please let me know.

My System SpecsSystem Spec
02 Jan 2016   #2

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
power options

What is your setting here,


Attached Thumbnails
Realtek audio Optical output prevents PC going into sleep mode-powersleep.png  
My System SpecsSystem Spec
02 Jan 2016   #3

Winsdows 7 Ultimate x64

Hi Roy,

Thanks for your reply! I came across those settings. See attachments (capture and capture2).

During testing I had set both time-outs to 1 minute. Also tried the Advanced Power setting on multi media to "Allow the computer to sleep" next to several other variants. However, the sleep mode-after-set-time would only happen when Powercfg - requests would report "None" for Display, System as well as Awaymode (capture3).
In fact, status as per capture up to capture3 results in working timed sleep mode.
Note that to achieve this, I need to disable the Realtek Digital Output(Optical) output from my sound system (capture4).
However, the typical situation I encounter with the optical output enabled has the following reply from powercfg -requests:
[DRIVER] Realtek High DefinitionAudio(HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_10438469&REV_1003\4&36802a14&0&0001)
Anaudio stream is currently in use.
Which is gone as soon as I disable the optical output.

Yet, these kind of topics often create some 'blindness for the obvious' at my end, hence I appreciate your suggestions!

Attached Images
Realtek audio Optical output prevents PC going into sleep mode-capture.jpg Realtek audio Optical output prevents PC going into sleep mode-capture2.jpg Realtek audio Optical output prevents PC going into sleep mode-capture3.jpg Realtek audio Optical output prevents PC going into sleep mode-capture4.jpg 
My System SpecsSystem Spec

18 Feb 2016   #4

Winsdows 7 Ultimate x64

Hi Forum,
Please see where I addressed the same issue. A practical workaround was suggested which proved OK in my situation.
My System SpecsSystem Spec

 Realtek audio Optical output prevents PC going into sleep mode

Thread Tools

Similar help and support threads
Thread Forum
Realtek ALC1200: How can I get 5.1 audio from optical?
I have an ASUS P5Q3 motherboard, with Realtek ALC1200 onboard sound. Latest 2.70 Realtek driver (6/19/2012, Video card is ATI HD5770, which includes dual-DVI as well as HDMI. I'm using the two DVI outputs to support two 24" LCD monitors. Latest 12.8 Catalyst driver. Up until...
Sound & Audio
sleep mode, but exclude a program that prevents it ?
Hello, I have a program called 'wd anywhere backup' by western digital, a backup program, that constantly runs, because it syncs any changes in files, and backs them up in real time. ...this program stops my pc from sleeping. I have a command that runs on a scheduled task, that kills...
General Discussion
Realtek ALC889 audio, audio fine on S/PDIF, nothing from rear output
I'm having a strange problem in my HTPC. Audio is coming perfectly fine out from the S/PDIF coaxial output, and it's normally connected only that way to the receiver, but now for other reasons I also need to connect it using a 3.5 mm to a small mixer. So in the sound manager I changed the output to...
Sound & Audio
Thunderbird prevents sleep mode
When i run thunderbird and leave it running computer does not enter sleep mode or hibernation. If I shut down thunderbird it is all fine and goes to / from sleep mode without any issue. Any ideas how to fix this?
Performance & Maintenance
Realtek HD Audio optical output
Hi! I have a little problem, with my notebook. I've installed Win 7, and it's working fine, except that there is an optical jack output on my notebook, but I can't use it, because the I can't see it on the Realtek HD audio manager. With XP, it worked fine. And when I plug in the optical cable,...
Sound & Audio

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:01.
Twitter Facebook