Skip to content

[BUG]USB hard drive IO error occurs when using python3-picamera2 with rpi cam #1373

@ss8688

Description

@ss8688

I encounter random usb hard disk IO errors whenever I use the mipi rpi camera and spyglass(https://github.com/mainsail-crew/spyglass) whitch dependents on python3-picamera2.Turning off webrtc(h264 encode) can alleviate some of the issues.When H264 encoding is not turned off, very few read and write operations cause error. For example, when running dmesg, this error only occurs when a large number of reads and writes occur after H264 encoding is turned off.The error completely disappear after unplugging the camera or turning off the spyglass.I have ruled out the power supply issue because my CM4 expansion board does not have a 1.2A limit and I have a 5v10A psu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions