D435 Realsense camera and Jetson Xavier NX using Jetson-Inference

Hi,

I’m having some trouble getting the D435 Realsense camera and Jetson-Inference working. Does anyone have a solution to this? I’ve been searching the web, I haven’t had any luck

I have access to my Kernel if there is anything I need to change.

Here is my Error:

[ 7.033441] uvcvideo: Unable to create debugfs 2-3 directory.
[ 7.033764] uvcvideo 2-3.1:1.0: Entity type for entity Intel(R) RealSense™ Depth Ca was not initialized!
[ 7.034042] uvcvideo 2-3.1:1.0: Entity type for entity Processing 2 was not initialized!
[ 7.034230] uvcvideo 2-3.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 7.034685] input: Intel(R) RealSense™ Depth Ca as /devices/3610000.xhci/usb2/2-3/2-3.1/2-3.1:1.0/input/input8
[ 7.034971] uvcvideo: Found UVC 1.50 device Intel(R) RealSense™ Depth Camera 435 (8086:0b07)
[ 7.051255] uvcvideo: Unable to create debugfs 2-3 directory.
[ 7.051536] rtk_btusb: btusb_notify: hci0 evt 3
[ 7.051587] uvcvideo 2-3.1:1.3: Entity type for entity Processing 7 was not initialized!
[ 7.051848] uvcvideo 2-3.1:1.3: Entity type for entity Extension 8 was not initialized!
[ 7.052040] uvcvideo 2-3.1:1.3: Entity type for entity Camera 6 was not initialized!
[ 7.052925] usbcore: registered new interface driver uvcvideo
[ 7.052933] USB Video Class driver (1.1.1)
[ 8.241596] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.438359] nvgpu: 17000000.gv11b tpc_pg_mask_store:843 [INFO] no value change, same mask already set
[ 8.553667] gpio tegra-gpio wake20 for gpio=52(G:4)
[ 8.560511] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.607516] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 8.769018] zram: Added device: zram0
[ 8.774411] zram: Added device: zram1
[ 8.777479] zram: Added device: zram2
[ 8.780965] zram: Added device: zram3
[ 8.785567] zram: Added device: zram4
[ 8.790985] zram: Added device: zram5
[ 8.827716] zram0: detected capacity change from 0 to 678547456
[ 8.914329] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.207210] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.320823] usb 2-3.1: usb_suspend_both: status 0
[ 9.331410] Adding 662640k swap on /dev/zram0. Priority:5 extents:1 across:662640k SS
[ 9.336593] zram1: detected capacity change from 0 to 678547456
[ 9.357285] Adding 662640k swap on /dev/zram1. Priority:5 extents:1 across:662640k SS
[ 9.361397] zram2: detected capacity change from 0 to 678547456
[ 9.376807] usb 2-3: usb_suspend_both: status 0
[ 9.377064] usb usb2: usb_suspend_both: status 0
[ 9.379805] Adding 662640k swap on /dev/zram2. Priority:5 extents:1 across:662640k SS
[ 9.383423] zram3: detected capacity change from 0 to 678547456
[ 9.397120] Adding 662640k swap on /dev/zram3. Priority:5 extents:1 across:662640k SS
[ 9.400877] zram4: detected capacity change from 0 to 678547456
[ 9.420499] Adding 662640k swap on /dev/zram4. Priority:5 extents:1 across:662640k SS
[ 9.426979] zram5: detected capacity change from 0 to 678547456
[ 9.443967] Adding 662640k swap on /dev/zram5. Priority:5 extents:1 across:662640k SS
[ 10.344159] Bridge firewalling registered
[ 10.373679] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[ 10.667015] Netfilter messages via NETLINK v0.30.
[ 10.670422] ctnetlink v0.93: registering with nfnetlink.
[ 10.872215] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[ 11.441163] tegradc 15200000.nvdisplay: unblank
[ 11.441179] tegradc 15210000.nvdisplay: blank - powerdown
[ 13.265404] fuse init (API version 7.26)
[ 13.551737] ------------[ cut here ]------------
[ 13.551956] WARNING: CPU: 4 PID: 6352 at /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/net/wireless/nl80211.c:14141 cfg80211_ch_switch_notify+0x150/0x170 [cfg80211]
[ 13.552236] Modules linked in: fuse xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram overlay uvcvideo(O) bnep cdc_acm rtk_btusb btusb btrtl btbcm btintel rtl8822ce cfg80211 spidev binfmt_misc userspace_alert nvgpu bluedroid_pm ip_tables x_tables

[ 13.552394] CPU: 4 PID: 6352 Comm: RTW_CMD_THREAD Tainted: G S O 4.9.201-tegra #1
[ 13.552399] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
[ 13.552404] task: ffffffc1f4cd7000 task.stack: ffffffc1c35e8000
[ 13.552489] PC is at cfg80211_ch_switch_notify+0x150/0x170 [cfg80211]
[ 13.553084] LR is at rtw_cfg80211_ch_switch_notify+0x94/0x98 [rtl8822ce]
[ 13.553097] pc : [] lr : [] pstate: 60c00045
[ 13.553103] sp : ffffffc1c35ebc20
[ 13.553109] x29: ffffffc1c35ebc20 x28: ffffff8001298760
[ 13.553122] x27: ffffff800d2721bc x26: ffffff800145d578
[ 13.553133] x25: ffffff80014e113c x24: ffffffc1dcbd5000
[ 13.553144] x23: ffffffc1d4fe8000 x22: ffffffc1d4fac800
[ 13.553157] x21: 0000000000000002 x20: ffffffc1c35ebca8
[ 13.553168] x19: ffffffc1da36b800 x18: 000000000000072b
[ 13.553181] x17: 0000007faa56b230 x16: 000000000054e7a0
[ 13.553193] x15: 0000000000000000 x14: 0000000000000008
[ 13.553205] x13: 7f1201c7fffc002a x12: 0105c00363fffa03
[ 13.553216] x11: 0000000000000004 x10: 0000000000000002
[ 13.553228] x9 : 0000000000000004 x8 : ffffffc1c35ebd3a
[ 13.553239] x7 : 0000000000000000 x6 : 0000000000000001
[ 13.553252] x5 : 0000000000000040 x4 : 0000000000001464
[ 13.553264] x3 : 0000145a00000003 x2 : ffffffc1d4fae0c8
[ 13.553275] x1 : 0000145a00000003 x0 : 0000000000000000

[ 13.553291] —[ end trace 65b1fc0cfca089f1 ]—
[ 13.553392] Call trace:
[ 13.553480] [] cfg80211_ch_switch_notify+0x150/0x170 [cfg80211]
[ 13.554082] [] rtw_cfg80211_ch_switch_notify+0x94/0x98 [rtl8822ce]
[ 13.554658] [] rtw_chk_start_clnt_join+0x43c/0x4d8 [rtl8822ce]
[ 13.555234] [] join_cmd_hdl+0x238/0x330 [rtl8822ce]
[ 13.555813] [] rtw_cmd_thread+0x308/0x608 [rtl8822ce]
[ 13.555827] [] kthread+0xec/0xf0
[ 13.555835] [] ret_from_fork+0x10/0x30
[ 13.710938] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 31.176917] usb 2-3.1: usb_suspend_both: status 0
[ 31.236790] usb 2-3: usb_suspend_both: status 0
[ 31.237131] usb usb2: usb_suspend_both: status 0
[ 34.133248] vdd-1v8-sd: disabling
[ 34.133272] vdd-1v8-cvb: disabling
[ 34.133278] vdd-epb-1v0: disabling
[ 34.133285] avdd-cam-2v8: disabling
[ 34.133291] vdd-fan: disabling
[ 34.133297] vdd_sys_en: disabling
[ 93.295345] usb 2-3.1: usb_suspend_both: status 0
[ 93.351347] usb 2-3: usb_suspend_both: status 0
[ 93.351655] usb usb2: usb_suspend_both: status 0
[ 106.400247] usb 2-3.1: usb_suspend_both: status 0
[ 106.456471] usb 2-3: usb_suspend_both: status 0
[ 106.456961] usb usb2: usb_suspend_both: status 0
[ 110.444448] usb 2-3.1: usb_suspend_both: status 0
[ 110.500451] usb 2-3: usb_suspend_both: status 0
[ 110.500710] usb usb2: usb_suspend_both: status 0
[ 110.905246] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[ 111.159286] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[ 111.209710] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[ 111.361644] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[ 111.412139] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).

Hi,
Please refer to
RealSenseD400 Camera can not work on Jetson Xavier NX - #17 by ShaneCCC
And check if it works with realsense-viewer.