Skip to content

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

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
dmipx:rs-enum-non-zero
Mar 4, 2024
Merged

Nir-Az merged 2 commits into
realsenseai:developmentfrom
dmipx:rs-enum-non-zero

Conversation

@dmipx

@dmipx dmipx commented Mar 3, 2024 •

Copy link
Copy Markdown

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

Dmitry Perchanov 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

@hsuys hsuys left a comment

Copy link
Copy Markdown
Contributor

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 realsenseai:development Mar 4, 2024
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.

3 participants