locked
TROUBLES ENCOUNTERDED WHEN CREATING A SOUNDMAX AUDIO COMPONENT (ENGLISH TRADUCTION OF A PREVIOUS POST). RRS feed

  • Question

  • Hi,

    (This is just a traduction of my previous post in french on the same subject, in order to have more chances to get useful helps...)

    Here is my problem :
    I am getting troubles having sound in my Windows XP Embedded image, since then few weeks, without any succes.

    Bellow are my Data entries :
    - The Windows XP Embedded Image must finally be deployed on a CONGATEC board. (IVI-CONGATEC DEVELOPPEMENT KIT)
    - The "Everest" Software gave me the following report : (I prefer to give only information that seem the most useful for my problem in order to be more efficient... If other information are missing, please do not hesitate to send me the information that you need.)

        Motherboard:
          CPU Type                                          Intel Atom Z530, 1600 MHz (12 x 133)
          Motherboard Name                                  Unknown
          Motherboard Chipset                               Intel Poulsbo US15W
          System Memory                                     [ TRIAL VERSION ]
          BIOS Type                                         AMI (04/14/09)

        Display:
          Video Adapter                                     Intel Corporation US15 Embedded Graphics Chipset Function 0
          Video Adapter                                     Intel Corporation US15 Embedded Graphics Chipset Function 0  (147788 KB)
          3D Accelerator                                    Intel GMA 500

        Multimedia:
          Audio Adapter                                     Analog Devices AD1986A @ Intel US15W Chipset - High Definition Audio Controller

    - Name of the driver that I wish to install : "SoundMax" (since it works with a "manual" installation)


    Initiatives/steps successively realized to (try to) solve the problem : (with, for each step, a build of the image and test on the target)

    #####################
    ###### PHASE 1 ########
    #####################
    - Research of an audio driver of type ".exe" compatible with our chipset and manual installation on target, "above" the XPE image already generated, without any sound codec/driver.  (Result : OK)
    #####################
    ####### PHASE 2 #######
    #####################
    - Research of a ".zip/.rar" containing ".inf"/".dll"/".sys" etc... files that equals to the ".exe" previously searched, in order to be able to create a component based on these files, via  "Component Designer", with the "Import" tool.
    #####################
    ####### PHASE 3 #######
    #####################
    - Import of the "ADIHdAud.inf" file inside Component Designer delivered as is :
    Log of errors bellow :

    Info:More than one component has the same Concordance ID [ZYXEL OMNI TA128 (JAPAN), PNP:SERENUM\ZYX09EA].
    Info:More than one component has the same Concordance ID [SONY PROGRAMMABLE I/O CONTROL DEVICE:*SNY6001].
    [blablabla...]
    Info:More than one component has the same Concordance ID [ALTEC LANSING HID AUDIO CONTROLS:USB\VID_04D2&PID_FF47&MI_02].
    Info:More than one component has the same Concordance ID [PROMISE TECHNOLOGY PCI IDE CONTROLLER:PCI\VEN_105A&DEV_4D33].
    Info:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: type PNP device INF
    Info:Creating: SoundMAX Integrated Digital HD Audio
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [M40] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ks.inf".
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [M40] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\wdmaudio.inf".
    Warning:[M40]: Cannot find [KS.Registration] specified in Needs directive in the current and included INFs.
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [M40] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ks.inf".
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [M40] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\wdmaudio.inf".
    Warning:[M40]: Cannot find [WDMAUDIO.Registration] specified in Needs directive in the current and included INFs.
    [blablabla...]
    Info:Creating: SoundMAX Integrated Digital HD Audio
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [HD_ICH8_ARMST] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ks.inf".
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [HD_ICH8_ARMST] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\wdmaudio.inf".
    Warning:[HD_ICH8_ARMST]: Cannot find [KS.Registration] specified in Needs directive in the current and included INFs.
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [HD_ICH8_ARMST] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ks.inf".
    *** Error ***:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: [HD_ICH8_ARMST] Cannot find included INF File: "D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\wdmaudio.inf".
    Warning:[HD_ICH8_ARMST]: Cannot find [WDMAUDIO.Registration] specified in Needs directive in the current and included INFs.
    Info:Completed processing file [Import succeeded]  : D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf

    #####################
    ####### PHASE 4 #######
    #####################
    - Import of the "ADIHdAud.inf" file after having copied the "ks.inf" and "wdmaudio.inf" files in the same folder as "ADIHdAud.inf" :
    Log of errors bellow :

    Info:Processing file : D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf
    Info:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf: type PNP device INF
    Info:Creating: SoundMAX Integrated Digital HD Audio
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ks.inf: [DelFiles] needs to be processed by the user.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    [blablabla...]
    Info:Creating: SoundMAX Integrated Digital HD Audio
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ks.inf: [DelFiles] needs to be processed by the user.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Warning:[DeviceRegistration]: contains RunOnce AddReg item.
    Info:Completed processing file [Import succeeded]  : D:\ImageMgr\ComponentsDesigner_SLD\Ressources\AD1986A\Files\ADIHdAud.inf

      PERSONAL NOTE : After investigation, we can notice that the 3 first warning lines before "[DelFiles] needs to be processed by the user." correspond to the 3 registry entries of  type "RunOnce" located in the "ks.inf" file.
    Also, the 18 warnings after "[DelFiles] needs to be processed by the user" correspond to the 18 registry entries of type "RunOnce" located in the "wdmaudio.inf" file.

      => The generated component indeed contains more dépendencies (in particular, when we look at the content of the "Component or group dependency" part : "Kernel Streaming User Mode Support", "Primitive : Drmk.sys", "Primitive : Ks.inf", "Primitive : Ks.sys", "Primitive : Portcls.sys", "Primitive : Stream.sys" and "Primitive : Wdmaud.drv")

    The XPE image which integrates this component is not working, since in "control panel" > "sound", the audio hardware is assigned to "No Audio Device", and that the volume scroll is greyed.

    #####################
    ####### PHASE 5 #######
    #####################
    - On the basis of the generated XPE image containing the above defective component : "manual" installation of the driver via the folder containing the ".inf"/".dll"/".sys" files :  ("start" > "Contol Panel" > "system" > "Hardware" Tab > "Device Manager" > right clic on the "unknown device" entry (marked with a yellow exclamation point) > "properties" > we can see "Location 65535 (Internal High Definition Audio bus)" ; so, we are now sure that this entry corresponds to our audio driver > OK > new right Clic on the "unknown device" entry > "update driver" > check "No, not this time" + "Next" > check "Install from a particular location (advanced)" + "Next" > check "Do not search ; I will choose the driver to install" + "Next" > We let by default "Show all devices" + "Next" > select "Analog Devices" in the left colomn + "Next" > Answer "Yes" to the question > ("ksolay.ax" is being copied)

    QUESTION : WHAT IS THE USE OF THIS FILE? DOES IT HAVE A PARTICULAR IMPORTANCE AT THIS STEP TO INSTALL THE AUDIO DRIVER?

      RESULT : The audio driver is correctly installed (present in the "Sound Video and game controllers" category of the device manager + Volume not greyed and correctly identified inside the "sound" icon of the control panel).

    #####################
    ####### PHASE 6 #######
    #####################
    - Comparison of the registry before and after manual installation > saving all the differencies (via "Beyond Compare") linked to the audio part "at first sight" in a ".reg" file > Importation of this ".reg" file via Component designer in order to create a component containing these registy entries > image generation.

      RESULT : KO -> the audio driver must be, here again, be installed manually, in the same way of explained above, via the device manager.
    Further more, after each reboot, the system "loses" all the informations on the audio driver. We must reinstall the driver manually after each reboot.

    The enountered problems in the registry data base are the entries "friendlyname" and "Count" which are not initialized, although they are inside the built ".reg"  and coming from the content differencies of the registry data base before and after a manual installation.

    #####################
    ####### PHASE 7 #######
    #####################
    - Transformation of the "Runonce" entries of type "registry" coming from the automatic importation of the "ADIHdAud.inf" file in Component Designer, into entries of type "RunOnce ressources" > Save > (Update of the Component data base) > Regeneration of the image integrating the new composant via Target Designer.

      RESULTAT : KO. (Same résults than above...)

     

    Question1 : Did I forget, in all these steps, to do something?
    Question2 : Is there a "step-by-step" tutorial on the way of adding a "runonce" ressource inside a component?
    (Open Component Designer > left Frame > clic on the "+" of the composant to be created (in order to display the details) > right clic on "Ressources" > "Add" > "RunOnce request")
    Question3 : Are ther other ways of research on which I could investigate?
    Question4 : All of these problems seem VERY frequent for all the people that create OS images and that want to integrate sound ; in particular because of the inclusions of the 2 files "Ks.inf" and "wdmaudio.inf" that create a lot of problems. Does MSDN have a "step-by-step" tutorial (AND EXEMPLES + screenshots) to integrate an audio component WITH THE MOST SIMPLE WAY? ;-) (it seems we are a lot to get crazy on this problem ; I am not the only one... it Reassure myself...)


    INFINITE THANKS in advance for your precious helps!!!

    mercredi 7 octobre 2009 10:07