From: Takashi Iwai Subject: Re: HDA Intel SigmaTel STAC9228 in Dell Vostro 1400 defines different pin nids Date: Tue, 13 Nov 2007 12:16:21 +0100 Message-ID: References: <3db1ec7f0711111412k6a13154g53d7176c0d4c178c@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx1.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 387C82453C for ; Tue, 13 Nov 2007 16:03:24 +0100 (CET) In-Reply-To: <3db1ec7f0711111412k6a13154g53d7176c0d4c178c@mail.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: "Ivan N. Zlatev" Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sun, 11 Nov 2007 22:12:39 +0000, Ivan N. Zlatev wrote: > > Hello, > > I've bought a new laptop Dell Vostro 1400 with the following audio card: > > 00:1b.0 Audio device [Class 0403]: Intel Corporation 82801H (ICH8 > Family) HD Audio Controller [8086:284b] (rev 02) > > and with the SigmaTel Codec: > > Codec: SigmaTel STAC9228 > Address: 0 > Vendor Id: 0x83847616 > Subsystem Id: 0x10280227 > Revision Id: 0x100201 > > I was able to get sound to come out of the internal speakers by > explicitly specifying either the 3stack or the dell-3stack models with > alsa 1.0.14 . Unfortunately with neither of those does the internal > microphone work. > > Now I am running ALSA HG and have decided to try and fix my problem by > adding the proper pinconfig for my card (this is what I've done before > for my Mac and it worked). I downloaded the win32 drivers which > include all pinconfigs for all Dell machines with intel hda cards. The > problem I am facing is that the win32 driver .ini provides a > configuration for 13 pins which do not match the ones in > patch_sigmatel.c . The ones in ALSA are: > > static hda_nid_t stac922x_pin_nids[10] = { > 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, > 0x0f, 0x10, 0x11, 0x15, 0x1b, > }; > > Where as the ones defined by the driver are [1]: > 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x21, 0x22 This looks rather like stac927x_pin_nids[]. STAC9228 belongs to patch_stac927x(). patch_stac922x() is only for STAC9220 and STAC9221. Takashi