Introduction
The Maivin's Web Application which is installed and running by default on the kits can be disabled to allow custom user applications to make use of the camera.
The application is deployed and managed through the Torizon OTA and is integrated through a docker-compose configuration which lives under /var/sota/storage/docker-compose. If, for example, you wish to run a custom GStreamer pipeline using the Video4Linux camera device you will first need to disable the web application to release the camera resource.
Disable Application
The docker-compose service handles starting the Torizon OTA application manager, if disabled the application will not be started at boot.
sudo systemctl disable docker-compose && sudo reboot
Note that while you can also call systemctl stop the watchdog will then fire as the application will not refresh the timer. This is why disable and reboot are suggested.
Enable Application
To enable the application again simply enable the docker-compose service and reboot.
sudo systemctl enable docker-compose && sudo reboot
Comments
0 comments
Please sign in to leave a comment.