My D456 can't be found by realsense viewer
My device is jetson orin NX Linux Ubuntu 22.04.5 LTSjetson.
At first , I can find D456 by realsense viewer.
Then I try to use it with ROS , but it can't support ROS , so I use CheatGPT try to help me solve the problem.
However , I don't know what I have done , it can't be found by realsense viewer anymore.
I have another depth camera "D435i" . It can still be found by realsense viewer.
I'm sure my jetson orin NX can find D456.
lsusb
Bus 002 Device 003: ID 8086:0b5c Intel Corp. Intel(R) RealSense(TM) Depth Module 456
Bus 002 Device 002: ID 0bda:0489 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 0bda:5489 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M
|__ Port 3: Dev 3, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 3, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 3, If 2, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 3, If 3, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 3, If 4, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 3, If 5, Class=Human Interface Device, Driver=usbhid, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
dmesg | grep realsense
[ 3.260137] hid-generic 0003:8086:0B5C.0002: hidraw1: USB HID v1.10 Device [Intel(R) RealSense(TM) Depth Module 456 Intel(R) RealSense(TM) Depth Module 456 ] on usb-3610000.usb-1.3/input5
[ 9.566283] usb 2-1.3: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Module 456 (8086:0b5c)
[ 9.608884] input: Intel(R) RealSense(TM) Depth Mo as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.3/2-1.3:1.0/input/input9
[ 9.611119] usb 2-1.3: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Module 456 (8086:0b5c)
rs-enumerate-devices
06/08 01:52:01,541 ERROR [281473630094432] (rs.cpp:256) [rs2_create_device( info_list:0xaaaae80a2930, index:0 ) UNKNOWN] bad optional access
06/08 01:52:01,541 ERROR [281473630094432] (rs.cpp:256) [rs2_delete_device( device:nullptr ) UNKNOWN] null pointer passed for argument "device"
Could not create device - bad optional access . Check SDK logs for details
No device detected. Is it plugged in?
I think I did something wrong that make my D456 firmware fail.
How can I solve the problem?
-
Hello, I would advise against using AI tools such as ChatGPT for finding RealSense instructions because the AI can produce incorrect information that can cause problems. For example, if the AI instructions advised to downgrade the firmware driver of a D456 to the old version 5.13.0.50 then doing that would stop the D456 from working because the minimum firmware that works with D456 is the newer 5.15.1.0 version.
Do you recall if you performed a firmware downgrade to an older version, please?
If the firmware has been downgraded to a version older than 5.15.1.0 then it is a problem that is unfortunately not able to be fixed with software. If you purchased the camera within the past 12 months then it should still be within the warranty period and so you can contact the retailer that you purchased the D456 from to enquire about a replacement under warranty.
-
It is good to hear that you have the latest 5.17.0.10 firmware and have not downgraded it.
Which version of the RealSense SDK are you using, please? The 5.17.0.10 firmware is designed to be used with SDK version 2.56.4 and 2.56.5.
Are RealSense programs such as rs-enumerate-devices and realsense-viewer able to access the camera if you launch the programs in 'sudo' admin permissions mode like this:
sudo rs-enumerate-devices
sudo realsense-viewer
-
I'm pleased to hear that using sudo mode enabled your D456 to be accessed.
Some users have found that removing all previous installations of librealsense from their computer and then installing it again (to ensure that there is only one installation of the SDK on the computer) has resolved the problem of the camera only being detected when using sudo mode.
A RealSense user with a Jetson AGX Orin shares the procedure that they used to solve the problem here and also provided advice on what they did to resolve their ROS problem:
https://github.com/IntelRealSense/librealsense/issues/13671#issuecomment-2939174195
I am not familiar with configuring groups, such as plugdev. However, a user who could not detect the camera without sudo and had set plugdev as their group resolved the problem by following the advice in the above link.
Please sign in to leave a comment.
Comments
5 comments