From nobody Mon Feb 03 15:08:09 2025 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ymqcw43rWz5llTP for ; Mon, 03 Feb 2025 15:08:16 +0000 (UTC) (envelope-from freebsd-multimedia@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ymqct5N5cz3bJb for ; Mon, 03 Feb 2025 15:08:14 +0000 (UTC) (envelope-from freebsd-multimedia@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-multimedia@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-multimedia@dino.sk; dmarc=none Received: from dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000002348C97.0000000067A0DBDB.00011E26; Mon, 03 Feb 2025 16:08:11 +0100 Date: Mon, 3 Feb 2025 16:08:09 +0100 From: Milan Obuch 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> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.3) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.26 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.99)[-0.994]; NEURAL_HAM_LONG(-0.97)[-0.966]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Ymqct5N5cz3bJb On Mon, 3 Feb 2025 09:29:44 -0500 Alexander Motin 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: (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: 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