From: Takashi Iwai <tiwai@suse.de>
To: Dicheng Wang <wangdicheng123@hotmail.com>
Cc: perex@perex.cz, tiwai@suse.com, sdoregor@sdore.me,
john-linux@pelago.org.uk, hahnjo@hahnjo.de,
wangdicheng@kylinos.cn, connerknoxpublic@gmail.com,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH -next] The USB audio driver does not contain the VID and PID of this sound card, so the driver is not loaded.
Date: Fri, 02 Dec 2022 14:15:14 +0100 [thread overview]
Message-ID: <87iliuoskd.wl-tiwai@suse.de> (raw)
In-Reply-To: <SG2PR02MB5878D3E800F2D571A7C2234F8A179@SG2PR02MB5878.apcprd02.prod.outlook.com>
On Fri, 02 Dec 2022 09:29:08 +0100,
Dicheng Wang wrote:
>
> From: wangdicheng <wangdicheng@kylinos.cn>
>
> Add relevant information to the quirks-table.h file.
> The test passes and the sound source file plays normally.
>
> Cc: stable@vger.kernel.org
> Signed-off-by: wangdicheng <wangdicheng@kylinos.cn>
The code change itself looks good, but could you fix the patch subject
line? It should have the proper prefix (in this case something like
"ALSA: usb-audio: Blah blah..."), and the text is unnecessarily long.
Please make it concise.
Also, could you give the lsusb -v output of the corresponding device?
Just to make sure. If possible, it'd be better to use the existing
macro like USB_DEVICE_VENDOR_SPEC() or USB_AUDIO_DEVICE() instead.
thanks,
Takashi
> ---
> sound/usb/quirks-table.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
> index 874fcf245747..1fb183895da0 100644
> --- a/sound/usb/quirks-table.h
> +++ b/sound/usb/quirks-table.h
> @@ -2802,6 +2802,13 @@ YAMAHA_DEVICE(0x7010, "UB99"),
> .idProduct = 0x1020,
> },
>
> +/* Ktmicro Usb_audio device */
> +{
> + .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
> + .idVendor = 0x31b2,
> + .idProduct = 0x0011,
> +},
> +
> /* QinHeng devices */
> {
> USB_DEVICE(0x1a86, 0x752d),
> --
> 2.25.1
>
prev parent reply other threads:[~2022-12-02 13:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 8:29 [PATCH -next] The USB audio driver does not contain the VID and PID of this sound card, so the driver is not loaded Dicheng Wang
2022-12-02 13:15 ` Takashi Iwai [this message]
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=87iliuoskd.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=connerknoxpublic@gmail.com \
--cc=hahnjo@hahnjo.de \
--cc=john-linux@pelago.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=sdoregor@sdore.me \
--cc=stable@vger.kernel.org \
--cc=tiwai@suse.com \
--cc=wangdicheng123@hotmail.com \
--cc=wangdicheng@kylinos.cn \
/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