via epia boards sound quality
Quoted 9 lines · James Courtier-Dutton
Quoted 6 lines · Andrey Liakhovets
In short, the attached 1-line patch against alsa 1.0.11 solves the problem
If necessary, I can give more details or upload them on our ftp.
Andrey Liakhovets
Quoted 8 lines
Would you be able to provide 2 things?
1) Please add a "Signed-off-by:" entry.
2) Do you have the VT1616A datasheet?I can find the VT1616 datasheet online, but not the VT1616A.
James
No, I have only the VT1616 datasheet.
Below I repeat the references, info and patch with my Signed-off-by.
http://wiki.openchrome.org/pipermail/openchrome-users/2006-May/001193.html
http://wiki.openchrome.org/pipermail/openchrome-users/2006-May/001199.html
http://wiki.openchrome.org/pipermail/openchrome-users/2006-May/001247.html
http://wiki.openchrome.org/pipermail/openchrome-users/2006-July/001456.html
1) in our lab, we failed in getting bad sound on a running system,
despite a long and intensive heating;
2) we have succeded in reproducing the problem at the system start (with a
probability of about 2/3) with a pre-cooled sound codec chip;3) we have succeded in reproducing the problem on the system running Linux by cutting analog power supply from the codec, cooling the codec and reattaching analog power;
4) on wire, the problem looks like undervoltage of codec analog power (2V or less instead of 5V): meanwhile the codec tries to consume about 200mA (instead of <40mA), and the voltage regulator chip begins (from 100mA) reducing the voltage;
5) analysis of the situation with WinXP shows that the WinXP sound driver loading brings the codec analog voltage (and sound) to norm, and this state is tolerant to actions described under (3);
6) analysis of the WinXP sound driver loading allowed us to detect that very bit,
the set of which normalizes the codec's analog power consumption;
7) a check with Linux has confirmed this.
The attached 1-line patch against alsa 1.0.11 solves the problem (for our VIA EPIA SP8000).
pci/ac97/ac97_patch.c +1 -0
@@ -2742,6 +2742,7 @@*/ int patch_vt1617a (struct snd_ac97 * ac97) { +snd_ac97_write_cache (ac97,0x5c ,0x20 );/* bring analog power consumption to normal, like WinXP driver for EPIA SP */ ac97->ext_id |=AC97_EI_SPDIF ;/* force the detection of spdif */ ac97->rates[AC97_RATES_SPDIF ] =SNDRV_PCM_RATE_44100 |SNDRV_PCM_RATE_48000 ;return 0 ;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 13 lines · Andrey Liakhovets
Quoted 12 lines · James Courtier-Dutton
Quoted 5 lines · Andrey Liakhovets
In short, the attached 1-line patch against alsa 1.0.11 solves the problem
If necessary, I can give more details or upload them on our ftp.
Andrey Liakhovets
Would you be able to provide 2 things?
1) Please add a "Signed-off-by:" entry.
2) Do you have the VT1616A datasheet?
Quoted 8 lines
Quoted 3 lines
I can find the VT1616 datasheet online, but not the VT1616A.
James
No, I have only the VT1616 datasheet.
Below I repeat the references, info and patch with my Signed-off-by.
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/
Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.
James
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 10 lines · James Courtier-Dutton
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.
this was added into
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2381 but didn't make it into HG (or at least the BR wasn't closed)...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Mon, 28 Aug 2006 16:38:56 +0200,
Quoted 14 lines · Thierry Vignaud
Quoted 10 lines · James Courtier-Dutton
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.
Quoted 3 lines
this was added into
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2381 but didn't make it into HG (or at least the BR wasn't closed)...
I committed now.
Thanks,
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 22 lines · Takashi Iwai
At Mon, 28 Aug 2006 16:38:56 +0200,
Quoted 14 lines · Thierry Vignaud
Quoted 11 lines · James Courtier-Dutton
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.Quoted 4 lines
this was added into
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2381 but didn't make it into HG (or at least the BR wasn't closed)...
Quoted 6 lines
I committed now.
Thanks,
Takashi
For those interested, I managed to get the VT1617 datasheet from VIA. (no NDAs involved.)
One can find it here:
http://alsa-project.org/~james/datasheets/via/
Filename: DS_VT1617_120.pdf
Maybe we should move it to the alsa ftp site with all the other datasheets.
James
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 27 lines · James Courtier-Dutton
Quoted 26 lines · Takashi Iwai
At Mon, 28 Aug 2006 16:38:56 +0200,
Quoted 14 lines · Thierry Vignaud
Quoted 11 lines · James Courtier-Dutton
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.Quoted 4 lines
this was added into
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2381 but didn't make it into HG (or at least the BR wasn't closed)...I committed now.
Thanks,
Quoted 8 lines
Quoted 2 lines
Takashi
For those interested, I managed to get the VT1617 datasheet from VIA. (no NDAs involved.)
One can find it here:
http://alsa-project.org/~james/datasheets/via/
Filename: DS_VT1617_120.pdf
Ok, the URL is ftp://ftp.alsa-project.org/pub/datasheets/via/DS_VT1617_120.pdf now. I'm moving other datasheets too.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 22 lines · Takashi Iwai
At Mon, 28 Aug 2006 16:38:56 +0200,
Quoted 14 lines · Thierry Vignaud
Quoted 11 lines · James Courtier-Dutton
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.Quoted 4 lines
this was added into
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2381 but didn't make it into HG (or at least the BR wasn't closed)...
Quoted 6 lines
I committed now.
Thanks,
Takashi
Now that we have the datasheet, it seems that the register you touch could cause hardware damage.
From the datasheet, it disables the headphone amp thermal protection.
So, this fix could be counter productive. I.e. result in damage to the chip.
I suggest that we only apply it via a module option, so the user then knows they are taking a risk by disabling the protection. If the protection is bogus, i.e. the sensor is faulty, then we need a way to detect this faultiness.
James
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Tue, 29 Aug 2006 13:17:26 +0100,
Quoted 31 lines · James Courtier-Dutton
Quoted 22 lines · Takashi Iwai
At Mon, 28 Aug 2006 16:38:56 +0200,
Quoted 14 lines · Thierry Vignaud
Quoted 11 lines · James Courtier-Dutton
So, with the absence of the VT1617A datasheet, we effectively have no documentation for that AC97 register touched in your patch. Could I ask you to raise an alsa bug at
https://bugtrack.alsa-project.org/alsa-bug/Enter into the bug everything from your updated email, with the sign off and attached patch.
I will then check the patch into the HG repository, but I will add a comment next to it pointing to the bug information. That way, future developers will know why it has been put there.Quoted 4 lines
this was added into
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2381 but didn't make it into HG (or at least the BR wasn't closed)...Quoted 6 lines
I committed now.
Thanks,
Takashi
Quoted 7 lines
Now that we have the datasheet, it seems that the register you touch could cause hardware damage.
From the datasheet, it disables the headphone amp thermal protection.
So, this fix could be counter productive. I.e. result in damage to the chip.I suggest that we only apply it via a module option, so the user then knows they are taking a risk by disabling the protection.
Better to check a PCI SSID with the whitelist than a new module option. If you want to make it general, you can add a new quirk for that purpose. But I guess simply checking the PCI SSID with a static whitelist in patch_vt1617a() should suffice.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642