From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 17 07:14:01 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 5034B1065671 for ; Thu, 17 Jul 2008 07:14:01 +0000 (UTC) (envelope-from amokk@seb.org.ua) Received: from server-1.mirahost.ru (server-1.mirahost.ru [87.118.120.51]) by mx1.freebsd.org (Postfix) with ESMTP id E5B9D8FC1E for ; Thu, 17 Jul 2008 07:14:00 +0000 (UTC) (envelope-from amokk@seb.org.ua) Received: from gw.sevsky.net ([193.138.84.250] helo=[192.168.1.130]) by server-1.mirahost.ru with esmtp (Exim 4.69) (envelope-from ) id 1KJNMa-0003iw-7a for freebsd-multimedia@freebsd.org; Thu, 17 Jul 2008 02:53:18 -0400 From: "Anton E. Kartashev" To: freebsd-multimedia@freebsd.org Date: Thu, 17 Jul 2008 09:53:06 +0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807170953.06692.amokk@seb.org.ua> X-Antivirus-Scanner: Seems clean. You should still use an Antivirus Scanner Subject: snd_hda laptop acer aspire 4715z internal microphone 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: Thu, 17 Jul 2008 07:14:01 -0000 Hello, i'm using freebsd8-current with diff from http://people.freebsd.org/~ariff/ for snd_hda device + my patch for disabling internal speakers when headphones are connected. --- hdac.c.orig 2008-07-14 10:57:04.000000000 +0300 +++ hdac.c 2008-07-16 11:40:18.000000000 +0300 @@ -232,6 +232,7 @@ #define ACER_A5050_SUBVENDOR HDA_MODEL_CONSTRUCT(ACER, 0x010f) #define ACER_A4520_SUBVENDOR HDA_MODEL_CONSTRUCT(ACER, 0x0127) #define ACER_A4710_SUBVENDOR HDA_MODEL_CONSTRUCT(ACER, 0x012f) +#define ACER_A4715_SUBVENDOR HDA_MODEL_CONSTRUCT(ACER, 0x0133) #define ACER_3681WXM_SUBVENDOR HDA_MODEL_CONSTRUCT(ACER, 0x0110) #define ACER_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(ACER, 0xffff) @@ -732,6 +733,8 @@ 0, 0, -1, 20, { 21, -1 }, -1 }, { ACER_A4710_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL, 0, 0, -1, 20, { 21, -1 }, -1 }, + { ACER_A4715_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL, + 0, 0, -1, 20, { 21, -1 }, -1 }, { UNIWILL_9080_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL, 0, 0, -1, 20, { 21, -1 }, -1 }, { MSI_MS1034_SUBVENDOR, HDA_CODEC_ALC883, HDAC_HP_SWITCH_CTL, pcm0: mem 0xfc200000-0xfc203fff irq 22 at device 27.0 on pci0 pcm0: [ITHREAD] pcm0: pcm0: external microphone work fine, but internal doesn't work. Driver load with verbose level 4. pcm0: + <- nid=24 [pin: Mic in (jack)] (selected) pcm0: | pcm0: + <- nid=25 [pin: Mic in (fixed)] pcm0: | pcm0: + <- nid=26 [pin: speaker (none)] [DISABLED] pcm0: | pcm0: + <- nid=28 [pin: CD (fixed)] pcm0: | pcm0: + <- nid=20 [pin: headphones out (jack)] pcm0: | pcm0: + <- nid=21 [pin: speaker (fixed)] pcm0: | pcm0: + <- nid=19 [pin: speaker (none)] [DISABLED] how to select nid 25 by default ?