RaspberryPiのカメラモジュールでエラーが発生(mmal: mmal_vc_component_enable: failed to enable component: ENOSPC)

公開日時

カメラモジュールのテスト用に↓を実行したところ

raspistill -o test.jpg

↓のエラーが発生した。

mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates

買ってまだ少ししか経ってないのにもう壊れたのか!?と少し焦ったが、mjpg-streamerを自動起動するようにしていたため、カメラモジュールがすでに使用中でエラーが発生していただけだった。

mjpg-streamerを止めて再度raspistillを実行したところ問題なく撮影ができた。

参考


Related #raspberry pi