IntelRealSense / realsense_mipi_platform_driver

Intel® RealSense™ camera driver for GMSL* interface
GNU General Public License v2.0
16 stars 15 forks source link

Support for D435i (IMU) cameras with the MIPI driver on Jetson Orin NX with Jetpack 6 #228

Open akupferb opened 2 months ago

akupferb commented 2 months ago

Hi,

I am attempting to use a D435i camera on my Jetson Orin NX with JP6.0. I was directed to this this page to install the MIPI driver and followed the instructions (with the section for the Jetson Orin). I completed the 'setup' and 'build' sections successfully on my host machine, generating the files to copy over to the jetson, which I was able to do. However, during the 'install' section, on this step:

Enable d4xx overlay:

With Jetson-IO tool: sudo /opt/nvidia/jetson-io/jetson-io.py

I cannot continue... as the instructions are designed for the D457 with de-serialize board connections via pins, and my D435i is connected via regular USB, which jetson-io does not recognize.

Are there modified instructions for completing this driver installation on my Jetson Orin NX for a D4xx camera connected via USB?

dmipx commented 2 months ago

Hi. You can use manual patch from development branch. The support was added with commit: L4T UVC/HID manual patch for JP6 From this repo, you need to update kernel modules to support HID and UVC.

akupferb commented 2 months ago

So to clarify, if I install the most recent version from the development branch (if I've cloned the repo, will switching to that branch and recompiling the package be enough?), that will already include support for the IMU devices on JP6? Do I then need to still update my kernel modules? If so, which ones, and to what? Is there a page with instructions on the development branch for this?

akupferb commented 1 month ago

Following up...

Nir-Az commented 1 month ago

@akupferb please follow this readme: https://github.com/IntelRealSense/realsense_mipi_platform_driver/blob/dev/README_JP6.md

IMU support is included in the patches / device tree configuration

akupferb commented 1 month ago

@Nir-Az please see:

Enable d4xx overlay:

With Jetson-IO tool: sudo /opt/nvidia/jetson-io/jetson-io.py

I cannot continue... as the instructions are designed for the D457 with de-serialize board connections via pins, and my D435i is connected via regular USB, which jetson-io does not recognize.

Nir-Az commented 1 month ago

What happens when you try to run: ./scripts/patch-realsense-ubuntu-L4T.sh?

akupferb commented 3 weeks ago

@Nir-Az

At what point during the process in the README should I run that script?

Nir-Az commented 3 weeks ago

@Nir-Az

At what point during the process in the README should I run that script?

https://github.com/IntelRealSense/librealsense/blob/900e3d424eb5dffadec4053146154a46aa9e7492/doc/installation_jetson.md?plain=1#L116

2805651606 commented 2 weeks ago

@akupferb 请问你成功了?