Linux Media Controller development
 help / color / mirror / Atom feed
From: 任海 <rh_king@163.com>
To: "Ricardo Ribalda" <ribalda@chromium.org>
Cc: "Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
	linux-media@vger.kernel.org, "Hans de Goede" <hansg@kernel.org>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re:Re: [PATCH] media: uvcvideo: Add quirk for Luxvisions RGB Camera (30c9:0122)
Date: Fri, 4 Sep 2026 16:37:52 +0800 (CST)	[thread overview]
Message-ID: <42a544a1.3e7.1a06b912fdb.Coremail.rh_king@163.com> (raw)
In-Reply-To: <CANiDSCse5+Ke-Z2321F_QHJZX2suCKxnBy5WuNHE3m1wjoxX-Q@mail.gmail.com>

Hi&nbsp;Ricardo,
Thanks&nbsp;for&nbsp;your&nbsp;review.&nbsp;This&nbsp;is&nbsp;the&nbsp;original&nbsp;output&nbsp;of&nbsp;'lsusb'
testing@fedora:~$&nbsp;lsusb
Bus&nbsp;001&nbsp;Device&nbsp;001:&nbsp;ID&nbsp;1d6b:0002&nbsp;Linux&nbsp;Foundation&nbsp;2.0&nbsp;root&nbsp;hub
Bus&nbsp;002&nbsp;Device&nbsp;001:&nbsp;ID&nbsp;1d6b:0003&nbsp;Linux&nbsp;Foundation&nbsp;3.0&nbsp;root&nbsp;hub
Bus&nbsp;003&nbsp;Device&nbsp;001:&nbsp;ID&nbsp;1d6b:0002&nbsp;Linux&nbsp;Foundation&nbsp;2.0&nbsp;root&nbsp;hub
Bus&nbsp;003&nbsp;Device&nbsp;002:&nbsp;ID&nbsp;30c9:0122&nbsp;Luxvisions&nbsp;Innotech&nbsp;Limited&nbsp;Integrated&nbsp;RGB&nbsp;Camera
Bus&nbsp;003&nbsp;Device&nbsp;011:&nbsp;ID&nbsp;06cb:00f9&nbsp;Synaptics,&nbsp;Inc.&nbsp;
Bus&nbsp;003&nbsp;Device&nbsp;012:&nbsp;ID&nbsp;17ef:62af&nbsp;Lenovo&nbsp;ThinkPad&nbsp;X13&nbsp;Detachable&nbsp;Gen&nbsp;1
Bus&nbsp;004&nbsp;Device&nbsp;001:&nbsp;ID&nbsp;1d6b:0003&nbsp;Linux&nbsp;Foundation&nbsp;3.0&nbsp;root&nbsp;hub
在 2026-09-03 16:59:59,"Ricardo Ribalda" <ribalda@chromium.org> 写道:
Hi Kean

Could you provide the whole output of lsusb -v 30c9:0122

Thanks!

On Thu, 3 Sept 2026 at 10:58, Kean Ren <rh_king@163.com> wrote:
>
> The device binds cleanly but delivers no image data; USB autosuspend is
> suspending the streaming endpoint. Disable autosuspend for it.
>
> Issue found on Lenovo ThinkPad X13 (codename Zelda, Intel); confirmed
> working with this quirk.
>
> Tested-by: Kean Ren <rh_king@163.com>
> Signed-off-by: Kean Ren <rh_king@163.com>
> ---
>  drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
> index e289cc71ba98..32bf353013a1 100644
> --- a/drivers/media/usb/uvc/uvc_driver.c
> +++ b/drivers/media/usb/uvc/uvc_driver.c
> @@ -3216,6 +3216,15 @@ static const struct usb_device_id uvc_ids[] = {
>           .bInterfaceSubClass   = 1,
>           .bInterfaceProtocol   = 0,
>           .driver_info          = UVC_INFO_META(V4L2_META_FMT_D4XX) },
> +       /* Luxvisions Innotech Integrated RGB Camera (Lenovo laptops) */
> +       { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
> +                               | USB_DEVICE_ID_MATCH_INT_INFO,
> +         .idVendor             = 0x30c9,
> +         .idProduct            = 0x0122,
> +         .bInterfaceClass      = USB_CLASS_VIDEO,
> +         .bInterfaceSubClass   = 1,
> +         .bInterfaceProtocol   = 0,
> +         .driver_info          = UVC_INFO_QUIRK(UVC_QUIRK_DISABLE_AUTOSUSPEND) },
>         /* Intel Realsense D435i depth camera */
>         { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
>                                 | USB_DEVICE_ID_MATCH_INT_INFO,
> --
> 2.40.0
>
>


-- 
Ricardo Ribalda

  reply	other threads:[~2026-09-04  8:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03  8:11 [PATCH] media: uvcvideo: Add quirk for Luxvisions RGB Camera (30c9:0122) Kean Ren
2026-09-03  8:59 ` Ricardo Ribalda
2026-09-04  8:37   ` 任海 [this message]
2026-09-04  8:40     ` Ricardo Ribalda
2026-09-04  9:07       ` rh_king
2026-09-04  9:15 ` Ricardo Ribalda

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=42a544a1.3e7.1a06b912fdb.Coremail.rh_king@163.com \
    --to=rh_king@163.com \
    --cc=hansg@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=ribalda@chromium.org \
    /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