I have a laptop Compaq Evo400 with audio card ES 1989
All versions before OpenBSD 5.8 works ok with this card. Versions 5.8, 5.9, 6.0
and 6.1 has a broken sound and noice.
# cat > /dev/audio < /dev/zero &
# audioctl play.{bytes,errors}
play.bytes=22024192
play.errors=19267584
-- full dmesg --
OpenBSD 6.1-stable (GENERIC) #0: Fri Aug 11 08:45:30 +10 2017
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 847 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE,PERF
real mem = 267730944 (255MB)
avail mem = 249896960 (238MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 03/15/02, BIOS32 rev. 0 @ 0xf0000, SMBIOS rev. 2.3 @
0xfb7cf (34 entries)
bios0: vendor Compaq version "686AW v2.49" date 03/15/2002
bios0: Compaq Evo N400c
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP
acpi0: wakeup devices C03A(S4) C085(S1) C148(S4) C174(S3) C175(S3) C176(S3)
C177(S3) C17A(S4) C17B(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus -1 (C03B)
acpiprt1 at acpi0: bus -1 (C148)
acpiprt2 at acpi0: bus -1 (C03A)
acpipwrres0 at acpi0: C11E, resource for C119
acpipwrres1 at acpi0: C132, resource for C11F
acpipwrres2 at acpi0: C137, resource for C136
acpipwrres3 at acpi0: C13A, resource for C138
acpipwrres4 at acpi0: C146, resource for C144
acpipwrres5 at acpi0: C1C6, resource for C1C9
acpipwrres6 at acpi0: C1C7, resource for C1CA
acpipwrres7 at acpi0: C1C8, resource for C1CB
acpitz0 at acpi0: critical temperature is 100 degC
"*PNP0C01" at acpi0 not configured
"*PNP0A03" at acpi0 not configured
"*PNP0A06" at acpi0 not configured
"*PNP0501" at acpi0 not configured
"*PNP0700" at acpi0 not configured
"*SMCF010" at acpi0 not configured
"*PNP0401" at acpi0 not configured
"*PNP0C04" at acpi0 not configured
"*PNP0100" at acpi0 not configured
"*PNP0200" at acpi0 not configured
"*PNP0800" at acpi0 not configured
"*PNP0B00" at acpi0 not configured
"*PNP0303" at acpi0 not configured
"*PNP0F13" at acpi0 not configured
"*PNP0000" at acpi0 not configured
"*PNP0C02" at acpi0 not configured
"*PNP0C0F" at acpi0 not configured
"*PNP0C0F" at acpi0 not configured
"*PNP0C0F" at acpi0 not configured
"*PNP0C0F" at acpi0 not configured
"*PNP0C02" at acpi0 not configured
"*PNP0C0A" at acpi0 not configured
"*PNP0C0A" at acpi0 not configured
"*PNP0C0A" at acpi0 not configured
"*PNP0C0A" at acpi0 not configured
acpiac0 at acpi0: AC unit online
"*PNP0C0E" at acpi0 not configured
"*PNP0C0D" at acpi0 not configured
"*PNP0C02" at acpi0 not configured
"*PNP0C0B" at acpi0 not configured
"*PNP0C0B" at acpi0 not configured
"*PNP0C0B" at acpi0 not configured
acpidock0 at acpi0: C11D not docked (0)
bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1800
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0x50000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 4 function 0 "TI PCI1211 CardBus" rev 0x00: irq 11
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02: SpeedStep
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N020ATCS04-0>
wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x03: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL2
esa0 at pci0 dev 8 function 0 "ESS ES1989" rev 0x12: irq 11
ac97: codec id 0x45838308 (ESS Technology ES1921)
ac97: codec features 20 bit DAC, 20 bit ADC, ESS Technology
audio0 at esa0
fxp0 at pci0 dev 9 function 0 "Intel 8255x" rev 0x09, i82559S: irq 11, address
00:d0:59:c5:5f:1f
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
"AT&T/Lucent LTMODEM" rev 0x00 at pci0 dev 9 function 1 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
isa0 at piixpcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 5.6
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00
addr 1
uhub1 at uhub0 port 2 configuration 1 interface 0 "ALCOR Generic USB Hub" rev
1.10/2.00 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (ff67e4f2f5c17cc2.a) swap on wd0b dump on wd0b
--------------
--- mixerctl ---
outputs.master=255,255 volume
outputs.master.mute=off [ off on ]
outputs.mono=255 volume
outputs.mono.mute=on [ off on ]
outputs.mono.source=mixerout [ mixerout mic ]
inputs.spkr=255 volume
inputs.spkr.mute=off [ off on ]
inputs.phone=191 volume
inputs.phone.mute=on [ off on ]
inputs.mic=191 volume
inputs.mic.mute=on [ off on ]
inputs.mic.preamp=off [ off on ]
inputs.mic.source=mic0 [ mic0 mic1 ]
inputs.line=191,191 volume
inputs.line.mute=on [ off on ]
inputs.cd=191,191 volume
inputs.cd.mute=on [ off on ]
inputs.video=191,191 volume
inputs.video.mute=on [ off on ]
inputs.aux=191,191 volume
inputs.aux.mute=on [ off on ]
inputs.dac=191,191 volume
inputs.dac.mute=off [ off on ]
record.source=mic [ mic cd video aux line mixerout mixeroutmono phone ]
record.volume=255,255 volume
record.volume.mute=off [ off on ]
outputs.spatial=off [ off on ]
outputs.spatial.center=0 volume
outputs.spatial.depth=0 volume
outputs.extamp=off [ off on ]
----------------
--- audioctl ---
name=esa0
mode=
pause=0
active=0
nblks=2
blksz=1024
rate=48000
encoding=s16le
play.channels=2
play.bytes=0
play.errors=0
record.channels=2
record.bytes=0
record.errors=0
--------------