From: Takashi Iwai <tiwai@suse.de>
To: Lennert Van Alboom <lennert@vanalboom.org>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: USB DAC broken since commit bf6313a0ff766925462e97b4e733d5952de02367 (5.10.0-rc5)
Date: Fri, 26 Aug 2022 08:05:04 +0200 [thread overview]
Message-ID: <87bks7leun.wl-tiwai@suse.de> (raw)
In-Reply-To: <JGbq2exwKdQ4T8GQCI5YWzGredZVbYtBOxlnBN0ROtba40PvCdEKfz2mKzClqejgZMck374nGQyEIwzjiBi6sKYYNnJgKp26n1-_j6GT3hw=@vanalboom.org>
On Thu, 25 Aug 2022 22:52:02 +0200,
Lennert Van Alboom wrote:
>
> ------- Original Message -------
> On Thursday, August 25th, 2022 at 12:58, Takashi Iwai <tiwai@suse.de> wrote:
> >
>
> > There are lots of workarounds for the buggy USB audio firmware, and
> > the latest kernel allows to enable the quirks via quirk_flags module
> > option of snd-usb-audio driver. See
> > Documentation/sound/alsa-configuration.rst.
> > You can try the bit 16 at first, for example.
> >
>
> >
>
> > Takashi
>
>
> Thanks. I tried fiddling around with it for a bit but so far limited success. I wasn't sure about the arguments or counting order of quirk_flags (some tidbits show it as hex, others as an array of booleans (?)) so tried a few different things. I have no other USB audio devices so didn't see a need to specify vendor or product ID while testing.
>
>
> # modprobe snd_usb_audio quirk_flags=0x10000
> # modprobe snd_usb_audio quirk_flags=0x1
> # modprobe snd_usb_audio quirk_flags=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
>
> No success with any, so far. Is there a way to make the process more verbose? I can see from the lights on the DAC that the initialisation works differently if I mess with the different quirks but that's not visible in syslog or outcome.
This option is passed per card instance, as the driver may hold
multiple cards. Check your /proc/asound/cards. The first argument of
quirk_flags is applied to the first USB-audio card, the second to the
second USB audio device, and so on.
At best, give alsa-info.sh output before and after applying the
quirk. Run the script with --no-upload option and attach the
outputs.
And, as a reference, you can see the existing quirk tables in
sound/usb/quirks.c.
Takashi
next prev parent reply other threads:[~2022-08-26 6:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 10:45 USB DAC broken since commit bf6313a0ff766925462e97b4e733d5952de02367 (5.10.0-rc5) Lennert Van Alboom
2022-08-25 10:58 ` Takashi Iwai
2022-08-25 20:52 ` Lennert Van Alboom
2022-08-26 6:05 ` Takashi Iwai [this message]
2022-08-26 9:07 ` [PATCH] " Lennert Van Alboom
2022-08-26 15:20 ` Takashi Iwai
2022-08-27 17:46 ` Lennert Van Alboom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bks7leun.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=lennert@vanalboom.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox