[Bug 294803] snd_uaudio: Add usb_quirk to select revision of USB audio class device definition

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Apr 2026 07:49:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294803

            Bug ID: 294803
           Summary: snd_uaudio:  Add usb_quirk to select revision of USB
                    audio class device definition
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: tatsuki_makino@hotmail.com

Created attachment 270129
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270129&action=edit
test patch for stable/14

I have had a USB DAC that cannot be used with FreeBSD for a long time :)
I happened to try something I thought of today, and it started making sounds.
I am attaching the patch, so please investigate with the other non-functional
USB DACs as well.
My USB DAC is S○ny NW-A50 series :)
The patch is for stable/14, but I think it can be applied as it is to the
current version as well, with only an offset.

How to use.
Apply this patch and reboot.
Connect the device and execute the following command.

usbconfig -d 0.7 add_quirk UQ_AU_FORCE_REV_1
usbconfig -d 0.7 reset

The following quirk has been added.

VID=0x054c PID=0x0b8c REVLO=0x0100 REVHI=0x0100 QUIRK=UQ_AU_FORCE_REV_1

This patch outputs the following debug logs at this time.

kernel: uaudio_mixer_fill_info: forces audio rev to 1.00 instead of 2.00

FreeBSD starts to mistakenly recognize the ugen0.7 device as a rev 1.00 device.

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