xcsoar_config.sh #234
MaxKellermann
started this conversation in
Ideas
Replies: 2 comments 7 replies
-
IIRC these settings were required and there was no (working) autodetect with the first OV images so these command line parameters were included. Without specifying resolution XCSoar used 640x480 resolution. Don´t know if this was an error in the image, in XCSoar or in the configuration parameters. |
Beta Was this translation helpful? Give feedback.
3 replies
-
btw. the rotation patching doesn't even work:
The script is bugged... This uses only the last byte from the line; but the last byte is a CR, because the file is in DOS text mode. It has been that way since the very first commit. Thus, I believe this feature has been broken forever, and it can be removed safely. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why does https://github.com/Openvario/meta-openvario/blob/master/meta-ov/recipes-apps/ovmenu-ng-skripts/files/xcsoar_config.sh exist? What is its purpose?
This looks like complicated and fragile code, obtaining display rotation parameters from u-boot configuration, and patching all XCSoar profiles with it. But .... why??
By default, XCSoar keeps the current display rotation. Since ovmenu already operates at the correct rotation, what's the point of configuring the rotation again?
Related: why are there machine-specific files like this:
meta-openvario/meta-ov/recipes-apps/ovmenu-ng/files/openvario-7-PQ070/machine.conf
Line 1 in e662707
... to pass the display resolution as command-line parameter to XCSoar - when XCSoar by default auto-detects it? What's the point of that?
I'd like to delete all of this, but as always, I need to find out first whether this would break anything. There must be a reason why somebody went through all the trouble to write this code.
Beta Was this translation helpful? Give feedback.
All reactions