Skip to content

Commit 726ee47

Browse files
authored
PR #14006 from remibettan: d421 added in patches for jetson 5.0.2
2 parents 1e34346 + 991fe75 commit 726ee47

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

scripts/Tegra/LRS_Patches/02-realsense-metadata-L4T-5.0.2.patch

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
From c6f4858989b38845aa2a5fda70c52da7fc50b85a Mon Sep 17 00:00:00 2001
1+
From ebead177b193c29765c36b5d9b2f2a7defa7adaa Mon Sep 17 00:00:00 2001
22
From: Dmitry Perchanov <dmitry.perchanov@intel.com>
33
Date: Thu, 24 Nov 2022 18:57:46 +0200
44
Subject: [PATCH] Enabling UVC Metadata attributes with L4T 5.0.2 Ubuntu 20.04.
55
Kernel 5.10
66

77
---
8-
drivers/media/usb/uvc/uvc_driver.c | 252 +++++++++++++++++++++++++++++
9-
1 file changed, 252 insertions(+)
8+
drivers/media/usb/uvc/uvc_driver.c | 261 +++++++++++++++++++++++++++++
9+
1 file changed, 261 insertions(+)
1010

1111
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
12-
index 8ed019b26..df3bb603a 100644
12+
index 8ed019b26e76..443bfedb516b 100644
1313
--- a/drivers/media/usb/uvc/uvc_driver.c
1414
+++ b/drivers/media/usb/uvc/uvc_driver.c
15-
@@ -3350,6 +3350,258 @@ static const struct usb_device_id uvc_ids[] = {
15+
@@ -3350,6 +3350,267 @@ static const struct usb_device_id uvc_ids[] = {
1616
.bInterfaceSubClass = 1,
1717
.bInterfaceProtocol = 0,
1818
.driver_info = UVC_INFO_META(V4L2_META_FMT_D4XX) },
@@ -267,6 +267,15 @@ index 8ed019b26..df3bb603a 100644
267267
+ .bInterfaceClass = USB_CLASS_VIDEO,
268268
+ .bInterfaceSubClass = 1,
269269
+ .bInterfaceProtocol = 0,
270+
+ .driver_info = UVC_INFO_META(V4L2_META_FMT_D4XX) },
271+
+ /* Intel D421 */
272+
+ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
273+
+ | USB_DEVICE_ID_MATCH_INT_INFO,
274+
+ .idVendor = 0x8086,
275+
+ .idProduct = 0x1155,
276+
+ .bInterfaceClass = USB_CLASS_VIDEO,
277+
+ .bInterfaceSubClass = 1,
278+
+ .bInterfaceProtocol = 0,
270279
+ .driver_info = UVC_INFO_META(V4L2_META_FMT_D4XX) },
271280
/* Generic USB Video Class */
272281
{ USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, UVC_PC_PROTOCOL_UNDEFINED) },

0 commit comments

Comments
 (0)