Skip to content

scripts: ipu6: fix media controller index - #11969

Merged
Nir-Az merged 2 commits into
realsenseai:adl-pfrom
dmipx:adl-p-enum-fix
Jul 20, 2023
Merged

scripts: ipu6: fix media controller index#11969
Nir-Az merged 2 commits into
realsenseai:adl-pfrom
dmipx:adl-p-enum-fix

Conversation

@dmipx

@dmipx dmipx commented Jul 5, 2023

Copy link
Copy Markdown

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
Comment thread scripts/rs_ipu6_d457_bind.sh
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
Comment thread scripts/rs-enum.sh
@@ -1,4 +1,12 @@
#!/bin/bash
# Dependency: v4l-utils

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.

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

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.

no, bind script is for ipu6 only!

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 thought you want to align Jetson D457 to it, no?

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.

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

@Nir-Az

Nir-Az commented Jul 17, 2023

Copy link
Copy Markdown
Collaborator

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

@Nir-Az Nir-Az left a comment

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.

LGTM

@Nir-Az
Nir-Az merged commit ba793d1 into realsenseai:adl-p Jul 20, 2023
@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.

2 participants