Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

Camera board • Re: IMX290/IMX462 Connecting to rpi5

$
0
0
I encountered the same issue with the IMX290 on Raspberry Pi 5 running Bookworm: 'Failed to start streaming: Remote I/O error.' However, I noticed that it starts successfully every other time (after performing the steps mentioned above, such as adding the parameter to /boot/config.txt and including the imx290.json file). Additionally, I updated the kernel to the version using the command sudo rpi-update pulls/5859.

To address this, I used a loop with code similar to this:

Code:

while True:    try:        self.picam2.configure(video_config)        self.picam2.post_callback = self.img_callback        self.picam2.start()        print("Camera started successfully!")        break    except Exception as e:        print(f"Error starting camera: {e}. Retrying...")        self.picam2.stop()        time.sleep(0.01)        self.picam2.close()        self.picam2 = Picamera2()        time.sleep(0.1)        continue
But I can't understand why this happens :? . I realize that this approach isn't ideal, but for some reason, it works for me.

Statistics: Posted by artem.korobov — Sat Aug 31, 2024 10:05 pm



Viewing all articles
Browse latest Browse all 5288

Trending Articles