Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-15 Thread Juan Zuluaga
:(
no, no sound yet, same message as before.

# sndiod -ddd -r 44100 -f rsnd/0 -m play
snd0 pst=cfg.default: play=0:1 vol=23170 dup
helper(helper|ini): created
worker(worker|ini): created
listen(/tmp/sndio/sock0|ini): created
sock(sock|ini): created
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
aucat0: overwritten slot 0
snd0 pst=cfg: device requested
worker: send: cmd = 0, num = 0, mode = 1, fd = -1
worker: recv: cmd = 3, num = 0, mode = 0, fd = -1
snd0 pst=cfg: rsnd/0: failed to open audio device
sock,rmsg,widl: closing
sock(sock|zom): destroyed
sock(sock|zom): processed in 240002us
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 247958us


# SNDIO_DEBUG=5 aucat -i sound.wav
_aucat_open: host= unit=0 devnum=0 opt=default
/tmp/sndio-0/sock0: No such file or directory
/tmp/sndio/sock0: connected
_aucat_rmsg: eof
aucat_init: mode refused
/dev/audio0: Invalid argument
default: couldn't open audio device


On Wed, May 15, 2019 at 2:01 AM Alexandre Ratchov  wrote:

> On Tue, May 14, 2019 at 06:57:48PM -0500, Juan Zuluaga wrote:
> > Thank you Alexandre!
> >
> > I did
> > # sndiod -ddd -r 44100 -f rsnd/1 -m play
>
> sorry, there's a typo in the command I sent you, the correct device
> number is "0", as the device appears as "audio0" in dmesg. The correct
> command is:
>
> sndiod -ddd -r 44100 -f rsnd/0 -m play
>
>


Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-15 Thread Alexandre Ratchov
On Tue, May 14, 2019 at 06:57:48PM -0500, Juan Zuluaga wrote:
> Thank you Alexandre!
> 
> I did
> # sndiod -ddd -r 44100 -f rsnd/1 -m play

sorry, there's a typo in the command I sent you, the correct device
number is "0", as the device appears as "audio0" in dmesg. The correct
command is:

sndiod -ddd -r 44100 -f rsnd/0 -m play



Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-14 Thread Juan Zuluaga
Thank you Alexandre!

I did
# sndiod -ddd -r 44100 -f rsnd/1 -m play
snd0 pst=cfg.default: play=0:1 vol=23170 dup

and went to the other window, did

petal# SNDIO_DEBUG=4 aucat -i sound.wav
_aucat_open: host= unit=0 devnum=0 opt=default
/tmp/sndio-0/sock0: No such file or directory
/tmp/sndio/sock0: connected
_aucat_rmsg: eof
aucat_init: mode refused
/dev/audio0: Invalid argument
default: couldn't open audio device

The first window wrote

helper(helper|ini): created
worker(worker|ini): created
listen(/tmp/sndio/sock0|ini): created
sock(sock|ini): created
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
aucat0: overwritten slot 0
snd0 pst=cfg: device requested
worker: send: cmd = 0, num = 0, mode = 1, fd = -1
worker: recv: cmd = 3, num = 0, mode = 0, fd = -1
snd0 pst=cfg: rsnd/1: failed to open audio device
sock,rmsg,widl: closing
sock(sock|zom): destroyed
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 8874us




On Tue, May 14, 2019 at 1:46 AM Alexandre Ratchov  wrote:
>
> On Mon, May 13, 2019 at 03:53:51PM -0500, Juan Zuluaga wrote:
> > Hello all,
> >
> > I have audio trouble: no sound whatsoever, and error messages.
> >
> > In a first terminal window, as root, I typed
> > # sndiod -ddd
> >
>
> The ISA bus (actually the PC-XT DMA controller which didn't evolve
> since 1980) is not fast enough for full-duplex. If you don't plan to
> record, could you try:
>
> sndiod -dd -r 44100 -f rsnd/1 -m play
>
> and see if you manage to play something?



Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-13 Thread Alexandre Ratchov
On Mon, May 13, 2019 at 03:53:51PM -0500, Juan Zuluaga wrote:
> Hello all,
> 
> I have audio trouble: no sound whatsoever, and error messages.
> 
> In a first terminal window, as root, I typed
> # sndiod -ddd
> 

The ISA bus (actually the PC-XT DMA controller which didn't evolve
since 1980) is not fast enough for full-duplex. If you don't plan to
record, could you try:

sndiod -dd -r 44100 -f rsnd/1 -m play

and see if you manage to play something?



Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-13 Thread Juan Zuluaga
Thank you Troy!

however, it does not even get to "trying pars...":

-
# AUCAT_DEBUG=4 SIO_DEBUG=4 aucat -i ./sound.wav
default: couldn't open audio device
# AUCAT_DEBUG=4 SNDIO_DEBUG=4 aucat -i ./sound.wav
_aucat_open: host= unit=0 devnum=0 opt=default
/tmp/sndio-0/sock0: No such file or directory
/tmp/sndio/sock0: connected
_aucat_rmsg: eof
aucat_init: mode refused
/dev/audio0: Invalid argument
default: couldn't open audio device
---

sndiod is showing this in first window (output for one command after
another):

-
sock(sock|ini): created
listen(/tmp/sndio/sock0|ini): processed in 12288us
sock,rmsg,widl: AUTH message
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 117724us
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 236610us
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
aucat0: reused
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: rsnd/0: failed to open audio device
sock,rmsg,widl: closing
sock(sock|zom): destroyed
sock(sock|zom): processed in 480270us
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 121869us
sock(sock|ini): created
sock,rmsg,widl: AUTH message
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 123518us
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 235601us
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
aucat0: reused
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: rsnd/0: failed to open audio device
sock,rmsg,widl: closing
sock(sock|zom): destroyed
sock(sock|zom): processed in 482938us
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 131729us






On Mon, May 13, 2019 at 5:07 PM Troy Martin  wrote:

> On Monday, May 13, 2019 at 1:54 PM, Juan Zuluaga wrote:
> > sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.02
> > midi0 at sb0: 
> > audio0 at sb0
> > opl at sb0 not configured
>
> It appears you have an ISA Sound Blaster 16 of some sort. IIRC early
> SB cards were unable to handle 48 kHz sample rates and would quietly
> choke on them. Try running aucat as:
>
> # AUCAT_DEBUG=4 SIO_DEBUG=4 aucat -i ./sound.wav
>
> ...and see if it chokes on after "trying pars = 48000/16/6".
>
> --
> Troy
>
>


Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-13 Thread Troy Martin
On Monday, May 13, 2019 at 1:54 PM, Juan Zuluaga wrote:
> sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.02
> midi0 at sb0: 
> audio0 at sb0
> opl at sb0 not configured

It appears you have an ISA Sound Blaster 16 of some sort. IIRC early
SB cards were unable to handle 48 kHz sample rates and would quietly
choke on them. Try running aucat as:

# AUCAT_DEBUG=4 SIO_DEBUG=4 aucat -i ./sound.wav

...and see if it chokes on after "trying pars = 48000/16/6".

--
Troy



sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-13 Thread Juan Zuluaga
Hello all,

I have audio trouble: no sound whatsoever, and error messages.

In a first terminal window, as root, I typed
# sndiod -ddd

In a second terminal window I typed
# file ./sound.wav
./sound.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16
bit, mono 11025 Hz
# aucat -i ./sound.wav
default: couldn't open audio device

The first terminal window shows this:
petal# sndiod -ddd
snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
helper(helper|ini): created
worker(worker|ini): created
listen(/tmp/sndio/sock0|ini): created
sock(sock|ini): created
listen(/tmp/sndio/sock0|ini): processed in 6261us
sock,rmsg,widl: AUTH message
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 123554us
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 236812us
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
aucat0: overwritten slot 0
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: rsnd/0: failed to open audio device
sock,rmsg,widl: closing
sock(sock|zom): destroyed
sock(sock|zom): processed in 484951us
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 121169us

This is an ancient Thinkpad 380D laptop. Sound was working
before OpenBSD. Some time ago I installed OpenBSD 6.0,
and the last couple of days I have updated 6.1, 6.2.,... up to 6.5

Permissions:
petal# ls -la /dev/sound*
lrwxr-xr-x  1 root  wheel 6 Jan 14  2018 /dev/sound -> sound0
crw-rw-rw-  1 root  wheel   42,   0 Jan 14  2018 /dev/sound0
crw-rw-rw-  1 root  wheel   42,   1 Jan 14  2018 /dev/sound1
crw-rw-rw-  1 root  wheel   42,   2 Jan 14  2018 /dev/sound2

petal# ls -la /dev/audio*
crw-rw-rw-  1 root  wheel   42,   0 May 12 17:37 /dev/audio0
crw-rw-rw-  1 root  wheel   42,   1 May 12 17:37 /dev/audio1
crw-rw-rw-  1 root  wheel   42,   2 May 12 17:37 /dev/audio2
crw-rw-rw-  1 root  wheel   42, 192 May 12 17:37 /dev/audioctl0
crw-rw-rw-  1 root  wheel   42, 193 May 12 17:37 /dev/audioctl1
crw-rw-rw-  1 root  wheel   42, 194 May 12 17:37 /dev/audioctl2

/etc/group says that I (user) am in wheel.

While being still being in OpenBSD 6.0 I followed part of the
installation instructions from http://www.sndio.org/install.html
(yes, for linux) and typed

#mkdir /var/run/sndiod
#useradd -g audio -s /sbin/nologin -d /var/run/sndiod sndiod

Here is dmesg:
OpenBSD 6.5 (GENERIC) #1: Wed Apr 24 22:04:27 CEST 2019
r...@syspatch-65-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
real mem  = 83378176 (79MB)
avail mem = 66617344 (63MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 09/02/99, BIOS32 rev. 0 @ 0xfd860
apm0 at bios0: Power Management spec V1.2
pcibios0 at bios0: rev 2.1 @ 0xfd8a0/0x800
pcibios0: PCI BIOS has 2 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 11
pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371 ISA and IDE" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 153 MHz, 05-04-04
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX,MELTDOWN
cpu0: F00F bug workaround installed
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82437MX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371 ISA and IDE" rev 0x03
vga1 at pci0 dev 3 function 0 "Neomagic Magicgraph 128ZV" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcic3 at pci0 dev 19 function 0 "Cirrus Logic CL-PD6729" rev 0x07
pcic3 controller 0:  has sockets A and B
pcmcia0 at pcic3 controller 0 socket 0
pcmcia1 at pcic3 controller 0 socket 1
wdc2 at pcmcia1 function 0 "Key Technology Corp., FC1307  " port 0x400/16: irq 3
wd0 at wdc2 channel 0 drive 0: 
wd0: 1-sector PIO, LBA, 968MB, 1984000 sectors
wd1 at wdc2 channel 0 drive 1: 
wd1: 1-sector PIO, CHS, 68MB, 1024 cyl, 8 head, 17 sec, 139264 sectors
wd0(wdc2:0:0): using BIOS timings
wd1(wdc2:0:1): using BIOS timings
pcic3: interrupting at irq 4
pcic3: irq 4, polling enabled
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0: irq 4 already in use
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
wdc0 at isa0 port 0x1f0/8 irq 14
wd2 at wdc0 channel 0 drive 0: 
wd2: 16-sector P

Re: default: couldn't open audio device

2017-05-15 Thread Jan Stary
(Please ignore. It's my own screwup of dev/audio.c)

On May 14 15:28:26, h...@stare.cz wrote:
> This is current/amdd64 on a Dell Latitude E5570 (dmesg below).
> I am experiencing the following audio regression:
> 
> $ aucat -o /tmp/file.wav 
> default: couldn't open audio device 
> 
> This happens with or without sndiod running.
> With sndiod -d -d running, it's:
> 
> $ sndiod -d -d   
> snd0.default: rec=0:1 play=0:1 vol=23170 dup  
>   
> snd0: rsnd/0: failed to open audio device  
> 
> dmesg shows
> 
> azalia0 at pci0 dev 31 function 3 "Intel 100 Series HD Audio" rev 0x31: msi
> azalia0: codecs: Realtek/0x0293, Intel/0x2809, using Realtek/0x0293
> audio0 at azalia0
> 
> Am I missing something obvious?
> 
>   Jan
> 
> OpenBSD 6.1-current (GENERIC.MP) #0: Sun May 14 11:40:08 CEST 2017
> h...@dell.stare.cz:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16810340352 (16031MB)
> avail mem = 16295075840 (15540MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xeac10 (107 entries)
> bios0: vendor Dell Inc. version "1.5.0" date 04/22/2016
> bios0: Dell Inc. Latitude E5570
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT LPIT SSDT SSDT SSDT 
> DBGP DBG2 SSDT UEFI SSDT SSDT SLIC ASF!
> acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) 
> PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) 
> PXSX(S4) RP13(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
> 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: TSC frequency 259200 Hz
> 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) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
> 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
> cpu2: 
> 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
> cpu3: 
> 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
> acpimcfg0 at acpi0 addr 0xf000, bus 0-127
> acpihpet0 at acpi0: 2399 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus -1 (PEG1)
> acpiprt3 at acpi0: bus -1 (PEG2)
> acpiprt4 at acpi0: bus -1 (RP09)
> acpiprt5 at acpi0: bus -1 (RP10)
> acpiprt6 at acpi0: bus -1 (RP1

default: couldn't open audio device

2017-05-14 Thread Jan Stary
This is current/amdd64 on a Dell Latitude E5570 (dmesg below).
I am experiencing the following audio regression:

$ aucat -o /tmp/file.wav 
default: couldn't open audio device 

This happens with or without sndiod running.
With sndiod -d -d running, it's:

$ sndiod -d -d   
snd0.default: rec=0:1 play=0:1 vol=23170 dup
snd0: rsnd/0: failed to open audio device  

dmesg shows

azalia0 at pci0 dev 31 function 3 "Intel 100 Series HD Audio" rev 0x31: msi
azalia0: codecs: Realtek/0x0293, Intel/0x2809, using Realtek/0x0293
audio0 at azalia0

Am I missing something obvious?

Jan

OpenBSD 6.1-current (GENERIC.MP) #0: Sun May 14 11:40:08 CEST 2017
h...@dell.stare.cz:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16810340352 (16031MB)
avail mem = 16295075840 (15540MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xeac10 (107 entries)
bios0: vendor Dell Inc. version "1.5.0" date 04/22/2016
bios0: Dell Inc. Latitude E5570
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT LPIT SSDT SSDT SSDT DBGP 
DBG2 SSDT UEFI SSDT SSDT SLIC ASF!
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) 
PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) 
PXSX(S4) RP13(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 259200 Hz
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) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
cpu2: 
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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 2592.00 MHz
cpu3: 
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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-127
acpihpet0 at acpi0: 2399 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (RP09)
acpiprt5 at acpi0: bus -1 (RP10)
acpiprt6 at acpi0: bus -1 (RP11)
acpiprt7 at acpi0: bus -1 (RP12)
acpiprt8 at acpi0: bus -1 (RP13)
acpiprt9 at acpi0: bus -1 (RP01)
acpiprt10 at acpi0: bus 1 (RP02)
acpiprt11 at acpi0: bus 2 (RP03)
acpiprt12 at acpi0: bus -1 (RP04)
acpiprt13 at acpi0: bus -1 (RP05)
acpiprt14 at acpi0: bus -1 (RP06)
acpiprt15 at acpi0: bus -1 (RP07)
acpiprt16 at acpi0: bus -1 (RP08)
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