Skip to content

scripts: support for kernel 6.2 - #12096

Merged
Nir-Az merged 3 commits into
realsenseai:developmentfrom
dmipx:linux-6.2
Aug 14, 2023
Merged

Nir-Az merged 3 commits into
realsenseai:developmentfrom
dmipx:linux-6.2

Conversation

@dmipx

@dmipx dmipx commented Aug 13, 2023

Copy link
Copy Markdown

Add formats:
Y16I: UVC_GUID_FORMAT_Y16I, V4L2_PIX_FMT_Y16I
RAW8: UVC_GUID_FORMAT_RAW8, (V4L2_PIX_FMT_GREY)
RW16: UVC_GUID_FORMAT_RW16, V4L2_PIX_FMT_RW16,
D16: UVC_GUID_FORMAT_D16, (V4L2_PIX_FMT_Z16)
Skip power-line-frequency patch for kernel 6

Add metadata:
D410
D415
D430
D4M
D435
D435i
D405
D455

Change status URB 16->32

@dmipx
dmipx requested review from Nir-Az and ev-mp August 13, 2023 07:57
[ $k_maj_min -gt 515 ] && skip_hid_patch=1
[ $k_maj_min -eq 515 ] && [ $k_tick -ge 72 ] && skip_hid_patch=1
# For kernel versions 6+ powerline frequency already applied
[ $k_maj_min -eq 602 ] && skip_plf_patch=1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not -ge?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

#define UVC_MAX_PACKETS 32
/* Maximum status buffer size in bytes of interrupt URB. */
-#define UVC_MAX_STATUS_SIZE 16
+#define UVC_MAX_STATUS_SIZE 32

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am curios, why do we need this change?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ev-mp any idea what information we have in URB status?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably L515-related

@Nir-Az
Nir-Az merged commit f6a6889 into realsenseai:development Aug 14, 2023
Dmitry Perchanov added 3 commits August 14, 2023 13:42
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@dmipx
dmipx deleted the linux-6.2 branch January 7, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants