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

rs-enum: fix non-zero video index #12720

Merged
merged 2 commits into from Mar 4, 2024

Conversation

dmipx
Copy link
Contributor

@dmipx dmipx commented Mar 3, 2024

scripts: rs-enum: fix non-zero video index

Resolved: SDK Segfault when D457 is mixed with 3rd party USB or GMSL Camera

Tracked-by: [RSDSO-19101]

Co-authored-by: Yusheng Hsu yusheng.hsu@intel.com

dmipx and others added 2 commits March 3, 2024 16:29
Resolved: SDK Segfault when D457 is mixed with 3rd party USB or GMSL Camera

Tracked-by: <RSDSO-19101>

Co-authored-by: Yusheng Hsu <yusheng.hsu@intel.com>
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@dmipx dmipx requested a review from Nir-Az March 3, 2024 14:40
@Nir-Az Nir-Az requested a review from hsuys March 3, 2024 15:39
Copy link
Contributor

@hsuys hsuys left a comment

Choose a reason for hiding this comment

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

LGTM.
Fixed the issue when starting video node index is non zero or factor of six.

nvidia@ubuntu:~/librealsense$ sudo ./scripts/rs-enum.sh
[sudo] password for nvidia:
Bus     Camera  Sensor  Node Type       Video Node      RS Link
mipi    0       depth   Streaming       /dev/video4     /dev/video-rs-depth-0
mipi    0       depth   Metadata        /dev/video5     /dev/video-rs-depth-md-0
mipi    0       color   Streaming       /dev/video6     /dev/video-rs-color-0
mipi    0       color   Metadata        /dev/video7     /dev/video-rs-color-md-0
mipi    0       ir      Streaming       /dev/video8     /dev/video-rs-ir-0
mipi    0       imu     Streaming       /dev/video9     /dev/video-rs-imu-0
mipi    1       depth   Streaming       /dev/video10    /dev/video-rs-depth-1
mipi    1       depth   Metadata        /dev/video11    /dev/video-rs-depth-md-1
mipi    1       color   Streaming       /dev/video12    /dev/video-rs-color-1
mipi    1       color   Metadata        /dev/video13    /dev/video-rs-color-md-1
mipi    1       ir      Streaming       /dev/video14    /dev/video-rs-ir-1
mipi    1       imu     Streaming       /dev/video15    /dev/video-rs-imu-1

@Nir-Az Nir-Az merged commit 1f4f630 into IntelRealSense:development Mar 4, 2024
17 checks passed
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