From nobody Sun Feb 04 18:45:48 2024 X-Original-To: usb@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 4TSdkN6PXDz58YNr for ; Sun, 4 Feb 2024 18:45:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TSdkN4bsDz40Yy for ; Sun, 4 Feb 2024 18:45:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707072348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZM/CjDV8uQK+3ePeHLROzS0/ml4+wYyugQ/GIUtSaWE=; b=cgUOfWHqiaKexFX84q8VJmvTmMDGY8b7EpTTIQntcRLkuaDqKLwDR/ZEz0DTv/+u64pqCC VmJlpcqWdk5hjRR3gIEb37xPwDSOeQRWfCJFThYAGvs9ac3PFm5VZObjaIn0TpgB507kP7 u6ds4XL3uIolGhk+uaSvvv/qkD2DA99+urd2jAxWAa3sOAQ5y6FpL322KMfacuF1E00rm2 92pxMyxdelVpQVfTjePDk5+nHxCmaAcf5ItxFq7yZ1UkVet0nmB6VPZJN7A66sfi544jA/ ynjkBs3pgbnZSRwDKSTEUWYly1/2OAjxjbZrCBa3ASCNRcYhmGoabtzY6YG4xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707072348; a=rsa-sha256; cv=none; b=xPSgFJpbwWls4EZ2KeFAdunhhp0NLJS2XllRsSWlMSlrJc/6fLMMj4EndYzPqjW7MuCGHW Xi+Rxu5n7SW3sfcD2WUdSuYX5nSIIGXSA1JdYUO9ZsekamXan74tdOT/uJ8GvhXmdGoXPG 7XrRvtQqbqYio4Z0shAOYc5fg5qde3RQEMQ0PLuORXp/U2+b6ef2PNDFl47i/D1y//8rqw 9jAsPNf9g/YnVa1MTc968DqfLu+O8buXUtRw6bDVcC+ZhiNLjkDBW/mZL8jMwZO+tkoliF OQOQjsmZ3Wr6jsAjIPUlE2VnNndtmyTD+ZdoU/8NmONOI4gkExGfKJKwom0RrQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TSdkN3c3jz17Yl for ; Sun, 4 Feb 2024 18:45:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 414Ijm6v047888 for ; Sun, 4 Feb 2024 18:45:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 414Ijmq4047885 for usb@FreeBSD.org; Sun, 4 Feb 2024 18:45:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 271574] PCM doesn't load audio device names from snd_uaudio Date: Sun, 04 Feb 2024 18:45:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271574 --- Comment #2 from Graham Perrin --- Committed to main then cherry-picked to stable/14: - base 18d87fe4fe3b310796e138855016678453140423 - base 626d9b855302ac97809bb429cfe5ae0e4c99c1ac snd_uaudio: provide information about the device name and attached driver Unlike the other sound drivers, snd_uaudio(4) doesn't provide information about the device's description and the driver it's attached to. A side-effect of this is that applications such as mixer(8), that fetch these strings through the OSS API's SNDCTL_CARDINFO ioctl will show a USB audio device as: pcm0:mixer: at ? kld snd_uaudio This patch replaces the generic "USB Audio" description with the device's actual manufacturer and product strings, and the "at ?" string with the driver it's attached to: pcm0:mixer: at uaudio0 kld snd_uaudio Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D43347 --=20 You are receiving this mail because: You are the assignee for the bug.=