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

D430 module not detected by realsense viewer #13264

Closed
mprat opened this issue Aug 14, 2024 · 10 comments
Closed

D430 module not detected by realsense viewer #13264

mprat opened this issue Aug 14, 2024 · 10 comments

Comments

@mprat
Copy link

mprat commented Aug 14, 2024


Required Info
Camera Model { D400 }
Firmware Version 5.16.0.1
Operating System & Version Raspbian
Kernel Version (Linux Only) 6.1.21-v8+
Platform Raspberry Pi 4
SDK Version 2.55.1
Language C
Segment Robot

Issue Description

Is there any documentation available for bringing up a D430 module using librealsense? When opening realsense-viewer, I see "device detected" but then the device does not appear in the sidebar as I am expecting. The error I see is below. Of note, the camera module is connected through a USB 2.0 interface, but my understanding is that this should not affect the ability of the viewer to see the camera. I was able to update the firmware to the latest firmware using rs-fw-update no problem, but I cannot find any information on error messages I am seeing below online:

librealsense version: 2.55.1
ds-active-common.cpp:74 - Projector capacity is overrided and disabled by FW
Device PID = 0xad6, Capabilities Vector = []
context.cpp:116 - ... 1-1.2-5
context.cpp:129 - Found 1 RealSense devices (0xfe requested & 0xff from device-mask in settings)
rs.cpp:237 - [rs2_get_option( options:0xec50f820, option_id:28 ) Invalid Value] hwmon command 0x2c( 9 0 0 0 ) failed (response -9= No expected user action)
rs.cpp:237 - [rs2_get_option_range( options:0xec50f820, option:28, min:-1.27913e+33, max:-1.2792e+33, step:-3.12296e+24, def:-3.12296e+24 ) Invalid Value] hwmon command 0x2c( 9 1 0 0 ) failed (response -9= No expected user action)
rs.cpp:3106 - Couldn't refresh devices - hwmon command 0x2c( 9 1 0 0 ) failed (response -9= No expected user action)
@MartyG-RealSense
Copy link
Collaborator

Hi @mprat Which version of the Vision Processor D4 Board are you using with your D430 module, please? A D430 without an RGB sensor should be used with the V1 version of the D4 board.

The other versions of the D4 board are:

V2: used in D435i cameras with the D430 module and an RGB sensor

V3: Used in D455 cameras with the D450 module

V4: Used in D405 cameras with the D401 module

V5: Used in D457 cameras with the D450 module

@mprat
Copy link
Author

mprat commented Aug 15, 2024

@MartyG-RealSense is there a way to check via serial number on the ASIC which version it is? Or is there a marking somewhere that would be visible?

I'm pretty sure this is a V1 version of the board, but I can't find any mention of the version anywhere. It's not clear whether doing rs-enumerate-devices is talking to the D430 or the D4 board, so I'm not sure how to tell from running this command:

./Release/rs-enumerate-devices -v
Device info: 
    Name                          : 	Intel RealSense USB2
    Serial Number                 : 	ffffffffffff
    Firmware Version              : 	5.16.0.1
    Recommended Firmware Version  : 	5.16.0.1
    Physical Port                 : 	1-1.2-5
    Debug Op Code                 : 	15
    Advanced Mode                 : 	YES
    Product Id                    : 	0AD6
    Camera Locked                 : 	YES
    Usb Type Descriptor           : 	2.1
    Product Line                  : 	D400
    Asic Serial Number            : 	210423022821
    Firmware Update Id            : 	210423022821
    Dfu Device Path               : 	

Stream Profiles supported by Stereo Module
 Supported modes:
    (UID.IDX) STREAM      RESOLUTION     FORMAT      FPS
      (1.0)   Infrared    1280x720       UYVY        @ 6 Hz
      (1.0)   Infrared    1280x720       BGRA8       @ 6 Hz
      (1.0)   Infrared    1280x720       RGBA8       @ 6 Hz
      (1.0)   Infrared    1280x720       BGR8        @ 6 Hz
      (1.0)   Infrared    1280x720       RGB8        @ 6 Hz
      (1.0)   Infrared     848x480       UYVY        @ 10 Hz
      (1.0)   Infrared     848x480       UYVY        @ 6 Hz
      (1.0)   Infrared     848x480       BGRA8       @ 10 Hz
      (1.0)   Infrared     848x480       BGRA8       @ 6 Hz
      (1.0)   Infrared     848x480       RGBA8       @ 10 Hz
      (1.0)   Infrared     848x480       RGBA8       @ 6 Hz
      (1.0)   Infrared     848x480       BGR8        @ 10 Hz
      (1.0)   Infrared     848x480       BGR8        @ 6 Hz
      (1.0)   Infrared     848x480       RGB8        @ 10 Hz
      (1.0)   Infrared     848x480       RGB8        @ 6 Hz
      (1.0)   Infrared     640x480       UYVY        @ 30 Hz
      (1.0)   Infrared     640x480       UYVY        @ 15 Hz
      (1.0)   Infrared     640x480       UYVY        @ 6 Hz
      (1.0)   Infrared     640x480       BGRA8       @ 30 Hz
      (1.0)   Infrared     640x480       BGRA8       @ 15 Hz
      (1.0)   Infrared     640x480       BGRA8       @ 6 Hz
      (1.0)   Infrared     640x480       RGBA8       @ 30 Hz
      (1.0)   Infrared     640x480       RGBA8       @ 15 Hz
      (1.0)   Infrared     640x480       RGBA8       @ 6 Hz
      (1.0)   Infrared     640x480       BGR8        @ 30 Hz
      (1.0)   Infrared     640x480       BGR8        @ 15 Hz
      (1.0)   Infrared     640x480       BGR8        @ 6 Hz
      (1.0)   Infrared     640x480       RGB8        @ 30 Hz
      (1.0)   Infrared     640x480       RGB8        @ 15 Hz
      (1.0)   Infrared     640x480       RGB8        @ 6 Hz
      (1.0)   Infrared     640x360       UYVY        @ 30 Hz
      (1.0)   Infrared     640x360       BGRA8       @ 30 Hz
      (1.0)   Infrared     640x360       RGBA8       @ 30 Hz
      (1.0)   Infrared     640x360       BGR8        @ 30 Hz
      (1.0)   Infrared     640x360       RGB8        @ 30 Hz
      (1.0)   Infrared     480x270       UYVY        @ 60 Hz
      (1.0)   Infrared     480x270       UYVY        @ 30 Hz
      (1.0)   Infrared     480x270       UYVY        @ 15 Hz
      (1.0)   Infrared     480x270       UYVY        @ 6 Hz
      (1.0)   Infrared     480x270       BGRA8       @ 60 Hz
      (1.0)   Infrared     480x270       BGRA8       @ 30 Hz
      (1.0)   Infrared     480x270       BGRA8       @ 15 Hz
      (1.0)   Infrared     480x270       BGRA8       @ 6 Hz
      (1.0)   Infrared     480x270       RGBA8       @ 60 Hz
      (1.0)   Infrared     480x270       RGBA8       @ 30 Hz
      (1.0)   Infrared     480x270       RGBA8       @ 15 Hz
      (1.0)   Infrared     480x270       RGBA8       @ 6 Hz
      (1.0)   Infrared     480x270       BGR8        @ 60 Hz
      (1.0)   Infrared     480x270       BGR8        @ 30 Hz
      (1.0)   Infrared     480x270       BGR8        @ 15 Hz
      (1.0)   Infrared     480x270       BGR8        @ 6 Hz
      (1.0)   Infrared     480x270       RGB8        @ 60 Hz
      (1.0)   Infrared     480x270       RGB8        @ 30 Hz
      (1.0)   Infrared     480x270       RGB8        @ 15 Hz
      (1.0)   Infrared     480x270       RGB8        @ 6 Hz
      (1.1)   Infrared 1  1280x720       Y8          @ 6 Hz
      (1.1)   Infrared 1   848x480       Y8          @ 10 Hz
      (1.1)   Infrared 1   848x480       Y8          @ 6 Hz
      (1.1)   Infrared 1   640x480       Y8          @ 30 Hz
      (1.1)   Infrared 1   640x480       Y8          @ 15 Hz
      (1.1)   Infrared 1   640x480       Y8          @ 6 Hz
      (1.1)   Infrared 1   640x360       Y8          @ 30 Hz
      (1.1)   Infrared 1   480x270       Y8          @ 60 Hz
      (1.1)   Infrared 1   480x270       Y8          @ 30 Hz
      (1.1)   Infrared 1   480x270       Y8          @ 15 Hz
      (1.1)   Infrared 1   480x270       Y8          @ 6 Hz
      (0.0)   Depth       1280x720       Z16         @ 6 Hz
      (0.0)   Depth        848x480       Z16         @ 10 Hz
      (0.0)   Depth        848x480       Z16         @ 6 Hz
      (0.0)   Depth        640x480       Z16         @ 30 Hz
      (0.0)   Depth        640x480       Z16         @ 15 Hz
      (0.0)   Depth        640x480       Z16         @ 6 Hz
      (0.0)   Depth        640x360       Z16         @ 30 Hz
      (0.0)   Depth        480x270       Z16         @ 60 Hz
      (0.0)   Depth        480x270       Z16         @ 30 Hz
      (0.0)   Depth        480x270       Z16         @ 15 Hz
      (0.0)   Depth        480x270       Z16         @ 6 Hz
      (0.0)   Depth        256x144       Z16         @ 90 Hz

@mprat
Copy link
Author

mprat commented Aug 15, 2024

Another thing I'm noticing is that I would expect based on the datasheet for a D430 module to have a device ID of 0x0AD4, but I'm seeing the device ID of 0x0AD6, and can't find mention of that in the D400 datasheet.

@mprat
Copy link
Author

mprat commented Aug 15, 2024

Additionally, the image formats I'm seeing from USB 2.0 don't match the documentation in the datasheet. I clearly have something physically wrong with the setup, but I'm not sure how I would know which piece is in the incorrect piece!

image

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Aug 15, 2024

If your D4 board has a sticker on it, the V1 version should have the code number J32139-120

image

I see that your serial number is listed by rs-enumerate-devices as ffffffffffff. This is a certain sign of a problem. In an example of this issue at #7337 (comment) the RealSense user in that case identified a bent connector on the USB cable as the cause of their particular serial number problem.

The PID 0AD6 tends to appear when there is a problem with identifying the camera name, like the Intel RealSense USB2 case (like your camera ID) at the link below.

https://support.intelrealsense.com/hc/en-us/community/posts/360033237894/comments/360008292933

In regard to rs-enumerate-devices, the Device Info comes from the D4 board. The supported profiles comes from querying the sensor components, which are the left and right IR sensors on the D430 module in this case. The RGB sensor would also be queried if one was present.

The firmware driver identifies the camera and provides the appropriate camera name based on the components that the firmware is able to detect. For example, a D430 with a D4 V2 board would identify as D430i because D4 V2 had an IMU component but there was not an RGB sensor present (so could not be identified as D435i because of the lack of RGB).

The profiles listed by rs-enumerate-devices look consistent with what I would expect from a D430 in USB2 mode. 640x480 can be streamed at 30 FPS, but 1280x720 is limited to only 6 FPS maximum.

@mprat
Copy link
Author

mprat commented Aug 15, 2024

Thanks for the quick response - we'll confirm that the D4 board is in fact a V1, and do some checking on the cables and see if that resolves our issue.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Aug 15, 2024

You are very welcome. If the D4 board is a V1, it is worth checking the interposer (the join between the two boards) in particular. If you constructed your own interposer cable then check the wiring, and if it is a pre-made one purchased from the RealSense Store then confirm that both ends of the cable are fully seated in the 50-pin connectors on the boards.

On the D4 side of the connection, the interposer cable needs to be in the connector on the upper edge and not the one on the side, which is designed for a tracking module or RGB sensor and not a depth module.

image

@MartyG-RealSense
Copy link
Collaborator

Hi @mprat Do you have an update about this case that you can provide, please? Thanks!

@mprat
Copy link
Author

mprat commented Aug 25, 2024

Hi @mprat Do you have an update about this case that you can provide, please? Thanks!

This ended up being a cable (or two) that were not properly seeded! Thank you for the quick reply; I'll close the issue since it has been resolved.

@mprat mprat closed this as completed Aug 25, 2024
@MartyG-RealSense
Copy link
Collaborator

It's great to hear that you found the cause of your problem. Thanks very much for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants