From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Fwd: [PATCH] sound working on the macbook pro Date: Mon, 19 Feb 2007 12:52:32 +0100 Message-ID: References: <564d96fb0702180906u6dc0f0d9k2cd1d5e1409f1911@mail.gmail.com> <564d96fb0702180924y32118e7esf81e5ec2514d3af9@mail.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: In-Reply-To: <564d96fb0702180924y32118e7esf81e5ec2514d3af9@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: =?UTF-8?Q?Rafael_Esp=C3=ADndola?= Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Sun, 18 Feb 2007 17:24:37 +0000, =3D?UTF-8?Q?Rafael_Esp=3DC3=3DADndola?=3D wrote: > = > ---------- Forwarded message ---------- > From: Rafael Esp=EDndola > Date: Feb 18, 2007 5:06 PM > Subject: [PATCH] sound working on the macbook pro > To: alsa-devel@alsa-project.org > = > = > The problem with the pin config of the macbook pro is that it has no > line outs. Because of this, snd_hda_parse_pin_def_config tries to hack > the speaker into being a line out. This hack makes the subsequent > setup fail. How (and what) does it fail exactly? > The attached patch does the followig: > 1) install the correct pin config (extracted from macos) > 2) removes the hack from snd_hda_parse_pin_def_config > 3) stac92xx_parse_auto_config no longuer aborts if line_outs =3D=3D 0 > = > item 2 might cause some problems for parts of the system that expect > this hack. IMHO, we should try to fix these problems and remove the > hack. It is very confusing to see an Speaker appearing as a line out! I'm sure that this would break many other devices. So, the patch is unacceptable as it is, unfortunately. The line_outs are actually primary outputs, not exactly "line-out". You can find pretty many codes that refer to this as the primary output. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV