In Mathematica 11.0.1 I typed
DeviceRead["RaspiCam"]
and received the error message "Error enabling camera-preview".
I ran in a terminal using sudo Mathematica and got a number of error messages the first of which is shown below:
mmal: mmal_VC_component_enable: failed to enable component: ENOSPC Output port couldn't be enabled.
How do I fix this?