Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMX264 Camera Not Detected After Following Setup Steps on Ubuntu 18.04 with L4T 32.7.1 #114

Open
Sadegh-Kalami opened this issue Aug 13, 2024 · 3 comments

Comments

@Sadegh-Kalami
Copy link

Sadegh-Kalami commented Aug 13, 2024

Description:

I have followed all the instructions provided in the repository to set up the IMX264 camera on my Jetson Nano running Ubuntu 18.04 with NVIDIA L4T 32.7.1. This includes modifying the .dtsi file during the ./setup.sh -c step as per the guidelines. However, after completing the setup and connecting my IMX264 camera, I do not see any related output in dmesg, nor does the device appear in /dev/.

Steps Taken:

  1. Cloned the repository and followed the installation and setup instructions.
  2. Modified the .dtsi file to configure the IMX264 camera, ensuring all relevant settings were adjusted.
  3. Executed the ./setup.sh -c command to apply the changes.
  4. Rebooted the Jetson Nano as per the instructions.
  5. Connected the IMX264 camera to the Jetson Nano via the appropriate CSI port.

Problem:

  • No logs or messages related to the IMX264 camera are visible in dmesg.
  • The camera does not appear as a video device under /dev/ (e.g., no /dev/video* entry).
[    1.612566] i2c 7-0010: vc_mod_ctrl_init(): Detected module not supported!
[    1.646401] tegra-vii2c 546c0000.i2c: no acknowledge from address 0x40

Environment Details:

  • Jetson Nano: 4GB/2GB model
  • Operating System: Ubuntu 18.04
  • NVIDIA L4T Version: 32.7.1
  • Camera: IMX264

Request for Assistance:

I'm unsure if I missed a step or made an error in the .dtsi modification. Could you please provide guidance on what might be going wrong? Are there specific areas I should double-check, or additional steps I can take to troubleshoot the issue?

Any help to resolve this problem would be greatly appreciated.

Thank you!

@hseysen
Copy link

hseysen commented Aug 19, 2024

Hello,

I'm unsure if I missed a step or made an error in the .dtsi modification. Could you please provide guidance on what might be going wrong?

Have you followed the guide on README.md? According to the table, you would need to change the following parameters:

physical_w          = "8.390"
physical_h          = "7.066"
active_w            = "2432"
active_h            = "2048"
max_gain_val        = "48000"
step_gain_val       = "100"
max_framerate       = "35500"
default_framerate   = "35500"

These settings are present on two different places:

  1. Line 164 for /dev/video0
  2. Line 256 for /dev/video1

Also make sure you're configuring both of them, in case you mistake one of your CSI ports for another.

Other than that, make sure you're setting pixel_t = "bayer_rggb", which I guess is the supported format for IMX264 camera.

It also helps to have the camera already connected before Nano has been powered on.

Try going inside the bin directory, and running ./setup.sh --camera, then ./build.sh --dt and ./flash.sh --dt.

Let me know if it works for you. I'm also using Nano with IMX264, and am able to obtain the image, although the colors are not correct.

@Sadegh-Kalami
Copy link
Author

thanks for ur guidance. I have done as u mentioned.
Do you have any idea what the matter?

@hseysen
Copy link

hseysen commented Aug 20, 2024

I've double checked my current setup, and everything is exactly the same, I'm just using L4T 32.7.4, that's the only difference, which is the latest available for Nano.

Might be a silly question, but are you sure of the cable connection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants