gab24 Posted July 9, 2024 Author Posted July 9, 2024 42 minutes ago, deomsh said: 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). Wow, it works now - The audio comes out now trough the speakers! Thank you very much deomsh. The sound comes not over the headphones now, if i connected it. But the headphones are not important to me. I discovered that the volume can be adjusted in Windows Media Player. Maybe there is a command that can be used to manually adjust the volume in Windows. Quote If I understand you right there is no change in 'CODEC index' it always stays at CODEC index $2. Yes, correct.
deomsh Posted July 9, 2024 Posted July 9, 2024 Good result, congratulations! About volume: somehow audio devices using DirectSound have a working volume slider in combination with HDA2.DLL. For instance MediaPlayer. I am not aware of a software-solution INDEPENDENT of a mediaplayer. If you install (an OLD verdion of) GOM-player, you can choose the audio device. In my experience the volume slider is only working with DirectSound. About the Verbs you added to your HDAICOUT.HDA: I'de like to know if they are all needed. Will you be so kind to test if the two EAPD lines starting with '01F' are really needed? Just comment them out with semicolon's temporarily.
gab24 Posted July 9, 2024 Author Posted July 9, 2024 (edited) Did you mean this both lines in HDAICOUT.HDA, that i added from this post today? https://msfn.org/board/topic/186298-help-setting-up-high-definition-audio-drivers-for-hp-pavilion-dv5-1220ez-notebook/?do=findComment&comment=1268914 I have it commented out in HDAICOUT.HDA: ; $01F70500;AC_VERB_SET_POWER_STATE;Power up! ; $01F70C02;AC_VERB_SET_EAPD_BTLENABLE;ExtenalAmplifierPowerUp After a reboot, the sound did work well again. Edited July 9, 2024 by gab24
deomsh Posted July 9, 2024 Posted July 9, 2024 Yes, those two lines. But by commenting out I mean: ;;$01F70500;AC_VERB_SET_POWER_STATE;Power up! ;;$01F70C02;AC_VERB_SET_EAPD_BTLENABLE;ExtenalAmplifierPowerUp Unless your paste went wrong, you made a carriage-return after the semi-colon! BTW I always use two semi-colon's, but one should work too.
gab24 Posted July 9, 2024 Author Posted July 9, 2024 (edited) 1 hour ago, deomsh said: Yes, those two lines. But by commenting out I mean: ;;$01F70500;AC_VERB_SET_POWER_STATE;Power up! ;;$01F70C02;AC_VERB_SET_EAPD_BTLENABLE;ExtenalAmplifierPowerUp Unless your paste went wrong, you made a carriage-return after the semi-colon! BTW I always use two semi-colon's, but one should work too. So that I am on the safe side, i tested it now with two semicolons, like you. The sound works well after a reboot Quote 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. I see. Is there a way to limit the volume by a value in HDAICOUT.HDA only? I try to understand the values of SleepingWidget/VolumeVidget/OutputWidget from your previous post for my interest. I assume that the values correspond to datasheet, page 34 / page 35 of the 92HD71B7 codec. The ExtVolume (NID 28h) controls DAC0 (NID 10h) and DAC1 (NID 11h). Did I understand that correctly? The datasheet, that i found: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/642/92HD71B7.pdf Edited July 9, 2024 by gab24
deomsh Posted July 9, 2024 Posted July 9, 2024 Thanks, so our experiment suggests the node 1F with EAPD is not needed in case of your laptop. The datasheet is quite confusing for me: this Dig1Pin seems to be multipurpose. Tertiary SPDIF (SPDIF is digital audio) and/ or (?) EAPD (External Amplifier Power Down). Linux (ALSA) sources seems to mention GPIO0 only (strange enough '1' in the Verb, probably because '0' as Bit 0 will disable GPIO's). But for me reading these sources is even more difficult/ confusing than the datasheet. I found the $10, $11 and $28 nodes in the datasheet on page 34 AND in the codec dump you delivered. So your reading of the datasheet is same as mine. To limit maximum volume you can add following lines to HDAICOUT.HDA at the end, and experiment. Last two numbers just BEFORE the first semicolon after each Verb can be set between 00 and 7F (127 steps, if I am right - 127 is decimal for 7Fh), 80 is mute! For now I set the default value for you (0x4C according to your codec dump). In between I will search for the right Verb for Volume Knob $28 (no experience so far): ======================== Begin $0103B04C;AC_VERB_SET_AMP_GAIN_MUTE;set_vol(default=80) $0113B04C;AC_VERB_SET_AMP_GAIN_MUTE;set_vol(default=4C) End ========================
gab24 Posted July 10, 2024 Author Posted July 10, 2024 10 hours ago, deomsh said: Thanks, so our experiment suggests the node 1F with EAPD is not needed in case of your laptop. The datasheet is quite confusing for me: this Dig1Pin seems to be multipurpose. Tertiary SPDIF (SPDIF is digital audio) and/ or (?) EAPD (External Amplifier Power Down). Linux (ALSA) sources seems to mention GPIO0 only (strange enough '1' in the Verb, probably because '0' as Bit 0 will disable GPIO's). But for me reading these sources is even more difficult/ confusing than the datasheet. I found the $10, $11 and $28 nodes in the datasheet on page 34 AND in the codec dump you delivered. So your reading of the datasheet is same as mine. To limit maximum volume you can add following lines to HDAICOUT.HDA at the end, and experiment. Last two numbers just BEFORE the first semicolon after each Verb can be set between 00 and 7F (127 steps, if I am right - 127 is decimal for 7Fh), 80 is mute! For now I set the default value for you (0x4C according to your codec dump). In between I will search for the right Verb for Volume Knob $28 (no experience so far): ======================== Begin $0103B04C;AC_VERB_SET_AMP_GAIN_MUTE;set_vol(default=80) $0113B04C;AC_VERB_SET_AMP_GAIN_MUTE;set_vol(default=4C) End ======================== Thank you, it works. Now I have now turned down the volume a bit.
deomsh Posted July 10, 2024 Posted July 10, 2024 (edited) Good! I have been reading about the Volume Knob in Intel's High Definition Audio Specification. To me it seems there is a chance to get your hardware volume control back. If you like you can try AFTER last entries the following lines in HDAICOUT.HDA: ======================== Begin $02870500;AC_VERB_SET_POWER_STATE;PowerUp! $02870FFF;AC_VERB_SET_volume-knob;set_direct&max End ======================== BTW according to the datasheet 8.32.6 the Reset value of Bit7 is '0', so there is a chance physical volume will work with this Verb! Edited July 10, 2024 by deomsh Typo
gab24 Posted July 10, 2024 Author Posted July 10, 2024 1 hour ago, deomsh said: Good! I have been reading about the Volume Knob in Intel's High Definition Audio Specification. To me it seems there is a chance to get your hardware volume control back. If you like you can try AFTER last entries the following lines in HDAICOUT.HDA: ======================== Begin $02870500;AC_VERB_SET_POWER_STATE;PowerUp! $02870FFF;AC_VERB_SET_volume-knob;set_direct&max End ======================== BTW according to the datasheet 8.32.6 the Reset value of Bit7 is '0', so there is a chance physical volume will work with this Verb! Thanks, i've added these lines at the end of HDAICOUT.HDA and i testet it with all values on SleepingWidget / VolumeWidget / OutputWidget in HDAcfg.ini, that you give me in this post: https://msfn.org/board/topic/186298-help-setting-up-high-definition-audio-drivers-for-hp-pavilion-dv5-1220ez-notebook/?do=findComment&comment=1268834 But i can't change the volume in WAVEOUT.EXE. I have attached the HDAICOUT.HDA, that i use currently. hp-notebook-Hdaicout.hda
deomsh Posted July 10, 2024 Posted July 10, 2024 There has been a misunderstanding: the '$02870FFF' is NOT ment for WAVEOUT.EXE, but to test if the PHYSICAL volume (pot or buttons) on your laptop is working with this Verb. Did you test this?
gab24 Posted July 10, 2024 Author Posted July 10, 2024 10 minutes ago, deomsh said: There has been a misunderstanding: the '$02870FFF' is NOT ment for WAVEOUT.EXE, but to test if the PHYSICAL volume (pot or buttons) on your laptop is working with this Verb. Did you test this? Oh, i see. Sorry, i have you missunderstanded. There are no physical buttons or keys, which i can control the sound volume on my notebook. Above the keyboard, there are some "touch-keys", which i can switch between soundtracks and which i can regulate the volume, but this "touch-keyboard" did not work in Windows 98 SE.
deomsh Posted July 10, 2024 Posted July 10, 2024 All right, in that case you can comment-out the $28 Volume Knob Verbs. WAVEOUT.EXE will not work, so you will have to ' live' with your presets for nodes 10/ 11 in HDAICOUT.HDA.
gab24 Posted July 10, 2024 Author Posted July 10, 2024 (edited) 24 minutes ago, deomsh said: All right, in that case you can comment-out the $28 Volume Knob Verbs. WAVEOUT.EXE will not work, so you will have to ' live' with your presets for nodes 10/ 11 in HDAICOUT.HDA. I see. I will adjust the volume like this. But now I have found the right volume, and leave it at that Thank you for your help that audio does work in Windows 98 SE on my notebook. This seems for me to be a complex matter and I have learned a lot. I am currently writing an article about how to install Windows 98 SE on an HP Pavilion dv5-1220ez notebook. For other people who are also interested in installing Windows 98 on a modern computer. Is it ok for you if i post the listing of the HDAICOUT.HDA in that article, that i'm currently using on my notebook? HP-PAVILION-dv5-1220ez_HDAICOUT.HDA Edited July 10, 2024 by gab24 1
deomsh Posted July 10, 2024 Posted July 10, 2024 Nice idea to write an article. No problem using using your HDAICOUT.HDA! 1
gab24 Posted July 10, 2024 Author Posted July 10, 2024 1 hour ago, deomsh said: Nice idea to write an article. No problem using using your HDAICOUT.HDA! Ok, thank you.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now