Re: Re: [PATCH] media: uvcvideo: Add quirk for Luxvisions RGB Camera (30c9:0122)
From: Ricardo Ribalda
Date: Fri Sep 04 2026 - 04:46:24 EST
Hi.
I think something went wrong when you pasted the text and also when you run it.
checkout: https://lore.kernel.org/linux-media/CANiDSCse5+Ke-Z2321F_QHJZX2suCKxnBy5WuNHE3m1wjoxX-Q@xxxxxxxxxxxxxx/T/#t
You seem to have run `lsusb`, not `lsusb -v -d 30c9:0122`
Can you try again?
Thanks!
On Fri, 4 Sept 2026 at 10:38, 任海 <rh_king@xxxxxxx> wrote:
>
> Hi Ricardo,
> Thanks for your review. This is the original output of 'lsusb'
> testing@fedora:~$ lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 002: ID 30c9:0122 Luxvisions Innotech Limited Integrated RGB Camera
> Bus 003 Device 011: ID 06cb:00f9 Synaptics, Inc.
> Bus 003 Device 012: ID 17ef:62af Lenovo ThinkPad X13 Detachable Gen 1
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> 在 2026-09-03 16:59:59,"Ricardo Ribalda" <ribalda@xxxxxxxxxxxx> 写道:
> 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@xxxxxxx> 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@xxxxxxx>
> > Signed-off-by: Kean Ren <rh_king@xxxxxxx>
> > ---
> > 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
--
Ricardo Ribalda