From: Takashi Iwai Subject: Re: No sound with nVidia Corporation MCP79 High Definition Audio (rev b1) (Macbook Pro 5, 5) Date: Mon, 06 Jul 2009 21:26:18 +0200 Message-ID: References: <4A493A56.1050504@gmail.com> <200907061723.18123.nutz@unfoog.de> <200907061753.47013.nutz@unfoog.de> <4A523173.5030100@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 64C0024475 for ; Mon, 6 Jul 2009 21:26:19 +0200 (CEST) In-Reply-To: <4A523173.5030100@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Sean Burke Cc: Andreas =?ISO-8859-1?Q?N=FC=DFlein?= , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 06 Jul 2009 11:16:35 -0600, Sean Burke wrote: > = > Scr=EDobh Takashi Iwai: > > At Mon, 6 Jul 2009 17:53:46 +0200, > > Andreas N=FC=DFlein wrote: > > = > >>> The missing pin configuration initialization was already fixed by > >>> the driver overriding it after checking PCI SSID (which is different > >>> from the codec SSID). So, this should be no problem. > >>> > >>> However, the reason why the analog output doesn't work might be > >>> different from that. There might be something else missing, but I > >>> don't know. > >>> > >>> > >>> Takashi > >>> = > >> oh =3D( > >> > >> > >> hmm.. anything i can do? would it help if i tried changing values ran= domly = > >> with hda-analyzer.py? > >> = > > > > Well, did the driver without my change work more or less with > > the analog audio, or have you never gotten the analog output? > > You can use the generic parser (i.e. the state without cirrus patch) > > by passing model=3Dgeneric option to snd-hda-intel. > > = > For my part, nothing worked with the generic driver. I can't confirm > digital out, but I can confirm that the kfree error is gone. What > options are open for figuring out what remains? Easy things to test are GPIO bits. Run hda-verb like hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x0f hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f or hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x0f hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x0f etc. CS4206 seems to have 4 GPIO lines, and each bit (0-3) corresponds to each GPIO. In many case, GPIO0 or GPIO1 corresponds to the amplifier (EAPD) bit. Define the GPIO direction of each GPIO bit by SET_GPIO_DIR, and turn on/off the GPIO bits by SET_GPIO_DATA. Running hda-verb /dev/snd/hwC0D0 0x01 GET_GPIO_DATA 0 will show the current GPIO data bits. Or you can check it in codec#* proc file. Takashi