Jump to content

Help setting up High Definition Audio Drivers for HP Pavilion dv5-1220ez Notebook


Recommended Posts

Posted (edited)

Hello

I installed Windows 98SE local on my HP Pavilion dv5-1220ez Notebook, which released in 2008.
The Notebook countains this audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
(HDA Intel)

I try to install the HDADRV9L driver but the sound doesn't work.
I proceeded as follows:

    - I created the INI-File GENHDA16.INF and i proceeded according to this post:
    https://msfn.org/board/topic/178295-audio-driver-for-realtek-hd-audio-hardware-testing-thread/#comment-1161697

    - After a reboot the audio didn't work, i did this steps:
        * copied HDAICOUT.HDA to C:\WINDOWS\SYSTEM (then a reboot)
        * renamed HDAICOUT.HDA.000 to HDAICOUT.HDA and copied to C:\WINDOWS\SYSTEM (then a reboot)
        * i did the same with HDAICOUT.HDA.100, HDAICOUT.HDA.200, Dave-H_Hdaicout.hda, Hdaicout.hda.dell_latitude_6430u but the audio doesen't work.

    - I've uninstalled the driver HDADRV9L and installed the older version HDADRV9J (from this page https://retrosystemsrevival.blogspot.com/2019/06/windows-31959898se-hda-driver.html) and i did the same steps again, but the audio doesen't work.

    - I've tried the driver with this values in SYSTEM.INI in [Vcache]:
        MinFileCache=8192  
        MaxFileCache=8192

        
        and
        
        MinFileCache=1024  
        MaxFileCache=1024

        
Did I make a mistake during installation?

001.png

Edited by gab24

Posted (edited)
On 7/6/2024 at 12:22 PM, deomsh said:

I can take a look.

Please upload your HDACFG.INI and SYSTEM.INI first.

Thank you deomsh. 
I attached the two files.

HDAcfg.ini

SYSTEM.INI

Edited by gab24
Posted

As far I can see, HDA2.DLL is installed correctly (the actual installation of the driver is a line in SYSTEM.INI, the entry in Device Manager gives information only). Also HDATSR seems to be installed correctly in AUTOEXEC.BAT.

About SYSTEM.INI: you can delete 'MaxPhysPage=3E6FF' in [vcache] (entrance 'MaxPhysPage=40000' in [386enh] looks GOOD).

HDACFG.INI gives 'CODEC Index=$2', so you need HDAICOUT.HDA with entries starting with '$2'. 

I suggest first to use a HDAICOUT.200 renamed to HDAICOUT.HDA, if you want to test other versions use Notepad to make changes accordingly. Placement however is NOT in \WINDOWS\SYSTEM\, but in \WINDOWS\. 

During ALL stages carefully listen with headphones if you hear ANYTHING.

If you hear still nothing, you can experiment with 'pcipatchB=$7900' in HDACFG.INI - as always: at your own risk!

Afterwards please report and  upload HDAICIN.TXT, HDALOG.TXT and again HDACFG.INI (all from your WINDOWS-directory).

BTW I have found NO  information so far about the listed codec 'CODEC_VID=$10DE
CODEC_DID=$0006' in HDACFG.INI.

Posted (edited)

Thank you for your reply.

I have 'MaxPhysPage=3E6FF' in [vcache] now deleted in SYSTEM.INI

Quote

I suggest first to use a HDAICOUT.200 renamed to HDAICOUT.HDA, if you want to test other versions use Notepad to make changes accordingly. Placement however is NOT in \WINDOWS\SYSTEM\, but in \WINDOWS\. 

Please excuse me, i made a typo. Of course, i always copied the HDAICOUT.HDA to C:\WINDOWS :D

Ok, i have now HDAICOUT.200 renamed to HDAICOUT.HDA and copied to C:\WINDOWS. But the sound does not work (tested with the speakers on my Notebook and with my headphones).

Quote

If you hear still nothing, you can experiment with 'pcipatchB=$7900' in HDACFG.INI - as always: at your own risk!

I have tried it but it takes no effect.

Quote

BTW I have found NO  information so far about the listed codec 'CODEC_VID=$10DE
CODEC_DID=$0006' in HDACFG.INI.

Do i need to install anything else?

I attached the current HDAcfg.ini / HDALOG.TXT and HDAICIN.TXT from C:\WINDOWS

HDAcfg.ini HDALOG.TXT HDAICIN.TXT

Edited by gab24
Posted

I think a found the problem. You have two codecs. And HDA2.DLL is using the wrong one.

According HDALOG.TXT the codec on 'CODEC Index=$0' is $111D76B2, this seems to be IDT HD Audio 92HD71B (Vendor ID: 111D, Device ID: 76B2). The codec on 'CODEC Index=$2' is $10DE0006, somewere I found this is (your) NVidia HDMI-audio.

The driver continues with the second one. This is a known issue of HDA2.DLL.

Difficult to say how to proceed. Following came to my mind:

1) Check your setup (BIOS) if anything can be changed. Also switch the modem off if there is any.

2) Try again with 'Verbinterface=$0' in HDACFG.INI.

All tests with both versions HDA2.DLL and this time with HDAICOUT.000 renamed to HDAICOUT.HDA.

Posted (edited)
7 hours ago, deomsh said:

I think a found the problem. You have two codecs. And HDA2.DLL is using the wrong one.

According HDALOG.TXT the codec on 'CODEC Index=$0' is $111D76B2, this seems to be IDT HD Audio 92HD71B (Vendor ID: 111D, Device ID: 76B2). The codec on 'CODEC Index=$2' is $10DE0006, somewere I found this is (your) NVidia HDMI-audio.

The driver continues with the second one. This is a known issue of HDA2.DLL.

Difficult to say how to proceed. Following came to my mind:

1) Check your setup (BIOS) if anything can be changed. Also switch the modem off if there is any.

2) Try again with 'Verbinterface=$0' in HDACFG.INI.

All tests with both versions HDA2.DLL and this time with HDAICOUT.000 renamed to HDAICOUT.HDA.

Now i hear sound in my headphones! I changed 'Verbinterface=$0" in HDACFG.INI and i use HDAICOUT.000 as HDAICOUT.HDA in C:\WINDOWS now. I couldn't turn off the modem in the BIOS, but i did it via the device manager in Windows 98.

I uninstalled the HDADRV9J driver and i installed HDADRV9L (with the new HDA2.dll). The sound works with my headphones too.

But i hear no sound from the speakers of my Notebook. Is there a way i can hear sound through the speakers?

I can hear now the Windows sounds (from .wav files) but the device does not play MIDI music. Is there a way that i can do this?

 

EDIT:
Yes correct, according to the output of (aplay --list-devices) on my Linux OS on the same Notebook it is a 92HD71B7X.

EDIT (MIDI):

From what I read in this post (https://msfn.org/board/topic/178295-audio-driver-for-realtek-hd-audio-hardware-testing-thread/page/23/#comment-1245427, MIDI is a different matter and requires a different driver. I've found this driver here: https://www.vogons.org/viewtopic.php?t=33661

The MIDI-driver does work, after i installed it according to this post: https://msfn.org/board/topic/178295-audio-driver-for-realtek-hd-audio-hardware-testing-thread/page/23/#comment-1245427

Edited by gab24
Posted

WOW, thats more than I expected, congratulations!

About midi: this is not supported by HDA2.DLL, but you can try software approaches, like this one: https://msfn.org/board/topic/178295-audio-driver-for-realtek-hd-audio-hardware-testing-thread/?do=findComment&comment=1245427

About your speaker: this will be related to EAPD and/ or GPIO. If you want more information read the T420 thread below. I found a datasheet of IDT codec 92HD71B7, mentions 'Device ID=76B2h' somewere. I will see what I can do to write a more specific HDAICOUT.HDA for your laptop. But this will take some/ much time (also 216 pages....).

If you have Linux, can you manage to make a codec-dump of your codec?

Posted
1 hour ago, deomsh said:

WOW, thats more than I expected, congratulations!

About midi: this is not supported by HDA2.DLL, but you can try software approaches, like this one: https://msfn.org/board/topic/178295-audio-driver-for-realtek-hd-audio-hardware-testing-thread/?do=findComment&comment=1245427

About your speaker: this will be related to EAPD and/ or GPIO. If you want more information read the T420 thread below. I found a datasheet of IDT codec 92HD71B7, mentions 'Device ID=76B2h' somewere. I will see what I can do to write a more specific HDAICOUT.HDA for your laptop. But this will take some/ much time (also 216 pages....).

If you have Linux, can you manage to make a codec-dump of your codec?

Thank you very much deomsh! I am very thankful.

I have created a codec-dump of both codecs IDT 92HD71B7X and Nvidia MCP77/78 HDMI from /proc/asound/card0. I have included additional information in the ZIP file in case it is relevant to you.

What I also noticed: The volume cannot be adjusted with WAVEOUT.EXE. Neither with the right nor with the left slider.

hp-notebook_audio-codec-dump.zip

Posted (edited)

Thanks for the dump. Looks like information in the datasheet.

About WAVEOUT.EXE: needs the right settings in HDACFG.INI, possible candidates are 0x10, 0x11 or Volume Knob 0x28

So try these:

first

SleepingWidget=$10
VolumeWidget=$10
OutputWidget=$10

then

SleepingWidget=$11
VolumeWidget=$11
OutputWidget=$11

and last

SleepingWidget=$10
VolumeWidget=$28
OutputWidget=$10

or

SleepingWidget=$11
VolumeWidget=$28
OutputWidget=$11

BTW I missed your EDIT about MIDI above. Please report etcetera in a new post. Most of the time I use my smartphone. No offense of course.

Edited by deomsh
Addition
Posted

I found a Linux (ALSA) patch concerning your codec, so i have a (more or less) general idea how to proceed in case of your internal speaker.

I made a first version of a specific HDAICOUT.HDA for your codec/ laptop model. Rename first to HDAICOUT.HDA

HDAICOUT_IDT_92HD71B7X_v0.HDA

Posted

Thank you very much for the HDA file and for the settings for HDACFG.INI.
I've renamed it to HDAICOUT.HDA and copied to C:\WINDOWS, but the sound does not work with it (not with my headphones and not with the speakers of the Notebook).

Quote

About WAVEOUT.EXE: needs the right settings in HDACFG.INI, possible candidates are 0x10, 0x11 or Volume Knob 0x28

So try these:

first

SleepingWidget=$10
VolumeWidget=$10
OutputWidget=$10

then

SleepingWidget=$11
VolumeWidget=$11
OutputWidget=$11

and last

SleepingWidget=$10
VolumeWidget=$28
OutputWidget=$10

or

SleepingWidget=$11
VolumeWidget=$28
OutputWidget=$11

I've tried the settings in HDACFG.INI, but the volume cannot be adjusted with WAVEOUT.EXE. Neither with the right nor with the left slider. 

If you need further information, I will provide it to you. 

Quote

BTW I missed your EDIT about MIDI above. Please report etcetera in a new post. Most of the time I use my smartphone. No offense of course.

Okay, I will do this in the thread where the instructions for installing the MIDI driver are. 

HDALOG.TXT HDAICIN.TXT HDAcfg.ini

Posted

I am sorry to hear that.

According to your HDACFG.INI you are back on the (wrong) second codec with 'CODEC Index=$2'.

In HDALOG.TXT there is a line with 'First IRS change $10DE0006'. This line will be output of HDA2.DLL 'version L' related to this 'change of plans' of the driver.

How are things if you first boot Windows, Reboot to MS-DOS and then back to Windows with 'EXIT'?

Or more reboots/ hard resets/ turn of computer and wait one minute?? Always look in HDACFG.INI if 'CODEC Index=$0' is back again.

Are things okay with previous version of HDAICOUT.HDA you used? In that case I can instruct you how to add changes I have in mind to that version.

About MIDI, no problems if you report here, it is YOUR thread. I asked only for NEW posts, because on my smartphone I am seeing only  15 lines at a time....

Posted (edited)
Quote

How are things if you first boot Windows, Reboot to MS-DOS and then back to Windows with 'EXIT'?


Ok, i have tried this: boot Windows, reboot to the MSDOS mode und back to Windows with the EXIT command. After this the line the CODEC Index did not changed to $0 (it remains in $2).

Quote

Or more reboots/ hard resets/ turn of computer and wait one minute?? Always look in HDACFG.INI if 'CODEC Index=$0' is back again.

Several reboots: The "CODEC Index=$2" did remain.

One hard reset (I pressed the PowerOff button after Windows was booted): The "CODEC Index" remains the same

I turned off the Computer an wait for one minute: It takes no effect

Quote

Are things okay with previous version of HDAICOUT.HDA you used?

Yes. If i use HDAICOUT.000 as HDAICOUT.HDA again, the sound does work again with my headphones. Although the "CODEC index" is $2 in HDAcfg.INI

 

Regarding the MIDI report: I have postet it in this thread: https://msfn.org/board/topic/178295-audio-driver-for-realtek-hd-audio-hardware-testing-thread/page/29/#comment-1268869

 

Edited by gab24
Posted

If I understand you right there is no change in 'CODEC index' it always stays at CODEC index $2.

This implicates that the IDT codec is only driven by the Verbs inside HDAICOUT.HDA. I am afraid WAVEOUT.EXE is not going to work, because VolumeWidget is on the HDMI-codec with main address $2.

It should be possible to set a lower static volume with a Verb in HDAICOUT.HDA.

But first lets continue with your internal speaker.

Please add following lines BETWEEN the '=====' below to your HDAICOUT.HDA:

=======================

Begin

;;node_0x01:_Audio_Function_Group

$00170500;AC_VERB_SET_POWER_STATE;Power up!

$00171601;AC_VERB_SET_GPIO_MASK,01

$00171701;AC_VERB_SET_GPIO_DIRECTION,01

$00171501;AC_VERB_SET_GPIO_DATA,01

;;node_0x1F:_IN_OUT_EAPD_Detect_(Line_Out_at_Ext_N/A)

$01F70500;AC_VERB_SET_POWER_STATE;Power up!

$01F70C02;AC_VERB_SET_EAPD_BTLENABLE;ExtenalAmplifierPowerUp

End

========================
So WITHOUT the '=====' and remove empty lines. Don't forget the carriage return after 'End' and don't forget to check physicall buttons on your laptop (if any).

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...