This will fix issue on Raspberry Pi5, which doesnt generate cam list,
because 'vcgencmd get_camera' exits with an error.
If all conditions fail it will always return '0'
Signed-off-by: Stephan Wendel <me@stephanwe.de>
* fix(hwhandler.sh): fix error in device logging
If device is a Raspberry Pi and does not have libcamera-hello, it does not log devices
Error occurs in Line 93 of logging.sh
* fix: remove unnecessary double function calls
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix(hwhandler.sh): fix error in device logging
If device is a Raspberry Pi and does not have libcamera-hello, it does not log devices
Error occurs in Line 93 of logging.sh
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: remove unnecessary double funtion calls
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* Fix makefile flags on low memory devices (#124)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
* docs: Update index with correct heading and link to backends (#131)
This is a follow-up to #108 and fixes heading and hyperlink to the list of backends
* Typo in `core.sh` (#138)
* Fix makefile flags on low memory devices (#124) (#125)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* Typo in `core.sh`
'Dependencys' --> dependencies
---------
Co-authored-by: Stephan Wendel <43513802+KwadFan@users.noreply.github.com>
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* Fix makefile flags on low memory devices (#124) (#125) (#144)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* docs(messages.sh): fix typos, improve spelling (#145)
* feat: add legacy cam support (#146)
* feat: add legacy cam support
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* feat: add blockyfix
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: add ustreamer legacy cam workaround
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* Fix makefile flags on low memory devices (#124) (#125) (#147)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* fix: fix make config empty path (#148)
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix default_path_msg function name (#149)
* fix: fix default_path_msg function name
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix message
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix libcamera-apps-lite not getting updated (#160)
libcamera-apps-lite is needed for libcamera-hello.
Crowsnest uses libcamera-hello to detected raspicams
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix Shellcheck test error (#153)
* fix: fix Shellcheck test error
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* style: remove empty condition
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix CustomPiOS docker build error (#158)
This should skip any check of `SUDO_USER`
Tested with Win & Linux host with Docker
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
Co-authored-by: DeviousFusion <dj3tusk@gmail.com>
Co-authored-by: Sergei <67871383+slepiavka@users.noreply.github.com>
Co-authored-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
If libcamera of arducam is used, we need to get rid of its output,
compared to raspi foundations libcamera output
Signed-off-by: Stephan Wendel <me@stephanwe.de>
if `start_x=1` is not set,
it messes up output of `vcgencmd get_camera`.
Which leads to not detected libcamera csi cams,
even if they are detected correctly
Therefor using libcamera-hello to determine if available
Signed-off-by: Stephan Wendel <me@stephanwe.de>