Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2025 16:08:09 +0100
From:      Milan Obuch <freebsd-multimedia@dino.sk>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Alder Lake MiniPC - sound via HDMI does not work
Message-ID:  <20250203160809.83108666.69645667.47579152@dino.sk>
In-Reply-To: <6acb34fc-b811-4a7a-8ab0-83cd6031646f@FreeBSD.org>
References:  <20250203143020.0938c321@dino.sk> <6acb34fc-b811-4a7a-8ab0-83cd6031646f@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Feb 2025 09:29:44 -0500
Alexander Motin <mav@FreeBSD.org> wrote:

> On 03.02.2025 08:30, Milan Obuch wrote:
> > after some setup troubles (basically, silicon bug in processor, see
> > thread on freebsd-current mailing list with subject 'UFS bad inode,
> > mangled entry on Alder Lake-N(100)' jan 27, 2025) I am working with
> > new MiniPC, SZBOX S12 - Alder Lake N100 CPU, 16 GB RAM, small and
> > minimalist, still powerfull enough for my needs.
> > 
> > I see no sound output via HDMI possibility, judging from
> > 
> > # cat /dev/sndstat
> > Installed devices:
> > pcm0: <CSCTEK USB Audio and HID> (play/rec) default
> > No devices installed from userspace.
> > #  
> 
> Considering they put there USB-based sound device, I wonder if there
> is a (enabled) HDA controller at all.  Do you see anything looking
> like HDA controller and codecs in `pciconf -lvcb` or in `dmesg`?
> 

Ah, forget about this... relevant part from pciconf is

hdac0@pci0:0:31:3:      class=0x040300 rev=0x00 hdr=0x00 vendor=0x8086 device=0x54c8 subvendor=0x0301 subdevice=0x02f3
    vendor     = 'Intel Corporation'
    device     = 'Alder Lake-N PCH High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 64, base 0x6001130000, size 16384, enabled
    bar   [20] = type Memory, range 64, base 0x6001000000, size 1048576, enabled
    cap 01[50] = powerspec 3  supports D0 D3  current D0
    cap 09[80] = vendor (length 20) Intel cap 15 version 0
    cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message

Something from boot log (dmesg):

hdac0: <Intel Alder Lake-N HDA Controller> mem 0x6001130000-0x6001133fff,0x6001000000-0x60010fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x0301, device: 0x02f3
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdac0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 132 to local APIC 6 vector 50
hdac0: using IRQ 132 for MSI

Bits from sysctl -a:

dev.hdac.0.polling: 0
dev.hdac.0.pindump: 0
dev.hdac.0.wake: 0
dev.hdac.0.%iommu: rid=0xfb
dev.hdac.0.%parent: pci0
dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x54c8 subvendor=0x0301 subdevice=0x02f3 class=0x040300
dev.hdac.0.%location: slot=31 function=3 dbsf=pci0:0:31:3 handle=\_SB_.PC00.HDAS
dev.hdac.0.%driver: hdac
dev.hdac.0.%desc: Intel Alder Lake-N HDA Controller
dev.hdac.%parent:

I am using minimal kernel, 14.2-STABLE approx. one mnth old, with
snd_hda and sound modules loaded (USB audio works with snd_uaudio
module).

Regards,
Milan



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