On Wed, May 13, 2015 at 08:41:45AM -0400, Bryan Pimmler wrote: > On Wed, May 13, 2015 at 7:27 AM, Alexandre Ratchov <[email protected]> wrote: > > Does "cat /dev/audio0 >/tmp/foo" works (produces non-zero length > > file)? > > No. However, the type of error depends on what state the system is in > (before or after aucat has been tried). > > Immediately after reboot: > > $ cat /dev/audio0 > /tmp/foo > cat: /dev/audio0: Device not configured >
Something is wrong here, could you build a kernel with the AUDIO_DEBUG and AZALIA_DEBUG options, reboot, run the same command, and send me the resulting dmesg, please? Drop me a e-mail if you need more details on how to proceed. Until this gets fixed, you could add: sndiod_flags=-mplay in /etc/rc.conf.local to get sound working (play-only). > $ cat /dev/urandom > /dev/audio # Results in the expected noise played > on the speakers. > ^C > > $ aucat -i test.wav # No sound, it just hangs. > ^C^C > > After the 'aucat' invocation the system appears to be in a different state: > > $ cat /dev/audio0 >/tmp/foo # Different error message: > cat: /dev/audio0: Device busy > > $ cat /dev/urandom > /dev/audio # No noise this time. > -bash: /dev/audio: Device busy > this is "normal", as sndiod is stuck somewhere because of the device problem. thanks. -- Alexandre

