azalia0 at pci0 dev 27 function 0 "Intel Braswell HD Audio" rev 0x35: msi
azalia0: no supported codecs

You would have something like

azalia0 at pci1 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi
azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0

if any codecs of this card were supported.
In particular, you don't have an audio(4) device;
there is no "workaround" to that.

Someone has to write the driver for your Braswell.
(Idealy, donate the notebook to a developer :-)

        Jan


On Feb 05 20:28:16, j...@ircnow.org wrote:
> Greetings,
> 
> I am attempting to play audio on an HP Chromebook 11 G5 Setzer,
> but OpenBSD appears to be missing the necessary codecs. Are there any
> workarounds? I'm guessing that switching from the built-in speakers to
> headphones won't make any difference. Any suggestions appreciated.
> 
> Here's the output I see when using ogg123:
> 
> bsd$ ogg123 -d sndio Mozart_-_Eine_kleine_Nachtmusik_-_1._Allegro.ogg
> 
> Audio Device:   sndio audio output
> 
> Playing: Mozart_-_Eine_kleine_Nachtmusik_-_1._Allegro.ogg
> Ogg Vorbis stream: 2 channel, 44100 Hz
> Title: ADVENT CHAMBER ORCHESTRA Artist=Roxanna Pavel Goldstein, Musical 
> Director
> ERROR: Cannot open device sndio.
> 
> 
> I tried running sndiod in debug mode:
> 
> bsd$ doas sndiod -dddd
> snd0 pst=cfg.default: rec=0:1 play=0:1 vol=8388608 dup
> snd0 pst=cfg.0: rec=0:1 play=0:1 vol=8388608 dup
> snd1 pst=cfg.1: rec=0:1 play=0:1 vol=8388608 dup
> snd2 pst=cfg.2: rec=0:1 play=0:1 vol=8388608 dup
> snd3 pst=cfg.3: rec=0:1 play=0:1 vol=8388608 dup
> helper(helper|ini): created
> poll: helper: 1
> worker(worker|ini): created
> listen(/tmp/sndio/sock0|ini): created
> default/server.device=0:1 at 1 -> opt_dev:default/0: added
> default/server.device=1:0 at 2 -> opt_dev:default/1: added
> default/server.device=2:0 at 3 -> opt_dev:default/2: added
> default/server.device=3:0 at 4 -> opt_dev:default/3: added
> poll: listen: 1 worker: 1
> sock(sock|ini): created
> listen(/tmp/sndio/sock0|ini): processed in 226us
> worker(worker|ini): processed in 1us
> sock,rmsg,widl: no messages to build anymore, idling...
> poll: sock: 1 listen: 1 worker: 1
> helper: recv: cmd = 0, num = 0, mode = 3, fd = -1
> helper: send: cmd = 3, num = 0, mode = 0, fd = -1
> helper(helper|ini): processed in 339us
> poll: helper: 1
> helper: recv: cmd = 0, num = 0, mode = 1, fd = -1
> helper: send: cmd = 3, num = 0, mode = 0, fd = -1
> helper(helper|ini): processed in 105us
> poll: helper: 1
> sock,rmsg,widl: reading 40 todo
> sock,rmsg,widl: read full message
> sock,rmsg,widl: AUTH message
> sock,rmsg,widl: reading 40 todo
> sock,rmsg,widl: read full message
> sock,rmsg,widl: HELLO message
> sock,rmsg,widl: hello from <ogg123>, mode = 1, ver 7
> app/ogg0.level=127 at 5 -> slot_level:ogg0: added
> snd0 pst=cfg: device requested
> worker: send: cmd = 0, num = 0, mode = 3, fd = -1
> worker: recv: cmd = 3, num = 0, mode = 0, fd = -1
> worker: send: cmd = 0, num = 0, mode = 1, fd = -1
> worker: recv: cmd = 3, num = 0, mode = 0, fd = -1
> worker: send: cmd = 0, num = 0, mode = 2, fd = -1
> worker: recv: cmd = 3, num = 0, mode = 0, fd = -1
> snd0 pst=cfg: failed to open audio device
> sock,rmsg,widl: closing
> sock(sock|zom): destroyed
> sock(sock|zom): processed in 8478us
> listen(/tmp/sndio/sock0|ini): processed in 1us
> worker(worker|ini): processed in 0us
> poll: listen: 1 worker: 1
> helper: recv: cmd = 0, num = 0, mode = 2, fd = -1
> helper: send: cmd = 3, num = 0, mode = 0, fd = -1
> helper(helper|ini): processed in 206us
> poll: helper: 1
> ^Cpoll: helper: 1
> helper: hup
> helper(helper|zom): destroyed
> helper(helper|zom): processed in 54us
> nothing to do...
> worker(worker|zom): destroyed
> listen(/tmp/sndio/sock0|zom): destroyed
> default/server.device=0:1 at 1 -> opt_dev:default/0: removed
> default/server.device=1:0 at 2 -> opt_dev:default/1: removed
> default/server.device=2:0 at 3 -> opt_dev:default/2: removed
> default/server.device=3:0 at 4 -> opt_dev:default/3: removed
> snd0 pst=cfg: draining
> snd1 pst=cfg: draining
> snd2 pst=cfg: draining
> snd3 pst=cfg: draining
> nothing to do...
> snd0 pst=cfg: deleting
> snd1 pst=cfg: deleting
> snd2 pst=cfg: deleting
> snd3 pst=cfg: deleting
> 
> Below is my dmesg output:
> 
> OpenBSD 7.4 (GENERIC.MP) #1382: Wed Sep 27 10:51:31 MDT 2023
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2068180992 (1972MB)
> avail mem = 1985822720 (1893MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x1fee8000 (17 entries)
> bios0: vendor coreboot version "MrChromebox-4.20.1" date 07/21/2023
> bios0: GOOGLE Setzer
> efi0 at bios0: UEFI 2.7
> efi0: EDK II rev 0x10000
> acpi0 at bios0: ACPI 6.0
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP SSDT MCFG TCPA APIC HPET TCPA BGRT
> acpi0: wakeup devices XHCI(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xe0000000, bus 0-255
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Celeron(R) CPU N3060 @ 1.60GHz, 2480.32 MHz, 06-4c-04, patch 
> 00000411
> cpu0: 
> 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
> cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
> 16-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 79MHz
> cpu0: mwait min=64, max=64, C-substates=0.2, IBE
> cpu1 at mainbus0: apid 4 (application processor)
> cpu1: Intel(R) Celeron(R) CPU N3060 @ 1.60GHz, 2480.70 MHz, 06-4c-04, patch 
> 00000411
> cpu1: 
> 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
> cpu1: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
> 16-way L2 cache
> cpu1: smt 0, core 2, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 115 pins
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiec0 at acpi0
> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> acpibtn0 at acpi0: LID0
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT0 model "DR02043" serial 150F type LION oem "333-42-"
> "GOOG0004" at acpi0 not configured
> acpicmos0 at acpi0
> "GOOG000A" at acpi0 not configured
> "INTL9C60" at acpi0 not configured
> "INTL9C60" at acpi0 not configured
> dwiic0 at acpi0 I2C1 addr 0x91320000/0x1000 irq 32
> iic0 at dwiic0
> ihidev0 at iic0 addr 0x20dwiic0: timed out reading remaining 30
> , failed fetching initial HID descriptor
> dwiic1 at acpi0 I2C5 addr 0x91324000/0x1000 irq 36
> iic1 at dwiic1
> "10EC5650" at iic1 addr 0x1a not configured
> dwiic2 at acpi0 I2C6 addr 0x91326000/0x1000 irq 37
> iic2 at dwiic2
> ietp0 at iic2 addr 0x15 , can't establish interrupt
> "808622A8" at acpi0 not configured
> tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x5000, Infineon SLB9635 1.2 rev 
> 0x10
> chvgpio0 at acpi0 GPSW uid 1 addr 0xfed80000/0x8000 irq 49, 56 pins
> chvgpio1 at acpi0 GPNC uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins
> chvgpio2 at acpi0 GPEC uid 3 addr 0xfed90000/0x8000 irq 50, 24 pins
> chvgpio3 at acpi0 GPSE uid 4 addr 0xfed98000/0x8000 irq 91, 55 pins
> "INT3400" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "INT3403" at acpi0 not configured
> "INT3403" at acpi0 not configured
> acpicpu0 at acpi0: C2 bad (state 6 has no substates): C3 bad (state 6 has no 
> substates): C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C2 bad (state 6 has no substates): C3 bad (state 6 has no 
> substates): C1(1000@1 mwait.1), PSS
> "BOOT0000" at acpi0 not configured
> acpipwrres0 at acpi0: PLPE
> acpivideo0 at acpi0: GFX0
> cpu0: using VERW MDS workaround
> cpu0: Enhanced SpeedStep 2480 MHz: speeds: 1601, 1600, 1520, 1440, 1360, 
> 1280, 1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz
> pci0 at mainbus0 bus 0
> iosf0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x35: mbi
> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x35
> drm0 at inteldrm0
> inteldrm0: msi, CHERRYVIEW, gen 8
> "Intel Braswell Power" rev 0x35 at pci0 dev 11 function 0 not configured
> sdhc0 at pci0 dev 16 function 0 vendor "Intel", unknown product 0x2294 rev 
> 0x35: apic 1 int 19
> sdhc0: SDHC 3.0, 200 MHz base clock
> sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
> sdhc1 at pci0 dev 18 function 0 vendor "Intel", unknown product 0x2296 rev 
> 0x35: apic 1 int 18
> sdhc1: SDHC 3.0, 200 MHz base clock
> sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed, ddr52, dma
> xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x35: msi, xHCI 1.0
> 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
> azalia0 at pci0 dev 27 function 0 "Intel Braswell HD Audio" rev 0x35: msi
> azalia0: no supported codecs
> ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x35: msi
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 2 "Intel Braswell PCIE" rev 0x35: msi
> pci2 at ppb1 bus 2
> iwm0 at pci2 dev 0 function 0 "Intel AC 7265" rev 0x59, msi
> pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x35
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation)
> efifb at mainbus0 not configured
> scsibus1 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <Sandisk, DF4016, 0000> removable
> sd0: 15028MB, 512 bytes/sector, 30777344 sectors
> uhidev0 at uhub0 port 2 configuration 1 interface 0 "Microsoft Microsoft 
> 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub0 port 3 configuration 1 interface 0 "Lite-On Technology Corp. 
> HP Basic USB Keyboard" rev 1.10/1.04 addr 3
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> uvideo0 at uhub0 port 4 configuration 1 interface 0 "SunplusIT Inc HP 
> Truevision HD" rev 2.00/28.74 addr 4
> video0 at uvideo0
> ugen0 at uhub0 port 5 "Intel Bluetooth" rev 2.00/0.03 addr 5
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (0b14990a7a3f0418.a) swap on sd0b dump on sd0b
> drm:pid0:intel_dp_aux_wait_done *ERROR* [drm] *ERROR* AUX C/DP C: did not 
> complete or timeout within 10ms (status 0xa0130064)
> inteldrm0: 1366x768, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> iwm0: hw rev 0x210, fw ver 17.3216344376.0, address 88:b1:11:3b:15:dc
> pckbc: command timeout
> pckbc: command timeout
> pckbc: command timeout
> 
> -- 
> jrmu
> IRCNow (https://ircnow.org)
> 

Reply via email to