Fails to set power state with jetson orin nano and realsense camera

I am connected to a realsense d4xx camera and i am trying to run the depth sensor and the color sensor at the same time. I noticed that after setting both camera and opening it, i get the following exception using the pyrealsense2 python library “failed to set power state”

I am using a power supply that is 5v and 2.3 A. It seems to happens only when i try to set both camera sensor, It happens always on the “device = device_list[selected_ind]” line of the following code of pyrealsense. Is this a power issue?.

i am running the latest jetpack 6.1 super on max mode and I also did the jetson_clock.

context = rs2.context()
device_list = context.query_devices()
if len(device_list) > 0:
selected_ind = 0
device = device_list[selected_ind]
usb_descriptor = device.get_info(rs2.camera_info.usb_type_descriptor)
if “3.2” in usb_descriptor:
return 2
else:
return 1
else:
return 0

Check if any error message by dmesg while connect the realsense camera.

When I connect to the camera I dont get any error, I get the following. The following log shows the message when I connect the device and ran my program and then I get the exception failed to get power

[  347.246934] usb 2-1.4: new SuperSpeed USB device number 4 using tegra-xusb
[  347.279199] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  347.279663] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  347.295980] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input12
[  347.298191] uvcvideo 2-1.4:1.4: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[  347.298209] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  347.320157] hid-generic 0003:8086:0B3A.0004: hidraw1: USB HID v1.10 Device [Intel(R) RealSense(TM) Depth Camera 435i Intel(R) RealSense(TM) Depth Camera 435i] on usb-3610000.usb-1.4/input5
[  560.811555] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  560.812181] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  560.829406] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input13
[  560.974014] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  560.974430] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  560.990816] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input14
[  561.060153] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  561.060652] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  561.077496] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input15
[  563.813051] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  563.813545] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  563.830541] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input16
[  563.941774] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  563.942168] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  563.959399] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input17
[  564.031274] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  564.031676] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  564.049284] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input18
[  567.698778] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  567.699165] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  567.716766] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input19
[  567.843760] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  567.844163] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  567.860330] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input20
[  567.934283] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  567.934822] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  567.952437] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input21
[  569.032748] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  569.033295] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  569.049808] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input22
[  569.186128] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  569.186666] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  569.203154] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input23
[  569.276448] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  569.276954] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  569.293557] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input24
[  569.365256] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  569.365867] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  569.382433] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input25
[  569.945036] usb 2-1.4: Disable of device-initiated U1 failed.
[  569.947902] usb 2-1.4: Disable of device-initiated U2 failed.
[  570.497067] usb 2-1.4: reset SuperSpeed USB device number 4 using tegra-xusb
[  570.526277] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  570.526790] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  570.544283] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input26
[  570.544908] uvcvideo 2-1.4:1.4: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[  570.544925] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  572.515297] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  572.515792] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  572.533001] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input27
[  572.625621] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  572.626046] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  572.646926] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input28
[  572.710274] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  572.710677] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  572.727187] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input29
[  572.808266] uvcvideo 2-1.4:1.1: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[  572.808700] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  572.825213] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/bus@0/3610000.usb/usb2/2-1/2-1.4/2-1.4:1.0/input/input30
[  572.843830] uvcvideo 2-1.4:1.4: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[  572.843863] usb 2-1.4: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)

This is my program log

 File "xxxxxxxxxxxxxxxx/modules/functions.py", line 7549, in usb_speed
    device = device_list[selected_ind]
RuntimeError: failed to set power state

Check below link.

https://nvidia-isaac-ros.github.io/troubleshooting/hardware_setup.html#realsense-error-failed-to-resolve-the-request

Tried it but, still got the same problem. I tried reinstalling the udev rules as mentioned in the link.

It was a different problem related to the library of pyrealsense2. I still think there is a problem with the power. What power voltage and amps would you recommend I use, I am using the device for inference.

I don’t think it relative to the power on Jetson.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.