win3x
« High Definition Audio »

Welcome Guest. Please Login or Register.
Feb 18th, 2018, 02:53am



« Previous Topic | Next Topic »
Pages: 1 ... 4 5 6 7 8  ...  12 Reply Notify Send Topic Print
 veryhotthread  Author  Topic: High Definition Audio  (Read 2609 times)
deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #75 on: Oct 30th, 2017, 5:54pm »
Quote

I will try, never used HimemX with /NOABOVE16.

With version 9.6 Windows 3.1 cannot load, neither in Enhanced/Standard mode.

HDACFG.INI:
[ALLHDA]
$00A2=$43831002

[HDA]
TSR=TSR Found

[BUSMASTER]
myPCIHI=$0011
myPCILO=$0000
myPCImem=$00110000

No log files at all.

I also tried on the P5G41T-M LE with win /s, I find out the driver can only load without HDAICOUT.HDA. Then there is sound rolleyes

I will sent you the appropriate files.
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #76 on: Oct 31st, 2017, 11:06am »
Quote

HDAICOUT.HDA requires manual adjustments for each computer.
Since hdaicout.hda is not working for you, just delete it.

HDACFG.ini and HDALOG.txt should still give plenty of info.

http://turkeys4me.byethost4.com/files/HDADRV97.zip

Although all the chipsets I've tested are properly responding to simple IC port commands,
each brand of HDA chipset responds a bit differently.

User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #77 on: Nov 1st, 2017, 3:44pm »
Quote

HDAICOUT is working again in version 9.7. Logfiles are a bit different. 960gm-gs3 (sb710) still no sound, I tried different output widgets. P5G41T-M LE (ICH 7): sound is still there. I will sent you all files.
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #78 on: Nov 5th, 2017, 2:36pm »
Quote

You might see if CORB/RIRB are reacting the same way as the IC ports.
http://turkeys4me.byethost4.com/files/AHDA17F.zip

The second window has a tab called CORB.
First click the "Corb reset" button.
Then change the "CorbWrite" value to your CODEC Index.
My computers use 2 and 0. ($200F0004 and $000F0004)

When you have your command ready, press "CorbWrite".
The RIRB results should display to the right.
User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #79 on: Nov 7th, 2017, 3:43pm »
Quote

I tested the new AHDA17F CORB-function on my motherboard (s710).

These are the results:

<Corb reset>:
size=01000010
CORBWP set to 0
CORBRP_RESET ignored...
CORBRP=0
CORBCTL=$0002
RIRBSIZE=2;256 entries
RIRBWP=$8000
RIRBCTL=$0002

<CorbWrite> with $200F0004:
$0000000000000000;00-FC (same values from line 00 up to line FC

<CorbWrite> with $000F0000:
$0000000010EC0662;00-FC

Verb and response are equal to "Vendor Id" (Parameters Codec) in Win10 HDA utility 3.3.


<CorbWrite> with $000F0002:
$0000000000100101;00-FC

Verb and response are equal to "Revision Id" (Parameters Codec) in Win10 HDA utility 3.3


<CorbWrite> with $000F0004:
$0000000000000000;00
$0000000000010001;02-FC

Verb and response (except first line) are equal to "Subordinate Node Count" (Parameters Codec) in Win10 HDA utility 3.3.


Other values I tried gave only zero's tongue

Corb reset between the tests didn't gave any difference.
« Last Edit: Nov 8th, 2017, 5:45pm by deomsh » User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #80 on: Nov 7th, 2017, 6:14pm »
Quote

The CORB/RIRB is returning different values than the IC interface was?
With the IC ports you were always getting either $10EC0662 or $00000000;
Did you compare the "nodules" tab of the first window with the "CORB" tab of the second window?

Do your wife's devices produce reliable results as well?
Are the Verb Command results the same as the ones from windows 10?

$0XX00000 is the Node index.
Node 00 only responds to a few commands.
You could query another node.

$002F0500 should ask node two about verb $F05;
User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #81 on: Nov 8th, 2017, 5:52pm »
Quote

Yes, in the other windows all (IC and other) values are as reported earlier!

New tests, inbetween <Corb reset> (MANDATORY!):

I did a hundred tests or so (without documentation cool). Following values are non-zero's

<CorbWrite> with $001F0004:
$0000000000020025;00
$0000000000020025;02
$0000000000020025;04
$0000000000020025;06
$0000000000020025;08
$0000000000020025;0A
$0000000000020025;0C
$0000000000020025;0E
$0000000000020025;10
$0000000000020025;12
$0000000000020025;14
$0000000000020025;16
$0000000000020025;18
$0000000000020025;1A
$0000000000020025;1C
$0000000000020025;1E
$0000000000020025;20
$0000000000020025;22
$0000000000020025;24
$0000000000020025;26
$0000000000020025;28
$0000000000020025;2A
$0000000000020025;2C
$0000000000020025;2E
$0000000000020025;30
$0000000000020025;32
$0000000000020025;34
$0000000000020025;36
$0000000000020025;38
$0000000000020025;3A
$0000000000020025;3C
$0000000000020025;3E
$0000000000020025;40
$0000000000020025;42
$0000000000020025;44
$0000000000020025;46
$0000000000020025;48
$0000000000020025;4A
$0000000000020025;4C
$0000000000020025;4E
$0000000000020025;50
$0000000000020025;52
$0000000000020025;54
$0000000000020025;56
$0000000000020025;58
$0000000000020025;5A
$0000000000020025;5C
$0000000000020025;5E
$0000000000020025;60
$0000000000020025;62
$0000000000020025;64
$0000000000020025;66
$0000000000020025;68
$0000000000020025;6A
$0000000000020025;6C
$0000000000020025;6E
$0000000000020025;70
$0000000000020025;72
$0000000000020025;74
$0000000000020025;76
$0000000000020025;78
$0000000000020025;7A
$0000000000020025;7C
$0000000000020025;7E
$0000000000020025;80
$0000000000020025;82
$0000000000020025;84
$0000000000020025;86
$0000000000020025;88
$0000000000020025;8A
$0000000000020025;8C
$0000000000020025;8E
$0000000000020025;90
$0000000000020025;92
$0000000000020025;94
$0000000000020025;96
$0000000000020025;98
$0000000000020025;9A
$0000000000020025;9C
$0000000000020025;9E
$0000000000020025;A0
$0000000000020025;A2
$0000000000020025;A4
$0000000000020025;A6
$0000000000020025;A8
$0000000000020025;AA
$0000000000020025;AC
$0000000000020025;AE
$0000000000020025;B0
$0000000000020025;B2
$0000000000020025;B4
$0000000000020025;B6
$0000000000020025;B8
$0000000000020025;BA
$0000000000020025;BC
$0000000000020025;BE
$0000000000020025;C0
$0000000000020025;C2
$0000000000020025;C4
$0000000000020025;C6
$0000000000020025;C8
$0000000000020025;CA
$0000000000020025;CC
$0000000000020025;CE
$0000000000020025grin0
$0000000000020025grin2
$0000000000020025grin4
$0000000000020025grin6
$0000000000020025grin8
$0000000000020025grinA
$0000000000020025grinC
$0000000000020025grinE
$0000000000020025;E0
$0000000000020025;E2
$0000000000020025;E4
$0000000000020025;E6
$0000000000020025;E8
$0000000000020025;EA
$0000000000020025;EC
$0000000000020025;EE
$0000000000020025;F0
$0000000000020025;F2
$0000000000020025;F4
$0000000000020025;F6
$0000000000020025;F8
$0000000000020025;FA
$0000000000020025;FC
Could mean "total nodes: 25", "starting node: 2" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $001F0005:
$0000000000000101;00-FC (al values the same!)
Could mean "unsolcapable: True" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $001F0008:
$0000000000010F0F;00-FC
Could mean "output-/inputdelay F and Beep presence: True" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $001F000A:
$00000000000E0160;00-FC
Could mean "24/20/16-bits and 44.1/48.0/96/0 kHz: True" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $001F000B:
$0000000000000001;00-FC
Could mean "PCM: True" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $001F000F:
$000000000000000F;00-FC
Could mean "support power states D0/D1/D2/D3" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $001F0011:
$0000000040000002;00-FC
Could mean "number of GPi/o's: 2 and unsolicited: True" (in Parameters from Audio Function Group) in Win10 HDA utility 3.3

<CorbWrite> with $002F0009:
$000000000000001D;00-FC

<CorbWrite> with $002F000A:
$00000000000E0160;00-FC

<CorbWrite> with $002F000B:
$0000000000000001;00-FC

<CorbWrite> with $002F000F:
$0000000000000001;00-FC

<CorbWrite> with $002F0012:
$0000000000034040;00-FC

<CorbWrite> with $003F0009:
$000000000000001D;00-FC

<CorbWrite> with $003F000A:
$00000000000E0160;00-FC

<CorbWrite> with $004F000A:
$00000000000E0160;00-FC

<CorbWrite> with $006F000A:
$00000000001E0160;00-FC

<CorbWrite> with $008F000a:
$0000000000060160;00-FC

Possible meaning nodes 002 and higher not searched yet.

About node 001: last five bits of verbs are the same as in Win10 HDA utility 3.3 (writes 000 for first three bits), response values equal (writes only 8 bits).

Had no time yet to test AHDA17F on my wife's computer. Will try tomorrow rolleyes
« Last Edit: Nov 8th, 2017, 6:45pm by deomsh » User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #82 on: Nov 8th, 2017, 8:33pm »
Quote

Those look like some happy results.
If I understand correctly, your CORB and RIRB are working.

I changed HDADRV so that HDAICOUT.HDA is read with CORB/RIRB.
http://turkeys4me.byethost4.com/files/HDADRV98.zip

Since both methods work on my 0662 computer, I can tell no difference between the IC ports and CORB/RIRB. angry

You may be able to send AHDA commands while HDADRV is running.

Now that you can use your CODEC, the Realtek ALC662 Datasheet pdf may be applicable.
« Last Edit: Nov 8th, 2017, 8:35pm by watler » User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #83 on: Nov 11th, 2017, 5:22pm »
Quote

I tested HDA2.DLL version 98. On my wife's ICH7-chipset everything is fine, I can sent you logfiles if you wish.

On sb710/sb600 I am not sure the CORB/RIRB commands are working.

HDALOG.TXT is still 5 lines of "First IRS change $10EC0662".

HDAICIN.TXT gives mostly zero's, lines 50-65 give:
$10EC066200000000
$0000000000000000
$0010010100000000
$0000000000000000
$0001000100000000
$0000000000000000
$0000000000000000
$0000000000000000
$0000000000000000
$0000000000000000
$10EC066200000000
$0000000000000000
$0010010100000000
$0000000000000000
$0001000100000000
and zero's again up to line 270.

HDACFG.INI changed with this new version of driver to:
[ALLHDA]
$00A2=$43831002

[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383
cardmemregistersLO=$4000
cardmemregistersHI=$F7FF

[BUSMASTER]
myPCIHI=$0031
myPCILO=$0000
myPCImem=$00310000

[HDA_43831002,76621849]
PCI_BUS=$00
PCI_DEVICE=$14
PCI_FUNCTION=$2
GCAP=$4401
VMIN=$00
VMAJ=$01
GCTL=$0001
CODEC BITMAP=00000001
CODEC Index=$0
CODEC_VID=$10EC
CODEC_DID=$0662
CODEC_REV=$10EC0662
CODEC_NODEINFO=$10EC0662
CODEC_AFG_GPIO_CAP=$000000
CODEC_AFG_SUBSYSTEM_ID=$00000000
CODEC_AFG_PM_SUPPORT=$00
CODEC_AFG_PCM_DEFINITION=$00000
CODEC_AFG_F000B=$00
SleepingWidget=$02
VolumeWidget=$14
OutputWidget=$02

User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #84 on: Nov 11th, 2017, 7:30pm »
Quote

Deomsh, you said:
"HDAICIN.TXT gives mostly zero's, lines 50-65 give:
$10EC066200000000
$0000000000000000
$0010010100000000
$0000000000000000
$0001000100000000
$0000000000000000
$0000000000000000
$0000000000000000
$0000000000000000
$0000000000000000
$10EC066200000000
$0000000000000000
$0010010100000000
$0000000000000000
$0001000100000000
and zero's again up to line 270."

If this output Is from the AMD/ATI machine, then its CORB/RIRB must be working.
Not every command requires a response.

Now, there may be a chance of output noise.
You just need the right commands to setup the CODEC and activate its widgets.
Let me know if you hear anything.

You can enter up to 255 verb commands into hdaicout.hda.
They are the same type of commands that you enter into AHDA's "CORB" tab.

Changes I make later may break functionality.
Since 98 is working, you may want to store this version.

I'll try to make a CORB/RIRB version for you.
http://turkeys4me.byethost4.com/files/HDADRV9C.zip
Let me know if I fix hdacfg.ini or break hdaicin.txt.

User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #85 on: Nov 12th, 2017, 12:16pm »
Quote

It might be a good idea to check the delays required to send and receive CORB/RIRB commands.
http://turkeys4me.byethost4.com/files/AHDA17I.zip

On the "CORB" tab:
The timing of the "Get 1" button is adjusted by the spinedit next to it.


User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #86 on: Nov 12th, 2017, 5:53pm »
Quote

Watler, you are very productive smiley I will test new AHDA17I as soon as I have time.

Today I tested first HDA2 version 98C on my Asrock board (ATI sb600), but this driver is not working yet. Without HDAICOUT.HDA there are is a part of HDACFG.INI with only $AAAAAAAA:

CODEC_VID=$AAAA
CODEC_DID=$AAAA
CODEC_REV=$AAAAAAAA
CODEC_NODEINFO=$AAAAAAAA
CODEC_AFG_GPIO_CAP=$AAAAAAAA
CODEC_AFG_SUBSYSTEM_ID=$AAAAAAAA
CODEC_AFG_PM_SUPPORT=$AAAAAAAA
CODEC_AFG_PCM_DEFINITION=$AAAAAAAA
CODEC_AFG_F000B=$AAAAAAAA

Other values are same as version 98.

With HDAICOUT all values in the logfile HDAICIN are $AAAAAAAA with or 00000149 or 0000014A ticks. Soundrecorder gives "an other program is using..." error, so no movement. HDALOG.TXT is always empty with version 98C.

So I reverted back to version 98. I can reproduce all CORB-output I earlier reported and a lot more widget GET-values. I made different HDAICOUT.HDA-files to see widget-output in HDAICIN.TXT laugh

Lots of homework, to be continued tongue
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #87 on: Nov 13th, 2017, 1:44pm »
Quote

Lets let it go round again and see if that works.
I added manual delay wait time adjustment to hdacfg.ini.
http://turkeys4me.byethost4.com/files/HDADRV9D.zip

I've exhausted my supply of test hardware that is incompatible with my driver's verb command operations.


User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 106
xx Re: High Definition Audio
« Reply #88 on: Nov 13th, 2017, 4:57pm »
Quote

My Asrock ATI/AMD-board is still there as a testing field cool

Tomorrow I will test the new driver-version.

Your CORB-version 98 seems to be very interesting according to my codec. I completed obtaining GET-values with help of HDAICOUT.HDA, up to 120 are non-zero's. Interesting is: All verb's/responses are exactly the same as those in "Windows 10 High Definition Audio Utility v3.3". I made a nice Excel-file (.xls) with it. I can sent you the file if you like. cheesy
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 161
xx Re: High Definition Audio
« Reply #89 on: Nov 13th, 2017, 5:26pm »
Quote

When using ahda, please check the checkbox on form2's "CORB" page and then try the nodule/widget tabs of form1.

Your 0662 CODEC should be quite similar to mine.
Why not display the results of your experiments here on the forum?

User IP Logged

Pages: 1 ... 4 5 6 7 8  ...  12 Reply Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls