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: ipu6: fix media controller index #11969

Merged
merged 2 commits into from Jul 20, 2023

Conversation

dmipx
Copy link
Contributor

@dmipx dmipx commented Jul 5, 2023

The media controller index used by media-ctl command by default is 0. In case system boot with USB camera plugged in,
the ipu6 media controller will be not zero.

This will fix default media-ctl index.
HSD: 13010862930
IPU6 not registering with media framework with USB camera plugged in on boot.

The media controller index used by media-ctl command by default is 0.
In case system boot with USB camera plugged in,
the ipu6 media controller will be not zero.

This will fix default media-ctl index.
HSD: 13010862930
IPU6 not registering with media framework with USB camera plugged in on boot.

Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@dmipx dmipx requested a review from Nir-Az July 5, 2023 13:49
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@@ -1,4 +1,12 @@
#!/bin/bash
# Dependency: v4l-utils
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we rename the file name to rs_d457_bind or rs_mipi_bind to be generic?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, bind script is for ipu6 only!

Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought you want to align Jetson D457 to it, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

only rs-enum script needed for jetson and that is another commit waiting for approval of that PR

@Nir-Az
Copy link
Collaborator

Nir-Az commented Jul 17, 2023

Note that for merging to development we will need to edit udev_rules or something that will automate this script to run on every system boot.
(Manual + udev-rules debians)

@dmipx dmipx requested a review from Nir-Az July 20, 2023 12:30
Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

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

LGTM

@Nir-Az Nir-Az merged commit ba793d1 into IntelRealSense:adl-p Jul 20, 2023
15 of 16 checks passed
@dmipx dmipx deleted the adl-p-enum-fix branch January 7, 2024 07:23
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

2 participants