From nobody Fri Apr 12 17:45:10 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VGP9F4Kb6z5HnlN; Fri, 12 Apr 2024 17:45:21 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from margiolis.net (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VGP9D0MWwz49TX; Fri, 12 Apr 2024 17:45:19 +0000 (UTC) (envelope-from christos@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=margiolis.net header.s=mail header.b=J0SMUY05; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none); spf=softfail (mx1.freebsd.org: 95.179.159.8 is neither permitted nor denied by domain of christos@freebsd.org) smtp.mailfrom=christos@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=mq/TEy7usEq9Kyo YFzduUMzaFPwbdU+pHuJFAfEvosU=; h=subject:cc:to:from:date; d=margiolis.net; b=J0SMUY053++8o1ola5bkpohs/Fvzx3ssyj81oazAe0TkJplfncK MII+QhlHvOrTydp+rwb2zX2lL20WRqKDtdZ9Zac/OPOjkALk8Ygh/XzSaRWg+UqO1ZMf7R MAT60ds+ARqQ0kHxfiXxCEBG5tuSZlJlxwOpeaRsO7TCOWTktA= Received: from tpad (ip-45-81-121-44.ask4internet.com [45.81.121.44]) by margiolis.net (OpenSMTPD) with ESMTPSA id 0b23b8cd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 12 Apr 2024 17:45:11 +0000 (UTC) Date: Fri, 12 Apr 2024 19:45:10 +0200 From: Christos Margiolis To: freebsd-multimedia@freebsd.org Cc: freebsd-hackers@freebsd.org, jrm@freebsd.org, markj@freebsd.org, bapt@freebsd.org, dev@submerge.ch, emaste@freebsd.org, meka@tilda.center Subject: Call-for-testing: Asynchronous audio device detach Message-ID: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[margiolis.net:s=mail]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, DKIM not aligned (relaxed),none]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEFALL_USER(0.00)[christos]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_SEVEN(0.00)[8]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org,freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; DKIM_TRACE(0.00)[margiolis.net:+] X-Rspamd-Queue-Id: 4VGP9D0MWwz49TX Hello, Yesterday I committed a patch [1] which adds support for asynchronous device detach for audio devices, something that many people with detachable audio devices (e.g USB) have been asking for for years [2][3][4][5][6][many more...]. I would like to ask you to give it a try and let me know if everything works properly. Note that this patch depends on dc831e93bad6 [7], so make sure to apply this one as well. Christos [1] https://cgit.freebsd.org/src/commit/?id=44e128fe9d92c1a544b801cb56e907a66ef34691 [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727 [3] https://forums.freebsd.org/threads/not-entering-sleep-state-due-to-audio.82597/ [4] https://forums.freebsd.org/threads/forcing-off-the-computer-endlessly-waiting-for-sound-application-to-exit-at-sleep-suspend-time.80412/ [5] https://www.davidschlachter.com/misc/freebsd-usb-audio [6] https://randomnixfix.wordpress.com/2021/10/23/why-the-freebsd-desktop-and-my-linux-rant/ [7] https://cgit.freebsd.org/src/commit/?id=e8c0d15a64fadb4a330f2da7244becaac161bb70