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
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