Sporadic errors, only workaround is to physically reconnect camera
| Required Info | |
|---|---|
| Camera Model | D400 |
| Firmware Version | 05.08.09.00 |
| Operating System & Version | Ubuntu 16 |
| Kernel Version (Linux Only) | 4.4.0-116-generic |
| Platform | Intel NUC |
| SDK Version | 2.10.0 |
Hi,
I'm running a system with a number of RealSense cameras. We've been using the R200 and are now migrating to the R400 series.
About 50% of the time after system boot the cameras do not work.
Sometimes I get: rs2_create_device(info_list:0x7fb4f8566930, index:0): libusb_bulk_transfer(...) returned LIBUSB_ERROR_IO Last Error: Resource temporarily unavailable
And other times there's no reply from the cameras at all and I can see in the sys log: usb 3-4: device not accepting address 10, error -71
Only way to solve the problem is to reconnect the camera (sometimes several times). Once properly connected the camera seems to be working fine.
I'm on a Ubuntu server system that has been upgraded from the old librealsense to the new one (for the new devices).
I've tested R415 and R435 cameras. Several of each so it's not a defect device. We're on Intel NUCs, I've tried several of those too. I'm using the original USB cables. Tried with and without USB3 hub. With or without external power to the USB3 hub. I've tried using only one camera connected, same problem.
Any idea what could be wrong? Any ideas on what I should try?
This issue will be fixed by new firmware version. Please keep tuned.
Thanks for letting me know.
We're having this issue around 50% of the time, does that sound plausible? Just want to double-check.
Any tips on possible workarounds to mitigate the problem at least slightly? We'd love to continue working on the sensors asap.
In what kind of timeframe can we expect the new firmware? Weeks? Months?
Hello @maciekd,
The timeframe for the new firmware is weeks. Sorry I cannot get more granular than that.
Regards, Jesus G. Intel Customer Support
If others have this problem: a temp. workaround seems to be to connect the cameras AFTER the system has booted up.
Same issue here. I get both that they either don't appear at all, or they enumerate as USB2 as per #1181. For the moment, reconnecting works, but that won't fly for when we get these into production so I'm watching this issue. (Hardware is an UP Board Squared, 2xD435s through a powered USB3 hub.)
@jlgarcia75 Hi Jesus, is there any update on this? I've encountered the same issue.
[Realsense Customer Engineering Team Comment] Hello @jfhamlin,
Still no update. Engineering is working on a fix.
Regards, Jesus Intel Customer Support
I have found that on my 7th gen nuc this problem never occurs on the USB C interface. I automated a test and performed several thousand reboot cycles across a variety of configurations.
The USB C port always worked (bus 4 on ubuntu 16.04) with a single camera and the USB a ports did not (bus 2).
I tried a variety of hubs to try to get more than one camera to work reliably on boot. A few worked reliably while most did not.
Edit: Working USB hubs (that avoid the failure to enumerate issue when plugged into the USB-C port):
- orico W5P-U3 [via labs 2109:0817] (with usb C to A adapter) (0% failure to show up, ~31% failure to initialize ROS node over 387 boot cycles on 1 7th gen i3 NUC - NUCI3SYH)
- kensington ch1000 (0% failure to show up, ~8% failure to initialize ROS node over 467 boot cycles on 2 different 7th gen i3 NUCs - NUCI3SYH)
My configuration is a 7th generation i3 NUC with 2 D435 cameras, latest firmware, trying to provide only depth streams.
On a 5 minute reboot cron (for testing) I have a start up job that checks for both devices (lsusb ) and if both did not come up, it logs the error and reboots. If they are present it lauches a modified copy of the ros nodelet that first tries to perform a reset on the devices (to avoid another issue where the depth stream doesn't work). It then runs with a 10 second watchdog timer. If no depth frames arrive in 10 seconds it logs the error and restarts the entire nodelet family for that camera.
I also have a hardware cold boot test rig (relay+arduino 15 seconds off, 5 min on) but found no significant difference in errors between cold boot and a reboot.
On an entirely different motherboard (6th gen intel i7 CPU 6700TE, Asrock IMB-195), I am seeing a very regular pattern of this sort with 2x D435s plugged in via the single USB3.0 bus. Latest firmware (5.9.9.2).
After a reboot cycle:
- the cameras fail to show up (lsusb shows none)
- I reboot, both cameras show up
- I launch the ROS nodelet manager for each camera with the device reset patch and this succeeded after 0-3 attempts (nodelet group is reset by an external watchdog I wrote if no output for 10 seconds).
This pattern repeats, almost every time (733/753 reboot cycles over the weekend). The remaining 20 boots show the cameras enumerating correctly on USB.
[Realsense Customer Engineering Team Comment] Hello josephduchesne,
Please retest using the latest FW, v 5.9.11. You can download it here: https://downloadcenter.intel.com/download/27792/Latest-Firmware-for-Intel-RealSense-D400-Product-Family
Regards, Jesus G. Intel Customer Support
Hi, I am using the D435 on Jetson TX2 developer kit, using Ubuntu 16.04. My D435 is directly connected to the single USB 3 port of Jetson TX2. I have updated the camera FW to the FW, v 5.9.11 while still using the librealsense v2.10.4. However, the problem still persists for me, and unless I unplug and plug the camera back in, the camera fails to boot at every other run.
@sradmard I've had issues running the camera directly connected to the Jetson TX2 but none when connecting the camera to a powered USB 3.0 hub that is connected to the Jetson. I've also had the camera fail to stream on alternating runs when using Linux 4 Tegra 27. Upgrading to 28.2.1 solved this problem for me.
I tried 5.9.14 without success. Without the USB hub it still fails to show up on boot a large percentage of the time.
Having the same issue.
Hi @wglockner Does the camera appear reliably if you boot up the computer from the shutdown state using the power button and not with a reset?
If you find that it works reliably with a USB hub but not when the camera is plugged directly into the computer, the problem may be related to the brand of USB controller on the computer that was chosen by the computer's manufacturer (a hub has its own independent USB controller for its ports).
The camera boots reliably only when I start the node, unplug the cable from the camera, and plug the cable back in.
Here is the log when launching the camera node while the camera is plugged in:
[INFO] [launch]: All log files can be found below /home/wglockner/.ros/log/2025-11-14-09-42-36-464050-ham-lab-24-1608272
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [launch.user]: 🚀 Launching as Normal ROS Node
[INFO] [realsense2_camera_node-1]: process started with pid [1608275]
[realsense2_camera_node-1] [INFO] [1763134956.594346357] [camera.camera]: RealSense ROS v4.56.4
[realsense2_camera_node-1] [INFO] [1763134956.594393138] [camera.camera]: Built with LibRealSense v2.56.4
[realsense2_camera_node-1] [INFO] [1763134956.594398358] [camera.camera]: Running with LibRealSense v2.56.4
[realsense2_camera_node-1] [INFO] [1763134956.613832287] [camera.camera]: Device with serial number 220422301745 was found.
[realsense2_camera_node-1]
[realsense2_camera_node-1] [INFO] [1763134956.613855068] [camera.camera]: Device with physical ID /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/0000:04:08.0/0000:06:00.0/0000:07:0c.0/0000:0d:00.0/usb4/4-4/4-4:1.0/video4linux/video0 was found.
[realsense2_camera_node-1] [INFO] [1763134956.613859648] [camera.camera]: Device with name Intel RealSense D455 was found.
[realsense2_camera_node-1] [INFO] [1763134956.613933969] [camera.camera]: Device with port number 4-4 was found.
[realsense2_camera_node-1] [INFO] [1763134956.613937219] [camera.camera]: Device USB type: 3.2
[realsense2_camera_node-1] [INFO] [1763134956.613962070] [camera.camera]: getParameters...
[realsense2_camera_node-1] [INFO] [1763134956.614079632] [camera.camera]: JSON file is not provided
[realsense2_camera_node-1] [INFO] [1763134956.614091032] [camera.camera]: Device Name: Intel RealSense D455
[realsense2_camera_node-1] [INFO] [1763134956.614093952] [camera.camera]: Device Serial No: 220422301745
[realsense2_camera_node-1] [INFO] [1763134956.614096232] [camera.camera]: Device physical port: /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/0000:04:08.0/0000:06:00.0/0000:07:0c.0/0000:0d:00.0/usb4/4-4/4-4:1.0/video4linux/video0
[realsense2_camera_node-1] [INFO] [1763134956.614100802] [camera.camera]: Device FW version: 5.16.0.1
[realsense2_camera_node-1] [INFO] [1763134956.614103962] [camera.camera]: Device Product ID: 0x0B5C
[realsense2_camera_node-1] [INFO] [1763134956.614106292] [camera.camera]: Sync Mode: Off
[realsense2_camera_node-1] [INFO] [1763134956.792374042] [camera.camera]: Set ROS param depth_module.depth_profile to default: 848x480x30
[realsense2_camera_node-1] [INFO] [1763134956.792576716] [camera.camera]: Set ROS param depth_module.infra_profile to default: 848x480x30
[realsense2_camera_node-1] [INFO] [1763134956.794726473] [camera.camera]: Set ROS param rgb_camera.color_profile to default: 1280x720x30
[realsense2_camera_node-1] [INFO] [1763134956.794921927] [camera.camera]: Set ROS param gyro_fps to default: 200
[realsense2_camera_node-1] [INFO] [1763134956.794934597] [camera.camera]: Set ROS param accel_fps to default: 100
[realsense2_camera_node-1] [INFO] [1763134956.795806692] [camera.camera]: Stopping Sensor: Depth Module
[realsense2_camera_node-1] [INFO] [1763134956.795834782] [camera.camera]: Stopping Sensor: RGB Camera
[realsense2_camera_node-1] [INFO] [1763134956.818118301] [camera.camera]: Starting Sensor: Depth Module
[realsense2_camera_node-1] [INFO] [1763134956.819632828] [camera.camera]: Open profile: stream_type: Depth(0), Format: Z16, Width: 848, Height: 480, FPS: 30
[realsense2_camera_node-1] [INFO] [1763134956.988312930] [camera.camera]: Starting Sensor: RGB Camera
[realsense2_camera_node-1] [INFO] [1763134956.991275562] [camera.camera]: Open profile: stream_type: Color(0), Format: RGB8, Width: 1280, Height: 720, FPS: 30
[realsense2_camera_node-1] [INFO] [1763134956.995035757] [camera.camera]: RealSense Node Is Up!
[realsense2_camera_node-1] [WARN] [1763134957.818553310] [camera.camera]: XXX Hardware Notification:Depth stream start failure,1.76313e+12,Error,Hardware Error
[realsense2_camera_node-1] [WARN] [1763134957.818615411] [camera.camera]: Hardware Notification:Depth stream start failure,1.76313e+12,Error,Hardware Error
Here is the log when I unplug the camera, start the node, and then plug the camera in:
[INFO] [launch]: All log files can be found below /home/wglockner/.ros/log/2025-11-14-09-45-13-088969-ham-lab-24-1609754
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [launch.user]: 🚀 Launching as Normal ROS Node
[INFO] [realsense2_camera_node-1]: process started with pid [1609764]
[realsense2_camera_node-1] [INFO] [1763135113.216952993] [camera.camera]: RealSense ROS v4.56.4
[realsense2_camera_node-1] [INFO] [1763135113.216994424] [camera.camera]: Built with LibRealSense v2.56.4
[realsense2_camera_node-1] [INFO] [1763135113.216999194] [camera.camera]: Running with LibRealSense v2.56.4
[realsense2_camera_node-1] [WARN] [1763135113.222182562] [camera.camera]: No RealSense devices were found!
[realsense2_camera_node-1] [WARN] [1763135119.227774818] [camera.camera]: No RealSense devices were found!
[realsense2_camera_node-1] [INFO] [1763135125.445168605] [camera.camera]: Device with serial number 220422301745 was found.
[realsense2_camera_node-1]
[realsense2_camera_node-1] [INFO] [1763135125.445267507] [camera.camera]: Device with physical ID /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/0000:04:08.0/0000:06:00.0/0000:07:0c.0/0000:0d:00.0/usb3/3-4/3-4:1.0/video4linux/video0 was found.
[realsense2_camera_node-1] [INFO] [1763135125.445298807] [camera.camera]: Device with name Intel RealSense D455 was found.
[realsense2_camera_node-1] [INFO] [1763135125.445432819] [camera.camera]: Device with port number 3-4 was found.
[realsense2_camera_node-1] [INFO] [1763135125.445438629] [camera.camera]: Device USB type: 2.1
[realsense2_camera_node-1] [WARN] [1763135125.445443359] [camera.camera]: Device 220422301745 is connected using a 2.1 port. Reduced performance is expected.
[realsense2_camera_node-1] [INFO] [1763135125.445523610] [camera.camera]: getParameters...
[realsense2_camera_node-1] [INFO] [1763135125.445714793] [camera.camera]: JSON file is not provided
[realsense2_camera_node-1] [INFO] [1763135125.445720083] [camera.camera]: Device Name: Intel RealSense D455
[realsense2_camera_node-1] [INFO] [1763135125.445723413] [camera.camera]: Device Serial No: 220422301745
[realsense2_camera_node-1] [INFO] [1763135125.445726873] [camera.camera]: Device physical port: /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/0000:04:08.0/0000:06:00.0/0000:07:0c.0/0000:0d:00.0/usb3/3-4/3-4:1.0/video4linux/video0
[realsense2_camera_node-1] [INFO] [1763135125.445731264] [camera.camera]: Device FW version: 5.16.0.1
[realsense2_camera_node-1] [INFO] [1763135125.445734434] [camera.camera]: Device Product ID: 0x0B5C
[realsense2_camera_node-1] [INFO] [1763135125.445737124] [camera.camera]: Sync Mode: Off
[realsense2_camera_node-1] [INFO] [1763135126.798035640] [camera.camera]: Set ROS param depth_module.depth_profile to default: 640x480x15
[realsense2_camera_node-1] [INFO] [1763135126.798205813] [camera.camera]: Set ROS param depth_module.infra_profile to default: 640x480x15
[realsense2_camera_node-1] [INFO] [1763135126.799828367] [camera.camera]: Set ROS param rgb_camera.color_profile to default: 640x480x15
[realsense2_camera_node-1] [INFO] [1763135126.800136572] [camera.camera]: Set ROS param gyro_fps to default: 200
[realsense2_camera_node-1] [INFO] [1763135126.800165702] [camera.camera]: Set ROS param accel_fps to default: 100
[realsense2_camera_node-1] [INFO] [1763135126.801241678] [camera.camera]: Stopping Sensor: Depth Module
[realsense2_camera_node-1] [INFO] [1763135126.801300339] [camera.camera]: Stopping Sensor: RGB Camera
[realsense2_camera_node-1] [INFO] [1763135126.853953483] [camera.camera]: Starting Sensor: Depth Module
[realsense2_camera_node-1] [INFO] [1763135126.935708771] [camera.camera]: Open profile: stream_type: Depth(0), Format: Z16, Width: 640, Height: 480, FPS: 15
[realsense2_camera_node-1] [INFO] [1763135127.148737434] [camera.camera]: Starting Sensor: RGB Camera
[realsense2_camera_node-1] [INFO] [1763135127.193610661] [camera.camera]: Open profile: stream_type: Color(0), Format: RGB8, Width: 640, Height: 480, FPS: 15
[realsense2_camera_node-1] [INFO] [1763135127.197813594] [camera.camera]: RealSense Node Is Up!
It is not feasible to restart the computer between node starts and stops for our use case.
@wglockner Have you tried resetting the camera automatically during your ROS launch by adding the parameter initial_reset:=true to your ROS launch command, please?