From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 2 18:30:55 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BF8616A418 for ; Sat, 2 Feb 2008 18:30:55 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from farris.bafirst.com (adsl-074-165-190-154.sip.jan.bellsouth.net [74.165.190.154]) by mx1.freebsd.org (Postfix) with ESMTP id 2938513C442 for ; Sat, 2 Feb 2008 18:30:55 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.129.17.152]) by farris.bafirst.com with esmtp; Sat, 02 Feb 2008 12:30:53 -0600 id 0006D44C.47A4B6DD.00005F48 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Sat, 02 Feb 2008 12:25:39 -0600 id 0004AC1B.47A4B5A3.0000DA3D Received: from 172.16.0.14 (172.16.0.14 [172.16.0.14]) by intranet.encontacto.net (Horde Framework) with HTTP; Sat, 02 Feb 2008 12:25:39 -0600 Message-ID: <20080202122539.1528276t3zkc6wg0@intranet.encontacto.net> Date: Sat, 02 Feb 2008 12:25:39 -0600 From: eculp To: ### References: <20080130105949.19764nj3v4jzjke8@intranet.encontacto.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) Cc: freebsd-multimedia@freebsd.org Subject: Re: Re[2]: snd_hda, sound in both speaker and headphones X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 18:30:55 -0000 Quoting ### : > > > -----Original Message----- > From: eculp > To: ### > Date: Wed, 30 Jan 2008 10:59:49 -0600 > Subject: Re: snd_hda, sound in both speaker and headphones > >> Quoting ### : >> >> > I have sound in both PC speaker and headphones - >> > at the same time. The speaker does not mute when I plug in the >> > headphone jack. >> > >> >> I see the same on a 5520-5679 and assumed that it was a problem with >> the jack, hopefully I'm wrong. >> > > > I fixed that: > # pciconf -lv| grep -A2 pcm > pcm0@pci0:0:27:0: class=3D0x040300 card=3D0x011f1025 =20 > chip=3D0x284b8086 rev=3D0x03 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8' > > important card=3D0x011f > > add in /usr/src/sys/dev/sound/pci/hda/hdac.c > at line 206 > #define ACER_E5220_SUBVENDOR=09HDA_MODEL_CONSTRUCT(ACER, 0x011f) > then I search "ACER" in this file and copy > =09{ ACER_A4710_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL, > =09 0, 0, -1, 20, { 21, -1 }, -1 }, > and modify to > =09{ ACER_E5220_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL, > =09 0, 0, -1, 20, { 21, -1 }, -1 }, Just for the record the same changes but substituting the card ID =20 blocks the laptop sound just fine with the headset plugged in on my =20 ACCER ASPIRE AMD64 5520-5679 with the nvidia chip pcm0@pci0:0:7:0: class=3D0x040300 card=3D0x01261025 chip=3D0x055c10de= =20 rev=3D0xa1 hdr=3D0x00 vendor =3D 'Nvidia Corp' class =3D multimedia Anyone have any suggestions to get the Microphone to work. Thanks, ed