Skip to content

Conversation

@dmipx
Copy link

@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 [email protected]

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 <[email protected]>
Signed-off-by: Dmitry Perchanov <[email protected]>
Signed-off-by: Dmitry Perchanov <[email protected]>
@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
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