How to add audio driver to Win7RescuePE
#1
Posted 12 April 2010 - 10:27 AM
My computer is "HP Compaq dc7800 Convertible Minitower PC" and the driver can be downloaded from the following link:
http://h20000.www2.h...Item=vc-75843-1
I tried to add the driver using a script (http://www.mechrest..../AddDrivers.zip) but was unsucessful.
My question is how to add above HP audio driver in Win7RescuePE. Do I need to investigate the .inf included in hte driver package to manually compose a script or is there any tool to do it?
#2
Posted 12 April 2010 - 09:02 PM
http://www.mediafire.com/?yamtmztyjmn
#3
Posted 13 April 2010 - 08:36 AM
FileCopy,"%i32%\en-US\qasf.dll.mui","%t32%\en-US\"must be
FileCopy,"%i32%\%DistLang%\qasf.dll.mui","%t32%\%DistLang%\"(or at least de-DE)
#4
Posted 13 April 2010 - 08:54 AM
Does the audio_w7.script only work for some specific computer models or sound cards? Is there any key point to check to get it working?
#5
Posted 13 April 2010 - 08:59 AM
#6
Posted 13 April 2010 - 07:03 PM
yes that is possible,for me there is a bug in the script (because of my german host os and german source):
FileCopy,"%i32%\en-US\qasf.dll.mui","%t32%\en-US\"must beFileCopy,"%i32%\%DistLang%\qasf.dll.mui","%t32%\%DistLang%\"(or at least de-DE)
nevertheless in my hu-HU source the qasf.dll.mui is located in the en-US folder
#7
Posted 14 April 2010 - 02:28 AM
#8
Posted 14 April 2010 - 05:31 AM
what is your hardware detection modus in win7rescuepe?
#9
Posted 22 April 2010 - 10:04 PM
Thus I am asking for any info advice & howto's
Ultimatly I am tring to make a custom win7pe that is live off disk yet feels like the full boody damn thing (sept i plan to add the recovery console aswell cause that is the truest reason to even use winpe besides os install)
Ps: Yes I intend to find that post on 911cd.net & repost this question there aswell!
#10
Posted 23 April 2010 - 11:55 AM
so i have no idea how should to implement the audio support into the Win7PE fully correctly
all i can say what the script (which intended to work in Win7RescuePE winbuilder project and shared on mediafire) do:
first:
it copy all .DLL files from System32 folder from the boot.wim index=2
(exactly it copies the missing files for that case if in the Win7RescuePE project the 'File to copy=standard' option selected,
i mean if you use the whole winpe.wim from the WAIK as base as it is in Wimb's MAKE_PE3 then the section below '//file copy full' is not needed)
plus also copy the directx files (probably not all of the directx files needed for the audio)
second:
i copy my audiocard's driver files to the PE 'windows\inf' folder plus also copy
wdmaudio.inf
drmk.sys
drmkaud.sys
portcls.sys
SysFxUI.dll
WMALFXGFXDSP.dll
from the '\System32\DriverStore\FileRepository\wdmaudio.inf_x86_neutral_*' to the PE 'windows\inf' folder
in the running PE i try to load my audio driver using these commands in this sort order:
1. drvload.exe X:\Windows\inf\ksfilter.inf
2. drvload.exe X:\Windows\inf\wdmaudio.inf
3. drvload.exe X:\Windows\inf\myaudiodriver.inf
third:
after the audiocard's driver sucessfully loaded (check it in the Device Manager)
still there is no sound,
the problem described here,
so the tool 'AudioActivatorPE.exe' try to solve this problem
try to put the script into a Winbuilder project
and try to extract the attached files from the script via the winbuilder interface
AudioActivatorPE.exe needs the audio.bat next to each other
plus it needs some vc90 files and vc90 registry entries to work properly
(the script try to automatically import the .reg file in the running PE at startup)
#11
Posted 23 April 2010 - 03:57 PM
atm winbuilder isnt install'd Its not a big deal to install it & try to nic the file as its downloaded but as i wont have the opertunity till tonite to try this stuff if someone knows a direct link to download it(audio activator) would get a click to download
#12
Posted 01 May 2010 - 11:04 AM
so i have no idea how should to implement the audio support into the Win7PE fully correctly
all i can say what the script (which intended to work in Win7RescuePE winbuilder project and shared on mediafire) do:
Hi dera,
I used audio_w7.script in Win7PE_SE_04_20_2010
In 7PE I used PnPUtil to Install all drivers.
Sound drivers are installed OK.
After manually adding sbs.reg I can use AudioActivatorPE.exe and Apply Activate.
Problem is that I cannot select the Speakers as output device.
It remains with SPDIF as default output.
So I am close, but still no sound ....
Any idea how to solve this.
Is there a way in the script to set Speakers as Default Output device ?
Win7PE - Audio - Fail to Select Speakers as Output device - No Sound
=

=
#13
Posted 01 May 2010 - 01:27 PM
And if you delete this line (or write // before each line) ?
##SPDIF
reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000008-0000-0010-8000-00aa00389b71}","DisplayName","DTS Audio"
reg_add,0x2,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000008-0000-0010-8000-00aa00389b71}","TestFile","#$pwindir#$p\system32\mmres.dll#$c-3150"
reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000092-0000-0010-8000-00aa00389b71}","DisplayName","Dolby Digital"
reg_add,0x2,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000092-0000-0010-8000-00aa00389b71}","TestFile","#$pwindir#$p\system32\mmres.dll#$c-3151"
reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000164-0000-0010-8000-00aa00389b71}","DisplayName","Microsoft WMA Pro Audio"
reg_add,0x2,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000164-0000-0010-8000-00aa00389b71}","TestFile","#$pwindir#$p\system32\mmres.dll#$c-3152"
#14
Posted 01 May 2010 - 03:09 PM
And if you delete this line (or write // before each line) ?
##SPDIF
reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000008-0000-0010-8000-00aa00389b71}","DisplayName","DTS Audio"
.....
Hi ludovici,
Removing SPDIF entries from audio_w7.script did not work.
SPDIF icon is still visible and set as default Output device and it cannot be changed.
May be removing SPDIF entries from driver .inf files can help.
What do you think ?
#15
Posted 01 May 2010 - 05:06 PM
I remove from registry the SPDIF related entry in key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render
then Speakers are becoming Default for Audio playback (and SPDIF icon was removed).
Now I can (after adding sbs.reg) use AudioActivatorPE and red cross in Speaker Icon disappears !
A bit closer, but unfortunately still no sound ....
#16
Posted 01 May 2010 - 05:22 PM
You do not have to fiddle with SPDIF. Just with the speaker part.
In my experience problems are seldom cause by something that does exist, but mostly by things that are missing.
Billy is a thorough believer in fallback.
#17
Posted 01 May 2010 - 07:34 PM
RegHiveLoad,"WB-Software","%target_sys%\config\software"
RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}",,"Sound#$sControl#$sPanel"
RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}","System.ApplicationName","Microsoft.Sound"
RegWrite,HKLM,0x4,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}","System.ControlPanel.Category","2"
RegWrite,HKLM,0x2,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}","InfoTip","@#$pSystemRoot#$p\System32\mmsys.cpl#$c-301"
RegWrite,HKLM,0x2,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}","LocalizedString","@#$pSystemRoot#$p\System32\mmsys.cpl#$c-300"
RegWrite,HKLM,0x1,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}","System.Software.TasksFileUrl","Internal"
RegWrite,HKLM,0x2,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}\DefaultIcon",,"#$pSystemRoot#$p\System32\mmsys.cpl#$c-100"
RegWrite,HKLM,0x0,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}\Shell"
RegWrite,HKLM,0x0,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}\Shell\Open"
RegWrite,HKLM,0x2,"WB-Software\Classes\CLSID\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}\Shell\Open\Command",,"#$pSystemRoot#$p\System32\rundll32.exe#$s#$pSystemRoot#$p\System32\shell32.dll#$cControl_RunDLL#$s#$pSystemRoot#$p\System32\mmsys.cpl"
RegWrite,HKLM,0x1,"WB-Software\Microsoft\Windows\CurrentVersion\explorer\ControlPanel\NameSpace\{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}",,"Sound"
RegHiveUnLoad,"WB-Software"
hive_load,HKU
#18
Posted 01 May 2010 - 08:24 PM
AudioActivatorPE.exe is not compatible with my Realtek Soundcard.
Solution:
- In 7PE Install all drivers by running PnPutil - X:\WINDOWS\system32\PnPutil.exe -i -a X:\Windows\inf\*.inf
- Remove from registry the SPDIF related entry in key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render
so that Speakers are becoming Default for Audio playback and SPDIF icon is removed from Sound playback selector - In Speakers Properties entry add the three extra (missing) lines from Windows 7 registry using 7PE GUID as installed by PnPutil
- Run audio.bat to Activate (red cross in sound icon disappears)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\{f36cd2e2-2a57-4081-a8d2-2064695810bc}\Properties]
"{f19f064d-082c-4e27-bc73-6882a1bb8e4c},0"=hex:41,00,20,74,01,00,00,00,fe,ff,\
02,00,44,ac,00,00,10,b1,02,00,04,00,10,00,16,00,10,00,03,00,00,00,01,00,00,\
00,00,00,10,00,80,00,00,aa,00,38,9b,71
"{e4870e26-3cc5-4cd2-ba46-ca0a9a70ed04},0"=hex:41,00,20,74,01,00,00,00,fe,ff,\
02,00,44,ac,00,00,20,62,05,00,08,00,20,00,16,00,20,00,03,00,00,00,03,00,00,\
00,00,00,10,00,80,00,00,aa,00,38,9b,71
"{e4870e26-3cc5-4cd2-ba46-ca0a9a70ed04},1"=hex:41,00,00,00,01,00,00,00,d3,8c,\
01,00,00,00,00,00audio.bat
NET STOP Audiosrv NET START AudiosrvIn fact it is the procedure as described by NewBSOD but carried out manually instead of using AudioActivatorPE.exe
http://www.boot-land...amp;#entry64383
Win7PE - Sound working OK for Realtek HD Audio
=

=
#19
Posted 01 May 2010 - 08:25 PM
both are integrated soundcard
with Sigmatel (on Intel mainboard) and with SoundMAX (Analog Devices on Asus mainboard)
for me there is sound via player - e.g. VLC or KMPlayer
but there is no sound in web browsers
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







