Skip to content

Commit c0a983b

Browse files
committed
add support for v3.50~11
1 parent bf3ccc5 commit c0a983b

8 files changed

Lines changed: 8 additions & 174 deletions

File tree

FileSets/PatchSource/start-gui.sh

Lines changed: 0 additions & 79 deletions
This file was deleted.

FileSets/PatchSource/start-gui.sh.orig

Lines changed: 0 additions & 75 deletions
This file was deleted.

FileSets/PatchSource/start-gui.sh.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

FileSets/fileListPatched

Lines changed: 0 additions & 2 deletions
This file was deleted.

changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v3.13:
2+
add support for v3.50~11
3+
backlight setting incorrect for Raspberry PI prior to v2.73
4+
so removed the customization for start-gui.sh since that is fixed now
5+
in stock code
6+
17
v3.12:
28
remove local copy of HelperResources
39

firstCompatibleVersion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v2.73

setup

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ headlessFlag=/etc/venus/headless
3434
restartGui=false
3535
overlayFile="/u-boot/overlays/rpi-backlight.dtbo"
3636
configFile="/u-boot/config.txt"
37-
guiStartFile="/opt/victronenergy/gui/start-gui.sh"
3837

3938
blankDeviceFile=/etc/venus/blank_display_device
4039
dimDeviceFile=/etc/venus/backlight_device
@@ -414,11 +413,8 @@ if [ $scriptAction == 'INSTALL' ]; then
414413
fi
415414

416415
# setup other paremeters for dimming
417-
updateActiveFile "$guiStartFile"
418416
logMessage "disabling AutoBrightness"
419417
dbus -y com.victronenergy.settings /Settings/Gui/AutoBrightness SetValue 0 > /dev/null
420-
logMessage "resetting /Settings/Gui/Brightness max for the RPI display (255)"
421-
dbus -y com.victronenergy.settings /Settings AddSettings '%[{"path": "/Gui/Brightness", "default":255, "min":0, "max":255}]' > /dev/null
422418
if [ ! -e $dimDeviceFile ] || [ $(grep -c $dimDevice "$dimDeviceFile") == 0 ]; then
423419
logMessage "setting up brightness control to $dimDevice"
424420
echo $dimDevice > "$dimDeviceFile"

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.12
1+
v3.13

0 commit comments

Comments
 (0)