No sound from snd_hda

Alexander Motin mav at FreeBSD.org
Tue Dec 23 15:24:40 UTC 2008


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


More information about the freebsd-current mailing list