From owner-freebsd-drivers@FreeBSD.ORG Wed May 28 08:59:08 2014 Return-Path: Delivered-To: drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C028133F; Wed, 28 May 2014 08:59:08 +0000 (UTC) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4812D8D; Wed, 28 May 2014 08:59:08 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id q107so16916355qgd.10 for ; Wed, 28 May 2014 01:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=hqzniWucihZOy2eIBeiWxzFeb6qT7Dh4KUlWCfvjNCI=; b=BTjoZABvNSQYmcWuuwEBYeZBle/fjowLA4PXGcacs70vuCQEW/Us4u04nPBmNa2ZZV 5ILFankSo+ly0gPJJHUqPNSpwSrn5cSWjc3arR8QGidBBqWYRTnfw4mhjoyhzdTo42mR /U5sgJannD9+AgLaBcWhXNxwDxtsi5Fu8NtJBYbqx7CNtF88vLrVp3QJxK6Swxy6wXpz 09AI38RyeM3JXjtJ8jg+xIqWKHVI4K474gEjeV8gesFjiGMz5zL0T52RVcOw/EqrCsLe 0GzGGgoObOYt36BZbyTKjdO3k07qCdwg9GLjHSDVEmh0/1DCGgDVk4022rmqzSu5wIso HRiQ== X-Received: by 10.224.166.9 with SMTP id k9mr50545590qay.25.1401267547458; Wed, 28 May 2014 01:59:07 -0700 (PDT) Received: from lumiwa.farms.net (pool-70-105-235-170.port.east.myfairpoint.net. [70.105.235.170]) by mx.google.com with ESMTPSA id r6sm29508090qab.40.2014.05.28.01.59.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 01:59:06 -0700 (PDT) From: Ajtim To: freebsd-multimedia@freebsd.org Reply-To: lumiwa@gmail.com Subject: Re: snd_hda doesn't automatic switch output between headphone and speaker on Macbook Pro 2012 Date: Wed, 28 May 2014 04:59:04 -0400 Message-ID: <4330793.VelBuH8Ztb@lumiwa.farms.net> User-Agent: KMail/4.12.5 (FreeBSD/10.0-RELEASE-p3; KDE/4.12.5; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: suken woo , mobile@freebsd.org, multimedia@freebsd.org, drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 08:59:08 -0000 On Wednesday 28 May 2014 16:22:42 suken woo wrote: > hi all: > just setting on /boot/loader.conf below > > hw.snd.default_unit="3" > hint.hdaa.1.gpio_config="3=set" > hint.hdaa.1.nid11.config="as=0" > > speaker works with very good sound quality.headphone have no sound but > sounds still came out of speaker > when I plug in earphones. > if I set hint.hdaa.1.nid9.config="as=1" on loader.conf file > sounds come out from both speaker and headphone. > any trick to overwrite the pins configuration and make it works as > expected? > > cat /dev/sndstat > pcm0: (play) > pcm1: (play) > pcm2: (play) > pcm3: (play) default > pcm4: (play) > pcm5: (play) > I had the same problem on my iMc 11, about one year. pcm0: (play) pcm1: (play/rec) default pcm2: (rec) pcm3: (play/rec) And as I know is the problem with drivers. I gave up and I use headphones. BTW: On Linux works without problems. -- ajtiM -------- http://www.redbubble.com/people/lumiwa