From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 15:24:40 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 485981065673 for ; Tue, 23 Dec 2008 15:24:40 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id C20398FC16 for ; Tue, 23 Dec 2008 15:24:39 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 230425916; Tue, 23 Dec 2008 17:24:39 +0200 Message-ID: <495102B6.20805@FreeBSD.org> Date: Tue, 23 Dec 2008 17:24:38 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Ganbold References: <494FE13F.6050107@FreeBSD.org> <495091C2.3080105@micom.mng.net> <4950A2E2.9040008@FreeBSD.org> <4950ED97.7090604@micom.mng.net> <4950F680.2050403@FreeBSD.org> <4950F8A9.1070702@micom.mng.net> In-Reply-To: <4950F8A9.1070702@micom.mng.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Damian Gerow , FreeBSD-Current Subject: Re: No sound from snd_hda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 15:24:40 -0000 Ganbold wrote: > Put following in device.hints and it seems like working: > > hint.hdac.0.cad0.nid22.config="as=0" > hint.hdac.0.cad0.nid24.config="as=1" > hint.hdac.0.cad0.nid26.config="as=2" > hint.hdac.0.cad0.nid29.config="as=3" Actually this is not so good, as=0 means disabled pin. You just disabled first output so second one become pcm0. Correct solution would be or: hw.snd.default_unit=1 , to just use second pcm, or: hint.hdac.0.cad0.nid22.config="as=3" hint.hdac.0.cad0.nid24.config="as=4" hint.hdac.0.cad0.nid26.config="as=1" hint.hdac.0.cad0.nid29.config="as=2" , to swap them. But I would prefer to use headphones jack sensing: hint.hdac.0.cad0.nid22.config="as=1 seq=15" hint.hdac.0.cad0.nid24.config="as=2 seq=0" hint.hdac.0.cad0.nid26.config="as=1 seq=0" hint.hdac.0.cad0.nid29.config="as=2 seq=1" , if it is implemented in hardware. -- Alexander Motin