new laptop, no sound in spite of driver attaching

Adam amvandemore at gmail.com
Tue May 1 01:43:33 UTC 2018


On Mon, Apr 30, 2018 at 6:58 AM, Wojciech Puchar <wojtek at puchar.net> wrote:

> and no idea where to search for a solution
>
> FreeBSD laptop.wojtek.intra 11.1-STABLE FreeBSD 11.1-STABLE #2: Mon Apr 30
> 13:35:54 CEST 2018 root at laptop.wojtek.intra:/usr/src/sys/amd64/compile/laptop
> amd64
>
>
> in dmesg
> hdac0: <Intel (0x2284) HDA Controller> mem 0x91410000-0x91413fff irq 22 at
> device 27.0 on pci0
> hdacc0: <Realtek ALC282 HDA CODEC> at cad 0 on hdac0
> hdaa0: <Realtek ALC282 Audio Function Group> at nid 1 on hdacc0
> pcm0: <Realtek ALC282 (Analog)> at nid 20 and 25 on hdaa0
> pcm1: <Realtek ALC282 (Analog)> at nid 33 and 18 on hdaa0
> hdacc1: <Intel (0x2883) HDA CODEC> at cad 2 on hdac0
> hdaa1: <Intel (0x2883) Audio Function Group> at nid 1 on hdacc1
> pcm2: <Intel (0x2883) (HDMI/DP 8ch)> at nid 5 on hdaa1
>
>
> tried to change hw.snd.default_unit to 0, 1 or 2 - no sound in any case.
>
> mixer when default_unit is 0
>
> Mixer vol      is currently set to  65:65
> Mixer pcm      is currently set to 100:100
> Mixer speaker  is currently set to 100:100
> Mixer mic      is currently set to   0:0
> Mixer mix      is currently set to 100:100
> Mixer rec      is currently set to   0:0
> Mixer igain    is currently set to   0:0
> Mixer ogain    is currently set to 100:100
> Recording source: mic
>
>
> mixer when default_unit is 1
>
> Mixer vol      is currently set to 100:100
> Mixer pcm      is currently set to 100:100
> Mixer rec      is currently set to  37:37
> Mixer igain    is currently set to   0:0
> Mixer monitor  is currently set to  56:56
>
> mixer when default_unit is 2
>
> Mixer vol      is currently set to 100:100
> Mixer pcm      is currently set to 100:100
>

Here is mine:
hdacc0: <Realtek ALC1220 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC1220 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC1220 (Internal Analog)> at nid 20 and 18 on hdaa0
pcm1: <Realtek ALC1220 (Left Analog)> at nid 27 and 25 on hdaa0
pcm2: <Realtek ALC1220 (Left Digital)> at nid 30 on hdaa0

For me, I have to tickle the following sysctl's to get expected sound.

hw.snd.vpc_0db
hw.snd.vpc_reset
hw.snd.vpc_autoreset



-- 
Adam


More information about the freebsd-hackers mailing list