diff --git a/packages/jelos/sources/post-update b/packages/jelos/sources/post-update index bed601f2b..42ef973a8 100644 --- a/packages/jelos/sources/post-update +++ b/packages/jelos/sources/post-update @@ -119,3 +119,11 @@ then echo "Make sure weston is our default." >>${LOG} set_setting weston.startup "/usr/bin/start_es.sh" fi + +# Fixing asound.state on RG552 with broken values +if [ "${HW_DEVICE}" == "RG552" ] && \ + [ "$(grep -i 'value.*Invert' /storage/.config/asound.state)" ] +then + echo "Fix asound.state." >>${LOG} + cp /usr/config/asound.state /storage/.config/asound.state +fi