Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 09:53:06 +0300
From:      "Anton E. Kartashev" <amokk@seb.org.ua>
To:        freebsd-multimedia@freebsd.org
Subject:   snd_hda laptop acer aspire 4715z internal microphone
Message-ID:  <200807170953.06692.amokk@seb.org.ua>

next in thread | raw e-mail | index | archive | help
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: <Intel 82801H High Definition Audio Controller> mem 
0xfc200000-0xfc203fff irq 22 at device 27.0 on pci0
pcm0: [ITHREAD]
pcm0: <HDA Codec: Realtek ALC268>
pcm0: <HDA Driver Revision: 20080420_0052>

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 ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807170953.06692.amokk>