Hi guys,Major update on September 7th:
Delta owners: M-Audio has released a public BETA driver for Windows 7! See here.
I tested this BETA driver (6.0.2) and can confirm that there is no BSOD issues when sleeping/shutting down! That's great!
So the fix is not needed anymore!
NB: If you have sometimes no sound after resuming from sleep, this is certainly because you've made a driver update from the old Vista driver.
-> This is solved by a fresh install of Windows 7 with the new driver.
-> Else, continue to use the fix.
Some more info can be found in this thread.
***Side notes:
This fix works with Delta series for sure as only Delta owners have reported 100% success, not sure about other card series.
Firewire and USB cards owners, you have to power down the card before attempting to sleep the computer if the fix doesn't work for you.
I made a V2 of the fix for testing with FW/USB cards if V1 is not working. Or take a look at sheppy99's solution here.
As a new Windows 7 user, I was searching these forums for the solution to the restart/shutdown problem that affects our cards (and I find the solution here, thanks xdurus77!) and also for the sleep/hibernate BSOD issue ("DRIVER_POWER_STATE_FAILURE (9f)") in both Windows Vista and Windows 7, but I figured out it is driver-related bug known but still unsolved! Damn it!
Fortunately, the issue can be solved when manually disabling the soundcard under device manager. Driver is indeed the cause.
Plus, I couldn't believe this: M-Audio tech support guys claiming their audio cards don't support the such *standard* system features that are sleep and hibernate, which exist for years! It's quoted from several threads talking about the problem on this forum:
My question: Is there a way to automate disabling the device before going into sleep mode?M-Audio devices do not support sleep or hibernate modes on your computer. You will want to disable these modes. (...)
We don't support sleep/hibernate/suspend mode. (...)
So... I am very glad to give myself an answer!
I've found a workaround for the sleep/hibernate issue that affects our M-Audio cards under Windows 7.
This fix is actually the same as the restart/shutdown fix but I had to find a way to implement it on sleep/hibernate.
Some research but no knowledge in scripting/programming, I actually managed to find a way to execute the batch file just before sleep engages by using a script that infinitely loops to "catch" the suspend state.
Current limitations: I have problems making this work when "Hybrid sleep" mode is disabled. I don't know if this is due to script timing (standard sleep occurs within 2 seconds while hybrid sleep needs more time like 10-15 seconds to write memory on disk before, letting time for the audio services to be stopped?). Also when hybrid sleep is disabled, direct hibernate isn't fixed, because it does not go to suspend before.
So make sure "Hybrid sleep" mode is enabled under Power settings (see below)!
I made a ZIP file that contains both the shutdown/restart fix and the sleep/hibernate fix. So things are rather simple to do now!
If you still haven't installed drivers or managed to install them correctly, please go directly to this post.
Enough words, here are the fixes.
0) First, be sure that you have administrative rights before modifying system settings -> Disable UAC and run commands as administrator.
To be sure you have a full administrator account on your computer, with full privileges: Windows shall never ask for your confirmation (it behaves like in XP).
1) Download the ZIP containing the fix I made:Original fix working with Delta cardsThe ZIP contains 4 files:
New fix for others cards (*might* work with Firewire/USB cards)-AudioFix.reg -> A registry entry to load the script upon each startup2) Unzip those file to the root of your C drive (C:\). This path should be this one as I designed the script this way /!\
-AudioFix.vbs -> The looping script
-AudioStart.bat -> The batch file for starting audio services
-AudioStop.bat -> The batch file for stopping audio services
3) The restart/shutdown fix
(It is re-write of great xdurus77 fix, designed for the files I provide, I've also moved the batch execution to shutdown time rather than logoff time as it's absolutely not necessary there)
You can skip this step if you have already installed the fix.
a) Open "Run..." from start menu and enter "gpedit.msc" (without quotes) and hit "OK".4) The sleep/hibernate fix
b) Now navigate in the right panel of the policy window "Computer Configuration" > "Windows Settings" > "Scripts (Startup/Shutdown)" > Double-click on "Shutdown".
c) In the properties window that popups, click "Add" then browse to the root of your C drive (C:\), choose "AudioStop.bat" by double clicking on it.
d) Hit "OK" and close the policy window.
a) Using the explorer, browse to the root of your C drive (C:\). You should see the 4 unzipped files here.Now you're done and you can enjoy using your computer under Windows 7 together with your M-Audio card, shutting it down, putting it to sleep, saving on time and your electrical bill without issues (I mean: as it should be!).
b) Double-click on "AudioFix.reg" to add the registry key that will launch the looping script at startup.
c) Hit "Yes" to validate the key. Hit "OK" to close the open dialog.
d) Open "Run..." from start menu and enter "powercfg -h on" (without quotes) and hit "OK". This will ensure that "Hybrid sleep" mode is available.
e) Enable "Hybrid sleep" by following these steps:
- Start the Power Options Control Panel applet (Start -> Control Panel -> System and security -> Power Settings)f) Restart your computer!
- Select the "Change plan settings" option for the current (selected) power plan
- On the settings dialog box, click the "Change advanced power settings"
- Scroll down to the Sleep option, expand "Allow hybrid sleep" and select "On"
- Hit "OK" and close open dialog boxes
M-Audio tech guys: now your cards support sleep and hibernating. Was that a pain?
Tested on my computer under Windows 7 RC 7100 with a M-Audio Delta Audiophile 2496.
Hope it'll works for you (it should).
This should also work under Vista, too!
Please report any success/issue!
Cheers and big thanks to xdurus77 for the original fix!
See ya.
Alex.



, I actually managed to find a way to execute the batch file just before sleep engages by using a script that infinitely loops to "catch" the suspend state.
). Also when hybrid sleep is disabled, direct hibernate isn't fixed, because it does not go to suspend before.



Reply With Quote

Thank you for the reply!