OpenScan-org / OpenScan2

an improved firmware for the OpenScan devices, featuring many more cameras and a greatly improved overall usability
GNU General Public License v3.0
241 stars 27 forks source link

[ISSUE] Update overwrites camera selection (with Arducam IMX519) #30

Closed OpenScanEu closed 2 years ago

OpenScanEu commented 2 years ago

I realized, that my update routine will overwrite any other camera and it is necessary to do the following, when using any other camera then the Arducam IMX519:

Install the update select any camera in the settings tab (and ignore the popup) select your camera and restart the device

Why is this happening: The update routine overwrites the /boot/config.txt file regardless of the selected camera. But there should be an easy fix, where the /home/pi/OpenScan/settings/camera file should be erased after such an update. after that the user will have to select the camera only once (after installing an update), and there will be a notifcation to do so :)

OpenScanEu commented 2 years ago

Whenever the /boot/config.txt file is changed by an update, you will need to re-select the camera (there will be a prompt when starting the device)