-
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: ipu6: fix media controller index #11969
Conversation
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>
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@@ -1,4 +1,12 @@ | |||
#!/bin/bash | |||
# Dependency: v4l-utils |
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.
Should we rename the file name to rs_d457_bind
or rs_mipi_bind
to be generic?
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.
no, bind script is for ipu6 only!
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 thought you want to align Jetson D457 to it, no?
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.
only rs-enum script needed for jetson and that is another commit waiting for approval of that PR
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. |
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.
LGTM
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.