From patchwork Thu Aug 29 12:17:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amil Sanan X-Patchwork-Id: 13783086 Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7AAD18D63A for ; Thu, 29 Aug 2024 12:18:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724933888; cv=none; b=idc/S+5ECdauM2mzS62zmPMq+WTJJ/BwmVjvV021JGWhCGi5eImrvVNNLcn2wo95GUaMgLnWktUXo9jEbKC9urDF0iUrdhja0o72kc/vS4mf4b6b+UGRVyts9RmDW0Z5p7ftitO9NP2SVwDOHxdEPe3FYXT1gLok7nCcmL77d80= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724933888; c=relaxed/simple; bh=NAleUao3rBpGJ0QyQE7nvTOTnEbsHg7lJWbfAIByRcc=; h=MIME-Version:From:Date:Message-ID:Subject:To:Content-Type; b=o9F98/lGOi4YDPbA+ZRAJC3yjmeRFWzI8Yvj9/ApKrRVPrbhHfRBBsyuu+3yHZj/TxVFTJheBHnyUnE8eVtH0bwzu6xRRYrfIDyAS3Tt6MBG5Pb9cP8qbyqq6virkD0zKe3M3tW8jGpYVHsL2JeLUMssdkh5zcX+68LhOjFVPyE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=H+RHcipT; arc=none smtp.client-ip=209.85.219.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H+RHcipT" Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6bf7a2035d9so16072866d6.1 for ; Thu, 29 Aug 2024 05:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724933886; x=1725538686; darn=vger.kernel.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=CrSHk59d04R7WMEhdAUL7SdkbVbNd0xSx4vw38IFvvU=; b=H+RHcipTMMyrOd5M7yuZfolUU/9WOjf/odTBDm+A56sgQAoha/7SjgGYnMPva4M6R7 7SzP+7OuIkP1JmEMH9WbqNamCmJWVI1U3CC4diZcuX9bt4BbUw9WpbSFKYRVjU/GLW8V QWSsqlw/+eU35YxBV1/S2zKEMuikmcfZOZNUb9/5IxWBUCf3lRSnN+Durl7VkRuL6hqK AWttvFWieIeVVqDKRuUuMvucqSXLxDDIvgMfUcxyPlFpOcECZw9hwad+AZMZlOfCMyEE I33QNga53f0yDGChgsbxWK9UsWj3VLwluLz0uJrRvsDFqJNUPu+0XemN/VFnN5gbP4ud bHRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724933886; x=1725538686; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CrSHk59d04R7WMEhdAUL7SdkbVbNd0xSx4vw38IFvvU=; b=hGkXNet6iAJANaspOEJACUDesGcrwevmcBb8ZtNuKdUXMwPEHxzgU7OyTpBUpdQLV7 qNopX40eJgtIxrCYG+tsyPHNq8oBmB3Rv4DTwSJW8E+Wy9qU0SmsuMS1KmPyvmWhBvlt +rBFkbb0YsHUm6rkvophgViR+ko5a46NPCSnFadzbEmxLH3qcqUL8amermfKD+mH5f8q 49IZUj4Bc4k2gDaFgJ38budlB3YI4vw77exQkub+SUvEYZKcyNai/V10swtMIHuuPUo4 eSa03C49L9ysYR+zDj1eHl9P9vvnejcbKIuMT+mtAIGkKEkXPBgvqVhkv/LqxS1QzGMH XeUg== X-Forwarded-Encrypted: i=1; AJvYcCUKEg/G3JLULBZBJsJ9sfjQCgSZQU/TWZJtI9s5vWGGXHHg59MFe6i+vUcrT1pIRID1yi7nu9Yq6VGeFQ==@vger.kernel.org X-Gm-Message-State: AOJu0Yw4eg3yj6ntNPut4BsltH/jevOHHyp6nHB5xWA5EB2NhCrkxE2G awqSrBtjD2mRPVWfhJqw8kYFEhUJ6PdP2l2UFZkFE9Gbt6n4QwJXxxq7eMl82nyBCIi6psf4KtI kzrXEky6moUeIf7b4PVZLc3d8I3RBisim X-Google-Smtp-Source: AGHT+IEtgdgRFGB8fqzYRs/YzoXhF4Ip9YuTadgqdbvFCkjjcQefV6rN98vMOJCMNxSnMVPUV6JSHM565vliGDzrHws= X-Received: by 2002:a05:6214:5344:b0:6c1:84ce:8f31 with SMTP id 6a1803df08f44-6c341b8f382mr20692756d6.0.1724933885637; Thu, 29 Aug 2024 05:18:05 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Amil Sanan Date: Thu, 29 Aug 2024 17:47:53 +0530 Message-ID: Subject: added a new device in uvc_video.c To: laurent.pinchart@ideasonboard.com, linux-media@vger.kernel.org, dan.scally@ideasonboard.com it is a webcam on new 'acer aspire 7' laptop From d18ad3bf9bbc93da3eeb0ca4ea6598955ac05a99 Mon Sep 17 00:00:00 2001 From: amilsanan Date: Thu, 29 Aug 2024 17:38:25 +0530 Subject: [PATCH] add a device in uvc_driver Signed-off-by: amilsanan --- 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 f0febdc08..1a3229ab6 100644 --- a/drivers/media/usb/uvc/uvc_driver.c +++ b/drivers/media/usb/uvc/uvc_driver.c @@ -2441,6 +2441,15 @@ static const struct usb_device_id uvc_ids[] = { .driver_info = (kernel_ulong_t)&(const struct uvc_device_info){ .uvc_version = 0x010a, } }, + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x0408, + .idProduct = 0x4033, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = UVC_PC_PROTOCOL_15, + .driver_info = (kernel_ulong_t) &(const struct uvc_device_info ) + {.uvc_version = 0x010a, } }, /* LogiLink Wireless Webcam */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, -- 2.43.0