Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts: support for kernel 6.2 #12096

Merged
merged 3 commits into from Aug 14, 2023
Merged

Conversation

dmipx
Copy link
Contributor

@dmipx dmipx commented Aug 13, 2023

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
@@ -80,6 +81,8 @@ k_tick=$(echo ${kernel_version[2]} | awk -F'-' '{print $2}')
# For version 5.15.0-72 hid patch already applied
[ $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
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
Contributor 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
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
Contributor 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
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

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 IntelRealSense:development Aug 14, 2023
15 of 16 checks passed
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.

None yet

3 participants