From owner-freebsd-usb@freebsd.org Tue Mar 31 12:59:46 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 425E42A4E90 for ; Tue, 31 Mar 2020 12:59:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48s8YV4ZY1z3yZX for ; Tue, 31 Mar 2020 12:59:42 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id 522842A4E6F; Tue, 31 Mar 2020 12:59:34 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B33F2A4E6D for ; Tue, 31 Mar 2020 12:59:34 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48s8Y34Vlqz3ySn for ; Tue, 31 Mar 2020 12:59:18 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 826DD260281; Tue, 31 Mar 2020 14:59:09 +0200 (CEST) Subject: Re: svn commit: r359446 - head/sys/dev/sound/usb To: CeDeROM , Alexander Leidinger Cc: "freebsd-usb@FreeBSD.org" References: <202003301650.02UGoX5Y046848@repo.freebsd.org> <20200331143524.Horde.ysDNb7YHa282XO7TaHD7KeV@webmail.leidinger.net> From: Hans Petter Selasky Message-ID: <1d307d3a-ae64-dd3c-c59f-285a18102196@selasky.org> Date: Tue, 31 Mar 2020 14:58:06 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48s8Y34Vlqz3ySn X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; IP_SCORE(-3.11)[ip: (-9.29), ipnet: 88.99.0.0/16(-4.70), asn: 24940(-1.56), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 12:59:46 -0000 On 2020-03-31 14:52, CeDeROM wrote: > Maybe some information to PulseAudio that device is gone would be nice > too, because it still thinks that audio device is there even if the > cable was disconnected. Hi, PulseAudio could need some OSS patches, like to close the DSP and MIXER fd's when an error code is returned. Do we have a contact person here? This is not really a kernel problem. We can't just go on and create pcm99, 100, 101 and so on, just because the apps don't close there FD's! Personally I try to use ALSA and JACK and virtual_oss or just native OSS. --HPS