From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Sikorski Subject: Re: Clevo P170HM / Sager NP8170 audio Date: Tue, 08 Nov 2011 06:42:10 +0100 Message-ID: <4EB8C132.7020906@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-fx0-f51.google.com (mail-fx0-f51.google.com [209.85.161.51]) by alsa0.perex.cz (Postfix) with ESMTP id D915D244EF for ; Tue, 8 Nov 2011 06:42:13 +0100 (CET) Received: by faaa20 with SMTP id a20so168839faa.38 for ; Mon, 07 Nov 2011 21:42:12 -0800 (PST) In-Reply-To: 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: Andrew Mahone Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org W dniu 20.08.2011 09:33, Andrew Mahone pisze: > This laptop is detected as ALC892 audio (and by the codec ID this > seems to be valid), but none of the configurations for it quite match > this device. I've been working on documenting the connections with HDA > Analyzer. > > alsa-info output: > http://www.alsa-project.org/db/?f=b86e4c6447867fbd129a36d8a63e2f5caa836c52 > > The laptop has built-in 5.1, and 5.1 or 7.1 output via jacks. > > DAC NIDs: > 0x02 front > 0x03 rear > 0x04 clfe > 0x05 side > > internal mixers: > 0x0c front > 0x0d rear > 0x0e clfe > 0x0f side > > internal speaker pins: > 0x14 front > 0x15 "rear" (front of laptop) > 0x16 clfe > > external ports: > fixed route: > 0x17 side > > can select any output: > 0x18 mic / output > 0x1a line-in / output > 0x1b headphone > > I've been experimenting with patch_realtek.c to add the extra DAC NID, > and have had some success with a 6-channel mode for the built-in > speakers and an 8-channel mode that mutes all internal speakers and > sets the jacks up for output. I still need to manually connect pins > 0x18, 0x1a, 0x1b to the correct internal mixers for 7.1 to work, and > headphone plugin does not mute internal speakers in 5.1 mode. I have > not added a plain stereo mode for internal speakers, although it > appears that i can probably configure the codec to mix the front > channels to center and LFE. > > Are there any suggestions for what to do next? My current state as a > patch against the linux-3.0.y repository is at > http://pastie.org/2400649 > Please check out this thread: http://thread.gmane.org/gmane.linux.alsa.devel/86475 With linux-3.1, everything apart from 8-channel sound seems to work with autoparser, and I was able to get the sound going out from the analog part of the spdif jack by fiddling with hda-analyzer: http://article.gmane.org/gmane.linux.alsa.devel/87235 To get this to work automatically, code needs to be written but this is beyond my skillset. Julian