Re: No sound from snd_hda

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Tue, 23 Dec 2008 17:24:38 +0200
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
Received on Tue Dec 23 2008 - 14:24:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC