-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Conversation
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not -ge
?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we had another patch for URB:
2149152#diff-5768416efacf0618fd61abac91bc68f8aaf9c50d0d3fa1dab6d12c5ccc2ef842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably L515-related
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>
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