[Bug 272116] USB audio devices are missing device name descriptions

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Jun 2023 00:38:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272116

            Bug ID: 272116
           Summary: USB audio devices are missing device name descriptions
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

For example, the audio device corresponding to the Logitech webcam is logged
as:
> Jun 11 17:06:48 yv kernel: pcm7: <USB audio> on uaudio0

sysctl describes it the same way:
$ sysctl -a | grep pcm.7
dev.pcm.7.feedback_rate: 0
dev.pcm.7.mixer.mute_1.desc: 
dev.pcm.7.mixer.mute_1.max: 1
dev.pcm.7.mixer.mute_1.min: 0
dev.pcm.7.mixer.mute_1.val: 0
dev.pcm.7.mixer.vol_0.desc: 
dev.pcm.7.mixer.vol_0.max: 12800
dev.pcm.7.mixer.vol_0.min: 5120
dev.pcm.7.mixer.vol_0.val: 7040
dev.pcm.7.mode: 5
dev.pcm.7.bitperfect: 0
dev.pcm.7.buffersize: 0
dev.pcm.7.rec.vchanformat: s16le:2.0
dev.pcm.7.rec.vchanrate: 32000
dev.pcm.7.rec.vchanmode: fixed
dev.pcm.7.rec.vchans: 3
dev.pcm.7.hwvol_mixer: vol
dev.pcm.7.hwvol_step: 5
dev.pcm.7.%parent: uaudio0
dev.pcm.7.%pnpinfo: 
dev.pcm.7.%location: 
dev.pcm.7.%driver: pcm
dev.pcm.7.%desc: USB audio


As a result, application, like OBS Studio, also always show 'USB audio' as a
device name, which can be confusing when multiple USB audio devices are in use.

-- 
You are receiving this mail because:
You are the assignee for the bug.