Skip to contentSkip to conversation

: nvidia 6150 --- desparate attempt fails at snd_verbose_printk

ALSA - driver 0001895 [email protected] 1 participant 1 message Mar 8, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1895>
======================================================================
Reported By: iaw4
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1895
Category:                   1_OTHERS
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Distribution:               gentoo
Kernel Version:             2.6.15.5
======================================================================
Date Submitted:             03-07-2006 03:24 CET
Last Modified:              03-08-2006 15:11 CET

======================================================================
Summary: nvidia 6150 --- desparate attempt fails at
snd_verbose_printk
Description:

I am trying to make the built-in sound on the ASUS A8N CSM VM (nvidia 6150) to work. apparently, a realtek 880 might also work. I was told that the NFORCE drivers do not support it. it seems to be some variant of intel high-definition audio. I was hoping the latest ALSA would support it. (Right wrong?)

So, I downloaded the most recent ALSA distribution. My linux kernel is linux-2.6.15.5. I read the ALSA docs. [by the way, most docs talk about having to have the soundcore enabled. this is unclear, because I do not believe this is how the kernel 2.6.15.5 calls this anymore. I think all that is meant here is that the very top selection of sound in the kernel must be on, which would be CONFIG_SOUND=y in this kernel. not sure.]

The new ALSA compilation and installation works great. Alas, now I want to try the intel driver next, which depends on snd_ac97_codec. alas, despite a completely fresh installation, upon a "modprobe snd_ac97_codec", it fails to find snd_verbose_printk. I thought modprobe could insert dependencies automatically. either I am wrong here, or there is a dependency that is not marked appropriately.

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

----------------------------------------------------------------------
stevenellis - 03-08-06 00:12
----------------------------------------------------------------------
Sorry about the bad copy/paste with the position_fix option. I did mean to say "position_fix=1"

I have the same issues with alsa 1.0.11rc3 and a 2.6.15.6 kernel. Unless I apply the patch to disable analog surround I get a high pitch squeal and any volume change results in mute on both analog and digital outputs.

With the patch from http://quaggaspace.org/a8nvm/a8nvmsound.patch, I can change the volume, no issues with digital, and analog stereo works.

I haven't tried all of the combinations of postion_fix and model at this stage as the hardware is supposed to be the family media center, and I can only get so much time a week for debugging.

----------------------------------------------------------------------
iaw4 - 03-08-06 15:11
----------------------------------------------------------------------
search for ad1986a and 6150 comes up with
http://sourceforge.net/mailarchive/message.php?msg_id=14788959
alas, no solution info.

search for ad1986a and snd_hda_intel comes up with some info on
http://sourceforge.net/mailarchive/message.php?msg_id=13966280
http://sourceforge.net/mailarchive/message.php?msg_id=14701205 [patch]

http://sourceforge.net/mailarchive/message.php?msg_id=14857657 suggests the position-fix and 3stack-digout, which does not do it for me.

patch is also at
http://www.nabble.com/Intel-HDA-AD1986A-without-surround-t595968.html .

alas, under the latest alsa release, the patch fails. yikes. so, this chipset combo is pretty much a failure all around. I am ready to give up.
time for someone to donate a motherboard to the relevant ALSA developer.

sound is really the most important remaining weakness of linux relative to windows. the alsa team really does have a tough job.

regards,

/iaw

patch -p0 < patch.patch
patching file hda/hda_codec.c
Hunk #1 succeeded at 1909 (offset 153 lines).
Hunk #2 succeeded at 1919 (offset 153 lines).
Hunk #3 FAILED at 1931.
1 out of 3 hunks FAILED -- saving rejects to file hda/hda_codec.c.rej iaw@/usr/src/alsa-1.0.11rc3/alsa-driver-1.0.11rc3/pci:0:523 root## more patch.patch

hda_codec.c.orig 2006-01-03 21:38:43.257711250 -0500 renamed from hda_codec.c 2006-01-18 19:17:24.890773500 -0500 +0 -0
@@ -1756,6 +1756,7 @@
        if (mout->hp_nid)
                /* headphone out will just decode front left/right

(stereo) */

                snd_hda_codec_setup_stream(codec, mout->hp_nid,
stream_tag, 0, format);
+#if 0
        /* surrounds */
        for (i = 1; i < mout->num_dacs; i++) {
                if (chs >= (i + 1) * 2) /* independent out */
@@ -1765,6 +1766,7 @@
                        snd_hda_codec_setup_stream(codec, nids[i],
stream_tag, 0,
                                                   format);
        }
+#endif
        return 0;

}

@@ -1776,10 +1778,14 @@

        hda_nid_t *nids = mout->dac_nids;
        int i;

+#if 0

        for (i = 0; i < mout->num_dacs; i++)
                snd_hda_codec_setup_stream(codec, nids[i], 0, 0, 0);
+#endif
        if (mout->hp_nid)
                snd_hda_codec_setup_stream(codec, mout->hp_nid, 0, 0, 0);
+       snd_hda_codec_setup_stream(codec, HDA_FRONT, 0, 0, 0);
+
        down(&codec->spdif_mutex);
        if (mout->dig_out_nid && mout->dig_out_used == HDA_DIG_ANALOG_DUP)
{
                snd_hda_codec_setup_stream(codec, mout->dig_out_nid, 0, 0,

0);

Issue History
Date Modified Username Field Change
======================================================================

03-07-06 03:24 iaw4           New Issue                                    
03-07-06 03:24 iaw4           Distribution              => gentoo          
03-07-06 03:24 iaw4           Kernel Version            => 2.6.15.5        
03-07-06 06:27 stevenellis    Issue Monitored: stevenellis                    
03-07-06 06:30 stevenellis    Note Added: 0008361                          
03-07-06 19:03 iaw4           Note Added: 0008371                          
03-07-06 19:21 rlrevell       Note Added: 0008372                          
03-07-06 20:24 iaw4           Note Added: 0008374                          
03-07-06 20:37 Arnaud Patard  Note Added: 0008375                          
03-07-06 20:38 Arnaud Patard  Note Edited: 0008375                         
03-07-06 20:39 er-ku          Note Added: 0008376                          
03-07-06 21:45 iaw4           Note Added: 0008377                          
03-07-06 21:53 rlrevell       Note Added: 0008378                          
03-08-06 00:12 stevenellis    Note Added: 0008379                          
03-08-06 15:11 iaw4           Note Added: 0008381                          

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

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642