Saturday, November 02, 2024

Re: HDMI audio?

On Nov 02 14:19:29, sadeep@asciimx.com wrote:
> Does OpenBSD support HDMI audio? I bought a new monitor, which has
> integrated speakers. It's an LG 32UN650. Display is working really well,
> but I can't get sound to work.
>
> sndioctl output:
> input.level=0.486
> input.mute=0
> output.level=0.494
> output.mute=0
> server.device=0(azalia0)

This is not the hdmi-connected audio in your monitor,
this is the azalia audio chip on your motherboard.
Do you have any speakers connected to that?

"can't get sound to work" says nothing.
What have you done, what have you tried, what happened?

Jan



> dmesg:
>
> OpenBSD 7.6 (GENERIC.MP) #338: Mon Sep 30 08:55:35 MDT 2024
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16163442688 (15414MB)
> avail mem = 15650205696 (14925MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x7cbac000 (70 entries)
> bios0: vendor LENOVO version "N2RET23W (1.17 )" date 02/19/2021
> bios0: LENOVO 20RY000WSG
> acpi0 at bios0: ACPI 6.1
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT TPM2 SSDT HPET APIC
> MCFG ECDT SSDT SSDT NHLT BOOT SLIC SSDT LPIT WSMT SSDT DBGP DBG2 MSDM
> BATB DMAR UEFI FPDT
> acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4)
> PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4)
> PXSX(S4) RP06(S4) PXSX(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 23999999 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1793.80 MHz, 06-8e-0c,
> patch 000000fc
> cpu0: cpuid 1
> edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
> cpu0: cpuid 6 eax=27f7<SENSOR,ARAT> ecx=9<EFFFREQ>
> cpu0: cpuid 7.0
> ebx=29c67af<FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT>
> edx=bc000600<SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD>
> cpu0: cpuid a vers=4, gp=4, gpwidth=48, ff=3, ffwidth=48
> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG>
> ecx=121<LAHF,ABM,3DNOWP>
> cpu0: cpuid 80000007 edx=100<ITSC>
> cpu0: msr
> 10a=a0a0c2b<IBRS_ALL,SKIP_L1DFL,MDS_NO,MISC_PKG_CT,ENERGY_FILT,FB_CLEAR,RRSBA,GDS_CTRL,RFDS_NO>
> cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB
> 64b/line 4-way L2 cache, 8MB 64b/line 16-way L3 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 24MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1794.66 MHz, 06-8e-0c,
> patch 000000fc
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c,
> patch 000000fc
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1709.78 MHz, 06-8e-0c,
> patch 000000fc
> cpu3: smt 0, core 3, package 0
> cpu4 at mainbus0: apid 1 (application processor)
> cpu4: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c,
> patch 000000fc
> cpu4: smt 1, core 0, package 0
> cpu5 at mainbus0: apid 3 (application processor)
> cpu5: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c,
> patch 000000fc
> cpu5: smt 1, core 1, package 0
> cpu6 at mainbus0: apid 5 (application processor)
> cpu6: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c,
> patch 000000fc
> cpu6: smt 1, core 2, package 0
> cpu7 at mainbus0: apid 7 (application processor)
> cpu7: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 1696.05 MHz, 06-8e-0c,
> patch 000000fc
> cpu7: smt 1, core 3, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xe0000000, bus 0-255
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (RP01)
> acpiprt2 at acpi0: bus -1 (RP02)
> acpiprt3 at acpi0: bus -1 (RP03)
> acpiprt4 at acpi0: bus -1 (RP04)
> acpiprt5 at acpi0: bus 3 (RP05)
> acpiprt6 at acpi0: bus -1 (RP06)
> acpiprt7 at acpi0: bus -1 (RP07)
> acpiprt8 at acpi0: bus -1 (RP08)
> acpiprt9 at acpi0: bus 45 (RP09)
> acpiprt10 at acpi0: bus -1 (RP10)
> acpiprt11 at acpi0: bus -1 (RP11)
> acpiprt12 at acpi0: bus -1 (RP12)
> acpiprt13 at acpi0: bus 46 (RP13)
> acpiprt14 at acpi0: bus -1 (RP14)
> acpiprt15 at acpi0: bus -1 (RP15)
> acpiprt16 at acpi0: bus -1 (RP16)
> acpiprt17 at acpi0: bus -1 (RP17)
> acpiprt18 at acpi0: bus -1 (RP18)
> acpiprt19 at acpi0: bus -1 (RP19)
> acpiprt20 at acpi0: bus -1 (RP20)
> acpiprt21 at acpi0: bus -1 (RP21)
> acpiprt22 at acpi0: bus -1 (RP22)
> acpiprt23 at acpi0: bus -1 (RP23)
> acpiprt24 at acpi0: bus -1 (RP24)
> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> acpithinkpad0 at acpi0: version 2.0
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT0 model "5B10W13954" serial 1915 type LiP oem
> "Celxpert"
> "LEN0100" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "INT3403" at acpi0 not configured
> acpicmos0 at acpi0
> pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000
> 0xfd6a0000/0x10000 irq 14, 320 pins
> "PNP0C14" at acpi0 not configured
> "INT0E0C" at acpi0 not configured
> acpibtn0 at acpi0: SLPB(wakeup)
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> intelpmc0 at acpi0: PEPD
> state 0: 0x7f:1:2:0x00:0x0000000000000060
> counter: 0x7f:64:0:0x00:0x0000000000000632
> frequency: 0
> state 1: 0x7f:1:2:0x00:0x0000000000000060
> counter: 0x00:32:0:0x03:0x00000000fe00193c
> frequency: 9580
> acpibtn1 at acpi0: LID_(wakeup)
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "INT3400" at acpi0 not configured
> tpm0 at acpi0 TPM_ 2.0 (TIS) addr 0xfed40000/0x5000, device 0x00fc1050
> rev 0x1
> "USBC000" at acpi0 not configured
> acpipwrres0 at acpi0: PUBS, resource for XHC_
> acpipwrres1 at acpi0: USBC, resource for XDCI
> acpipwrres2 at acpi0: PXP_, resource for RP05
> acpipwrres3 at acpi0: PXP_, resource for RP07, PXSX
> acpipwrres4 at acpi0: V0PR
> acpipwrres5 at acpi0: V1PR
> acpipwrres6 at acpi0: V2PR
> acpipwrres7 at acpi0: WRST
> acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu4 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu5 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu6 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpicpu7 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33),
> C1(1000@1 mwait.1), PSS
> acpitz0 at acpi0: critical temperature is 128 degC
> acpipwrres8 at acpi0: PIN_
> acpipwrres9 at acpi0: PINP
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD1F
> cpu0: Enhanced SpeedStep 1793 MHz: speeds: 2301, 2300, 2200, 2000, 1800,
> 1700, 1600, 1500, 1300, 1200, 1100, 900, 800, 700, 500, 400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 10G Host" rev 0x0c
> inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics" rev 0x02
> drm0 at inteldrm0
> inteldrm0: msi, COMETLAKE, gen 9
> "Intel Core 6G Thermal" rev 0x0c at pci0 dev 4 function 0 not configured
> "Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
> pchtemp0 at pci0 dev 18 function 0 "Intel 400 Series Thermal" rev 0x00
> xhci0 at pci0 dev 20 function 0 "Intel 400 Series xHCI" rev 0x00: msi,
> xHCI 1.10
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> 3.00/1.00 addr 1
> "Intel 400 Series Shared SRAM" rev 0x00 at pci0 dev 20 function 2 not
> configured
> iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00, msix
> dwiic0 at pci0 dev 21 function 0 "Intel 400 Series I2C" rev 0x00: apic 2
> int 16
> iic0 at dwiic0
> "Intel 400 Series MEI" rev 0x00 at pci0 dev 22 function 0 not configured
> ppb0 at pci0 dev 28 function 0 "Intel 400 Series PCIE" rev 0xf0: msi
> pci1 at ppb0 bus 2
> sdhc0 at pci1 dev 0 function 0 vendor "Genesys Logic", unknown product
> 0x9750 rev 0x01: apic 2 int 16
> sdhc0: SDHC 4.20, 50 MHz base clock
> sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, ddr52, dma
> ppb1 at pci0 dev 28 function 4 "Intel 400 Series PCIE" rev 0xf0: msi
> pci2 at ppb1 bus 3
> ppb2 at pci2 dev 0 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01
> pci3 at ppb2 bus 4
> ppb3 at pci3 dev 0 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01:
> msi
> pci4 at ppb3 bus 5
> "Intel JHL6240 Thunderbolt 3" rev 0x01 at pci4 dev 0 function 0 not
> configured
> ppb4 at pci3 dev 1 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01:
> msi
> pci5 at ppb4 bus 6
> ppb5 at pci3 dev 2 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01:
> msi
> pci6 at ppb5 bus 43
> xhci1 at pci6 dev 0 function 0 "Intel JHL6240 Thunderbolt 3" rev 0x01:
> msi, xHCI 1.10
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev
> 3.00/1.00 addr 1
> ppb6 at pci0 dev 29 function 0 "Intel 400 Series PCIE" rev 0xf0: msi
> pci7 at ppb6 bus 45
> ppb7 at pci0 dev 29 function 4 "Intel 400 Series PCIE" rev 0xf0: msi
> pci8 at ppb7 bus 46
> nvme0 at pci8 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00:
> msix, NVMe 1.3
> nvme0: SAMSUNG MZVLB512HBJQ-000L7, firmware 5M2QEXF7, serial
> S4ENNF0N308713
> scsibus1 at nvme0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <NVMe, SAMSUNG MZVLB512, 5M2Q>
> sd0: 488386MB, 512 bytes/sector, 1000215216 sectors
> pcib0 at pci0 dev 31 function 0 "Intel 400 Series LPC" rev 0x00
> azalia0 at pci0 dev 31 function 3 "Intel 400 Series HD Audio" rev 0x00:
> msi
> azalia0: codecs: Realtek ALC257, Intel/0x280b, using Realtek ALC257
> audio0 at azalia0
> ichiic0 at pci0 dev 31 function 4 "Intel 400 Series SMBus" rev 0x00:
> apic 2 int 16
> iic1 at ichiic0
> "Intel 400 Series SPI" rev 0x00 at pci0 dev 31 function 5 not configured
> em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x00: msi, address
> 00:2b:67:60:ff:6d
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> wsmouse1 at pms0 mux 0
> pms0: Synaptics clickpad, firmware 10.32, 0x1e2a1 0x940300 0x378f40
> 0xf00aa3 0x12e800
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT
> ugen0 at uhub0 port 1 "Generic EMV Smartcard Reader" rev 2.01/1.20 addr2
> ugen0: setting configuration index 0 failed
> uhub2 at uhub0 port 4 configuration 1 interface 0 "Generic 4-Port USB
> 2.0 Hub" rev 2.10/1.04 addr 3
> uhidev0 at uhub2 port 1 configuration 1 interface 0 "Logitech USB
> Receiver" rev 2.00/5.01 addr 4
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 128 variable keys, 0 key codes
> wskbd1 at ukbd0 mux 1
> uhidev1 at uhub2 port 1 configuration 1 interface 1 "Logitech USB
> Receiver" rev 2.00/5.01 addr 4
> uhidev1: iclass 3/1, 4 report ids
> ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
> wsmouse2 at ums0 mux 0
> ucc0 at uhidev1 reportid 3: 767 usages, 20 keys, array
> wskbd2 at ucc0 mux 1
> uhid0 at uhidev1 reportid 4: input=1, output=0, feature=0
> uhidev2 at uhub2 port 1 configuration 1 interface 2 "Logitech USB
> Receiver" rev 2.00/5.01 addr 4
> uhidev2: iclass 3/0, 17 report ids
> uhidpp0 at uhidev2 device 1 keyboard "Logi POP Keys"
> uhidev3 at uhub2 port 2 configuration 1 interface 0 "Gtech wireless
> dongle" rev 1.10/1.20 addr 5
> uhidev3: iclass 3/1
> ukbd1 at uhidev3: 8 variable keys, 6 key codes
> wskbd3 at ukbd1 mux 1
> uhidev4 at uhub2 port 2 configuration 1 interface 1 "Gtech wireless
> dongle" rev 1.10/1.20 addr 5
> uhidev4: iclass 3/1, 6 report ids
> ums1 at uhidev4 reportid 1: 5 buttons, Z and W dir
> wsmouse3 at ums1 mux 0
> uhid1 at uhidev4 reportid 2: input=7, output=0, feature=0
> uhid2 at uhidev4 reportid 3: input=1, output=0, feature=0
> uhid3 at uhidev4 reportid 4: input=1, output=0, feature=0
> ucc1 at uhidev4 reportid 5: 573 usages, 20 keys, array
> wskbd4 at ucc1 mux 1
> uhid4 at uhidev4 reportid 6: input=0, output=0, feature=7
> uvideo0 at uhub0 port 8 configuration 1 interface 0 "Azurewave
> Integrated Camera" rev 2.01/70.01 addr 6
> video0 at uvideo0
> uvideo1 at uhub0 port 8 configuration 1 interface 2 "Azurewave
> Integrated Camera" rev 2.01/70.01 addr 6
> video1 at uvideo1
> ugen1 at uhub0 port 9 "Synaptics Fingerprint Reader" rev 2.00/0.00 addr
> 7
> ugen2 at uhub0 port 10 "Intel Bluetooth" rev 2.01/0.02 addr 8
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
> sd1: 488386MB, 512 bytes/sector, 1000214624 sectors
> root on sd1a (4d0416e3c8764612.a) swap on sd1b dump on sd1b
> drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm]
> [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI
> clock, gate it
> drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm]
> [ENCODER:116:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI
> clock, gate it
> inteldrm0: 1920x1080, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using
> wskbd0
> wskbd1: connecting to wsdisplay0
> wskbd2: connecting to wsdisplay0
> wskbd3: connecting to wsdisplay0
> wskbd4: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> iwx0: hw rev 0x350, fw 77.a20fb07d.0, address d8:3b:bf:b5:ea:b9
>
> --
> Sadeep Madurange
> PGP: 103BF9E3E750BF7E
>
>

No comments:

Post a Comment