Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2015 16:28:15 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        account lost <accountlostin@gmx.com>, freebsd-acpi@freebsd.org
Subject:   Re: suspend broken when disconnecting an usb audio device
Message-ID:  <5621097F.20705@selasky.org>
In-Reply-To: <trinity-486efcff-1027-407a-b7d4-033c9617d6a6-1445004546917@3capp-mailcom-bs16>
References:  <trinity-486efcff-1027-407a-b7d4-033c9617d6a6-1445004546917@3capp-mailcom-bs16>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/16/15 16:09, account lost wrote:
> Hi, I'm using FreeBSD 10.2-RELEASE-p5 amd64 on a thinkpad t430.
>
> I have suspend and resume functionality working by using newcons and i915kms.ko as the video driver, but whenever I plug in and use my usb DAC, either by choosing it in applications supporting OSS or by setting it as the hw.snd.default_unit and then disconnect it without terminating the audio applications, I can't enter acpi s3.
>
> When trying to suspend the system I get repeated messages on the console: "Waiting for sound application to exit!" (as documented here: http://baitisj.blogspot.it/2015/05/usb-audio-disconnect-woes-in-freebsd.html) but I can't react by killing the incriminated pid since ttys are already unavailable, and I'm forced to perform an hard reset

Hi,

There is a bug in pulseaudio or some mixer application, that it doesn't 
close the /dev/mixer or /dev/dsp, when receiving a read/write error from 
the USB audio device.

Try killing pulseaudio.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5621097F.20705>