From f8cf952645a5d432e05e363c23b08e9b7b9d1608 Mon Sep 17 00:00:00 2001 From: Kari Oikarinen Date: Mon, 11 Dec 2017 15:41:14 +0200 Subject: apalis-imx6: Increase default playback volume Task-number: QTBUG-53731 Change-Id: Id5a3d3a581e92c001c7400a70789ff4f16f34cb7 Reviewed-by: Sami Nurmenniemi Reviewed-by: Samuli Piippo --- .../0001-Increase-default-playback-volume.patch | 26 ++++++++++++++++++ recipes/alsa-utils/alsa-utils_%.bbappend | 32 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch create mode 100644 recipes/alsa-utils/alsa-utils_%.bbappend diff --git a/recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch b/recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch new file mode 100644 index 0000000..2c0530e --- /dev/null +++ b/recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch @@ -0,0 +1,26 @@ +From 804c0ca68e18a3e83ccbf49d0476fce3eb739477 Mon Sep 17 00:00:00 2001 +From: Kari Oikarinen +Date: Mon, 11 Dec 2017 13:55:27 +0200 +Subject: [PATCH] Increase default playback volume + +It is too quiet otherwise on Apalis iMX6. +--- + alsactl/init/default | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/alsactl/init/default b/alsactl/init/default +index 1c84f3e..af41576 100644 +--- a/alsactl/init/default ++++ b/alsactl/init/default +@@ -12,7 +12,7 @@ + + ENV{ppercent}:="75%" + ENV{cpercent}:="75%" +-ENV{pvolume}:="-20dB" ++ENV{pvolume}:="5dB" + ENV{cvolume}:="12dB" + ENV{has_pmaster_vol}:="false" + +-- +2.11.0 + diff --git a/recipes/alsa-utils/alsa-utils_%.bbappend b/recipes/alsa-utils/alsa-utils_%.bbappend new file mode 100644 index 0000000..ddb5c91 --- /dev/null +++ b/recipes/alsa-utils/alsa-utils_%.bbappend @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append_apalis-imx6 = "file://0001-Increase-default-playback-volume.patch" -- cgit v1.2.3-54-g00ecf