Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2008 17:24:38 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Ganbold <ganbold@micom.mng.net>
Cc:        Damian Gerow <dgerow@afflictions.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: No sound from snd_hda
Message-ID:  <495102B6.20805@FreeBSD.org>
In-Reply-To: <4950F8A9.1070702@micom.mng.net>
References:  <giogab$2317$1@FreeBSD.cs.nctu.edu.tw>	<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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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