Become a leader in the IoT community!

New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!

Step 1 of 5

CREATE YOUR PROFILE *Required

Change Email
OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Collaboration & Work 🤝
Learn & Grow 📚
Contribute Experience & Expertise 🔧
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware & Design 💡
Embedded Software 💻
Edge Networking
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. Our community uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the worldwide web to help others find answers.
  7. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

Could you guys help me decipher these please

@ming_58391 @32bitwidesaviour could you guys help me decipher these please

flasher@flasher:~ $ dmesg | grep -i imx219
[    0.064637] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx219@10
[    3.758979] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx219@10
[   10.157833] imx219 10-0010: Error reading reg 0x0000: -121
[   10.157873] imx219 10-0010: failed to read chip id 219
[   10.158692] imx219: probe of 10-0010 failed with error -121
  1. melta101#0000

    if it’s using I2C,
    how about probing it once

  2. melta101#0000

    manually

  3. ZacckOsiemo#0000

    For context I am trying to get image feed off a imx219-160 camera on a raspberry pi 0 2w in headless mode

  4. ZacckOsiemo#0000

    using something like i2cdetect?

  5. melta101#0000

    it’s trying to do sensor.init() but is unable to read the version ID

  6. melta101#0000

    yep

  7. ZacckOsiemo#0000

    Ok cool let me run it

  8. ZacckOsiemo#0000

    Linux land is just insane

  9. ZacckOsiemo#0000

    so big

  10. ZacckOsiemo#0000

    almost autosar

  11. ZacckOsiemo#0000

    `Error: Could not open file `/dev/i2c-1′ or `/dev/i2c/1′: No such file or directory`

  12. ZacckOsiemo#0000

    My cable could be wrong

  13. Ming#0000

    Are you trying to run a camera on a RPi5?

  14. ZacckOsiemo#0000

    on RPi 0 2w

  15. Ming#0000

    OK – similar chip…

  16. melta101#0000

    after that try acessing the chip ID register
    0image.png1image.png

  17. 32bitSaviour#0000

    looks to me like an i2c comms issue

  18. Ming#0000

    It could also be not enbaled in the Device Tree

  19. melta101#0000

    i also feel the same

  20. Ming#0000

    Is there an overlay for I2C?

  21. ZacckOsiemo#0000

    software or cable

  22. melta101#0000

    SW

  23. ZacckOsiemo#0000

    I just enabled. i2c on raspi config

  24. ZacckOsiemo#0000

    rebooting

  25. ZacckOsiemo#0000

    then trying again

  26. ZacckOsiemo#0000

    I added an overlay to enable the camera

    dtoverlay=imx219
    
  27. ZacckOsiemo#0000

    Ok so now I have this

    flasher@flasher:~ $ sudo i2cdetect -y 0
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:                         -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    flasher@flasher:~ $ sudo i2cdetect -y 1
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:                         -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    
  28. ZacckOsiemo#0000

    I seem to have enabled i2c

  29. ZacckOsiemo#0000

    but no camera yet

  30. Ming#0000

    That’s a distinct lack of camera 🙂

  31. ZacckOsiemo#0000

    I think re hook up the cable maybe its not connected just right.

  32. melta101#0000

    is it logic high?

  33. melta101#0000

    check with a multimeter if the cable is logic high or not

    ifso then it a maybe cable prob then

  34. melta101#0000

    or pinctrl doesnt enable logic high

  35. ZacckOsiemo#0000

    I just watched a video and I realise the guy at the shop might have connected the cable upside down

  36. ZacckOsiemo#0000

    was in a rush and I just wanted it to work

  37. ZacckOsiemo#0000

    rebooting then we can check again

  38. 32bitSaviour#0000

    Hurry potter.

  39. ZacckOsiemo#0000

    Upside down cable and I have signal

    flasher@flasher:~ $ libcamera-hello --list
    Available cameras
    -----------------
    0 : imx219 [3280x2464 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx219@10)
        Modes: 'SRGGB10_CSI2P' : 640x480 [206.65 fps - (1000, 752)/1280x960 crop]
                                 1640x1232 [41.85 fps - (0, 0)/3280x2464 crop]
                                 1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]
                                 3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]
               'SRGGB8' : 640x480 [206.65 fps - (1000, 752)/1280x960 crop]
                          1640x1232 [83.70 fps - (0, 0)/3280x2464 crop]
                          1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]
                          3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]
    
  40. melta101#0000

    do you mean the flex cable?

  41. ZacckOsiemo#0000

    yes sir

  42. melta101#0000

    Ahh,
    i have done that

  43. melta101#0000

    i feel you

  44. ZacckOsiemo#0000

    it’s always a damn wire!

  45. Ming#0000

    No – we witnessed your debugging and problem determination skills!

  46. melta101#0000

    i need this kind of optimism everyday

  47. melta101#0000

    i need this kind of optimism everyday

  48. ZacckOsiemo#0000

    I need this kind of time to debug

CONTRIBUTE TO THIS THREAD

Browse other questions tagged