Subject: Bug#881661: alsa-utils: Please add Speaker+LO to unmute list

From: Samuel Thibault <[email-masked]>
Date: Mon, 13 Nov 2017 23:30:52 +0100

Package: alsa-utils
Version: 1.1.3-1
Severity: normal
Tags: patch

Hello,

On my laptop (HP EliteBook 820), the integrated speaker would be set
to 0% by default, and thus I'd have to plug headphone (which I may not
event have) to get any sound.  The attached patch fixes this by setting
it to 70% by default.

Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages alsa-utils depends on:
ii  dialog            1.3-20160828-2
ii  kmod              24-1
ii  libasound2        1.1.3-5
ii  libc6             2.24-18
ii  libfftw3-single3  3.3.6p2-2
ii  libncursesw5      6.0+20170902-1
ii  libsamplerate0    0.1.9-1
ii  libtinfo5         6.0+20170902-1
ii  lsb-base          9.20170808
ii  whiptail          0.52.20-1+b1

alsa-utils recommends no packages.

alsa-utils suggests no packages.

-- no debconf information

-- 
Samuel
<O> Ça peut être une madeleine à sous munitions (avec des composants,
par exemple)
 -+- #runtime -+-
Index: debian/utils.sh
===================================================================
--- debian/utils.sh	(révision 2980)
+++ debian/utils.sh	(copie de travail)
@@ -60,6 +60,7 @@
 	unmute_and_set_level "Master Digital" "80%"   # E.g., cs4237B
 	unmute_and_set_level "Playback" "80%"
 	unmute_and_set_level "Headphone" "70%"
+	unmute_and_set_level "Speaker+LO" "70%"
 	unmute_and_set_level "PCM" "80%"
 	unmute_and_set_level "PCM,1" "80%"   # E.g., ess1969
 	unmute_and_set_level "DAC" "80%"     # E.g., envy24, cs46xx