Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: alsa-lib

alsa-lib (1.2.2-2.3ubuntu1) groovy; urgency=medium * debian/patches/0001-conf-USB-Audio-Add-HP-Thunderbolt-Dock-in-the-IEC958.patch: - Disable IEC958 on HP Thunderbolt Dock (lp: #1883670) -- Kai-Heng Feng <kai.heng.feng@canonical.com> Tue, 16 Jun 2020 17:44:37 +0800

Modifications :
  1. Download patch debian/patches/0001-conf-USB-Audio-Add-HP-Thunderbolt-Dock-in-the-IEC958.patch

    --- 1.2.2-2.3/debian/patches/0001-conf-USB-Audio-Add-HP-Thunderbolt-Dock-in-the-IEC958.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2.3ubuntu1/debian/patches/0001-conf-USB-Audio-Add-HP-Thunderbolt-Dock-in-the-IEC958.patch 2020-06-16 09:44:37.000000000 +0000 @@ -0,0 +1,31 @@ +From 0f87b814e7e1dc38c1f2a4af533148ed86bb1569 Mon Sep 17 00:00:00 2001 +From: Kai-Heng Feng <kai.heng.feng@canonical.com> +Date: Mon, 8 Jun 2020 15:09:23 +0800 +Subject: [PATCH] conf: USB-Audio: Add HP Thunderbolt Dock in the IEC958 + blacklist + +Both headset and speaker on HP Thunderbolt Dock don't support IEC958 +interface. + +Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> +Signed-off-by: Jaroslav Kysela <perex@perex.cz> +--- + src/conf/cards/USB-Audio.conf | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf +index 1c67793..23daab8 100644 +--- a/src/conf/cards/USB-Audio.conf ++++ b/src/conf/cards/USB-Audio.conf +@@ -58,6 +58,8 @@ USB-Audio.pcm.iec958_device { + "Scarlett 2i4 USB" 999 + "Sennheiser USB headset" 999 + "SWTOR Gaming Headset by Razer" 999 ++ "Thunderbolt Dock Audio Headset" 999 ++ "Thunderbolt Dock Audio Module" 999 + "USB Device 0x46d_0x821" 999 + "USB Device 0x46d_0x992" 999 + "WD15 Dock" 999 +-- +2.17.1 +
  2. Download patch debian/rules

    --- 1.2.2-2.3/debian/rules 2020-06-15 00:23:05.000000000 +0000 +++ 1.2.2-2.3ubuntu1/debian/rules 2020-02-29 15:51:16.000000000 +0000 @@ -38,17 +38,3 @@ override_dh_installchangelogs: override_dh_makeshlibs: dh_makeshlibs -- -c4 - -override_dh_auto_clean: - rm -rf doc/doxygen - rm -f src/control/ctl_symbols_list.c \ - src/control/libcontrol.la \ - src/hwdep/libhwdep.la \ - src/mixer/libmixer.la \ - src/pcm/libpcm.la \ - src/pcm/pcm_symbols_list.c \ - src/rawmidi/librawmidi.la \ - src/seq/libseq.la \ - src/timer/libtimer.la \ - src/ucm/libucm.la - dh_auto_clean
  3. Download patch debian/patches/series

    --- 1.2.2-2.3/debian/patches/series 2020-06-10 05:49:28.000000000 +0000 +++ 1.2.2-2.3ubuntu1/debian/patches/series 2020-06-16 09:44:37.000000000 +0000 @@ -1,2 +1,3 @@ 0001-Enabled-extended-namehints-in-alsa.conf.patch python3.8.diff +0001-conf-USB-Audio-Add-HP-Thunderbolt-Dock-in-the-IEC958.patch

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: alsa-plugins

alsa-plugins (1.2.2-1ubuntu1) focal; urgency=medium * Resynchronize With Debian, remaining changes - Drop libavcodec-dev, libavresample-dev and libavutil-dev build-deps, updated the description according to that. -- Sebastien Bacher <seb128@debian.org> Wed, 04 Mar 2020 09:40:30 +0100

Modifications :
  1. Download patch debian/control

    --- 1.2.2-1/debian/control 2020-02-29 16:15:35.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/control 2020-03-04 08:40:30.000000000 +0000 @@ -7,9 +7,6 @@ Uploaders: Jordi Mallach <jordi@debian.o Luke Yelavich <themuso@ubuntu.com> Build-Depends: debhelper-compat (= 12), libasound2-dev (>= 1.1.8), - libavcodec-dev, - libavresample-dev, - libavutil-dev, libdbus-1-dev (>= 1.4.12-3~), libjack-dev (>= 1:0.121.0+svn4538-2~), libpulse-dev (>= 0.99.1-1~),

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: alsa-ucm-conf

alsa-ucm-conf (1.2.2-1ubuntu1) groovy; urgency=medium * Fix the audio crash on the machine without Intel HDMI audio (lp: #1874698) -- Hui Wang <hui.wang@canonical.com> Mon, 25 May 2020 14:36:48 +0800

Modifications :
  1. Download patch debian/patches/series

    --- 1.2.2-1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/patches/series 2020-05-25 06:36:48.000000000 +0000 @@ -0,0 +1,3 @@ +0001-sof-hda-dsp-Support-systems-without-integrated-graph.patch +0002-sof-hda-dsp-change-Headphones2-to-Mic2.patch +
  2. Download patch debian/patches/0001-sof-hda-dsp-Support-systems-without-integrated-graph.patch

    --- 1.2.2-1/debian/patches/0001-sof-hda-dsp-Support-systems-without-integrated-graph.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/patches/0001-sof-hda-dsp-Support-systems-without-integrated-graph.patch 2020-05-25 06:36:48.000000000 +0000 @@ -0,0 +1,140 @@ +From 4722f5b3859903521ba0f92a64d86af31083ca50 Mon Sep 17 00:00:00 2001 +From: Kai Vehmanen <kai.vehmanen@linux.intel.com> +Date: Thu, 5 Mar 2020 14:59:56 +0200 +Subject: [PATCH] sof-hda-dsp: Support systems without integrated graphics + audio + +On systems where integrated graphics audio is not present +or is disabled, the HDMI PCM nodes are disabled. Add rules to +detect these systems by checking presence of HDMI jack controls +with UCM2 rules. + +Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> +Signed-off-by: Jaroslav Kysela <perex@perex.cz> +--- + ucm2/sof-hda-dsp/Hdmi.conf | 96 ++++++++++++++++++++++++-------------- + 1 file changed, 60 insertions(+), 36 deletions(-) + +diff --git a/ucm2/sof-hda-dsp/Hdmi.conf b/ucm2/sof-hda-dsp/Hdmi.conf +index be6cb39..6f2c4aa 100644 +--- a/ucm2/sof-hda-dsp/Hdmi.conf ++++ b/ucm2/sof-hda-dsp/Hdmi.conf +@@ -1,55 +1,79 @@ + # Use case Configuration for sof-hda-dsp + +-SectionDevice."HDMI1" { +- Comment "HDMI1/DP1 Output" ++If.hdmi1 { ++ Condition { ++ Type ControlExists ++ Control "iface=CARD,name='HDMI/DP,pcm=3 Jack'" ++ } ++ True { ++ SectionDevice."HDMI1" { ++ Comment "HDMI1/DP1 Output" + +- EnableSequence [ +- cset "name='IEC958 Playback Switch' on" +- ] ++ EnableSequence [ ++ cset "name='IEC958 Playback Switch' on" ++ ] + +- DisableSequence [ +- cset "name='IEC958 Playback Switch' off" +- ] ++ DisableSequence [ ++ cset "name='IEC958 Playback Switch' off" ++ ] + +- Value { +- PlaybackPriority 500 +- PlaybackPCM "hw:${CardId},3" +- JackControl "HDMI/DP,pcm=3 Jack" ++ Value { ++ PlaybackPriority 500 ++ PlaybackPCM "hw:${CardId},3" ++ JackControl "HDMI/DP,pcm=3 Jack" ++ } ++ } + } + } + +-SectionDevice."HDMI2" { +- Comment "HDMI2/DP2 Output" ++If.hdmi2 { ++ Condition { ++ Type ControlExists ++ Control "iface=CARD,name='HDMI/DP,pcm=4 Jack'" ++ } ++ True { ++ SectionDevice."HDMI2" { ++ Comment "HDMI2/DP2 Output" + +- EnableSequence [ +- cset "name='IEC958 Playback Switch',index=1 on" +- ] ++ EnableSequence [ ++ cset "name='IEC958 Playback Switch',index=1 on" ++ ] + +- DisableSequence [ +- cset "name='IEC958 Playback Switch',index=1 off" +- ] ++ DisableSequence [ ++ cset "name='IEC958 Playback Switch',index=1 off" ++ ] + +- Value { +- PlaybackPriority 600 +- PlaybackPCM "hw:${CardId},4" +- JackControl "HDMI/DP,pcm=4 Jack" ++ Value { ++ PlaybackPriority 600 ++ PlaybackPCM "hw:${CardId},4" ++ JackControl "HDMI/DP,pcm=4 Jack" ++ } ++ } + } + } + +-SectionDevice."HDMI3" { +- Comment "HDMI3/DP3 Output" ++If.hdmi3 { ++ Condition { ++ Type ControlExists ++ Control "iface=CARD,name='HDMI/DP,pcm=5 Jack'" ++ } ++ True { ++ SectionDevice."HDMI3" { ++ Comment "HDMI3/DP3 Output" + +- EnableSequence [ +- cset "name='IEC958 Playback Switch',index=2 on" +- ] ++ EnableSequence [ ++ cset "name='IEC958 Playback Switch',index=2 on" ++ ] + +- DisableSequence [ +- cset "name='IEC958 Playback Switch',index=2 off" +- ] ++ DisableSequence [ ++ cset "name='IEC958 Playback Switch',index=2 off" ++ ] + +- Value { +- PlaybackPriority 700 +- PlaybackPCM "hw:${CardId},5" +- JackControl "HDMI/DP,pcm=5 Jack" ++ Value { ++ PlaybackPriority 700 ++ PlaybackPCM "hw:${CardId},5" ++ JackControl "HDMI/DP,pcm=5 Jack" ++ } ++ } + } + } +-- +2.25.1 +
  3. Download patch debian/patches/0002-sof-hda-dsp-change-Headphones2-to-Mic2.patch

    --- 1.2.2-1/debian/patches/0002-sof-hda-dsp-change-Headphones2-to-Mic2.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/patches/0002-sof-hda-dsp-change-Headphones2-to-Mic2.patch 2020-05-25 06:36:48.000000000 +0000 @@ -0,0 +1,58 @@ +From 907c8309b2ee671e1b36630b0d29db1bc3124990 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela <perex@perex.cz> +Date: Mon, 6 Apr 2020 17:37:20 +0200 +Subject: [PATCH] sof-hda-dsp: change Headphones2 to Mic2 + +Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/19 + +Signed-off-by: Jaroslav Kysela <perex@perex.cz> +--- + ucm2/sof-hda-dsp/HiFi.conf | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/ucm2/sof-hda-dsp/HiFi.conf b/ucm2/sof-hda-dsp/HiFi.conf +index 60a8693..9a82930 100644 +--- a/ucm2/sof-hda-dsp/HiFi.conf ++++ b/ucm2/sof-hda-dsp/HiFi.conf +@@ -6,7 +6,7 @@ SectionVerb { + ] + } + +-SectionDevice."Headphones1" { ++SectionDevice."Headphones" { + Comment "Headphones" + + EnableSequence [ +@@ -85,9 +85,9 @@ If.monomic { + Control "name='Input Source'" + ControlEnum "Headphone Mic" + } +- After.SectionDevice "Mic" ++ After.SectionDevice "Mic1" + True { +- SectionDevice."Headphones2" { ++ SectionDevice."Mic2" { + Comment "Headphones Stereo Microphone" + + ConflictingDevice [ +@@ -120,7 +120,7 @@ If.monomic { + } + } + False { +- SectionDevice."Headphones2" { ++ SectionDevice."Mic2" { + Comment "Headphones Stereo Microphone" + + Value { +@@ -132,7 +132,7 @@ If.monomic { + } + } + +-SectionDevice."Mic" { ++SectionDevice."Mic1" { + Comment "Digital Microphone" + + Value { +-- +2.25.1 +

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: alsa-utils

alsa-utils (1.2.2-2ubuntu1) groovy; urgency=medium * Cherry pick changes from Debian [ Sandro Tosi ] * Switch b-d from python-docutils to python3-docutils; Closes: #942905 [ Jordi Mallach ] * Avoid alsa-info calling home to check for updates unless explicitly invoked with --update (closes: #962073). Thanks to Christoph Berg for reporting this. -- Sebastien Bacher <seb128@ubuntu.com> Wed, 05 Aug 2020 13:29:07 +0200 alsa-utils (1.2.2-1ubuntu1) focal; urgency=medium * Resynchronize on Debian -- Sebastien Bacher <seb128@ubuntu.com> Wed, 04 Mar 2020 17:46:27 +0100

Modifications :
  1. Download patch debian/patches/add_extra_volume_defaults.patch

    --- 1.2.2-2/debian/patches/add_extra_volume_defaults.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/patches/add_extra_volume_defaults.patch 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1,113 @@ +Index: alsa-utils-1.1.1/alsactl/init/default +=================================================================== +--- alsa-utils-1.1.1.orig/alsactl/init/default ++++ alsa-utils-1.1.1/alsactl/init/default +@@ -206,6 +206,12 @@ CTL{name}="DAC Playback Switch",CTL{do_s + CTL{values}="on" + + CTL{reset}="mixer" ++CTL{name}="DAC Playback Volume",CTL{index}="1",CTL{do_search}=="1", \ ++ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" ++CTL{name}="DAC Playback Switch",CTL{index}="1",CTL{do_search}=="1", \ ++ CTL{values}="on" ++ ++CTL{reset}="mixer" + CTL{name}="Synth Playback Volume",CTL{do_search}=="1", \ + CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" + CTL{name}="Synth Playback Switch",CTL{do_search}=="1", \ +@@ -247,6 +253,81 @@ CTL{name}="AC97 Playback Volume",CTL{do_ + CTL{name}="AC97 Playback Switch",CTL{do_search}=="1", \ + CTL{values}="on" + ++# Ubuntu bug #19648 ++CTL{reset}="mixer" ++CTL{name}="IEC958 Switch",CTL{do_search}=="1", \ ++ CTL{values}="off" ++CTL{name}="IEC958 Capture Monitor",CTL{do_search}=="1", \ ++ CTL{values}="off" ++# Ubuntu #408370 ++CTL{name}="Optical Raw Playback Switch",CTL{do_search}=="1", \ ++ CTL{values}="off" ++ ++# Ubuntu unknown bug (bug nr probably similar to 5813) ++CTL{reset}="mixer" ++CTL{name}="Master Surround Playback Volume",CTL{do_search}=="1", \ ++ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" ++CTL{name}="Master Surround Playback Switch",CTL{do_search}=="1", \ ++ CTL{values}="on" ++ ++# dropped - name not present in kernel 2.6.38: ++# Dynamic Range Compression Volume/Switch ++# VIA DXS ++ ++# Ubuntu - Required for SB Live 7.1/24-bit (ca0106) ++CTL{reset}="mixer" ++CTL{name}="Analog Front Playback Volume",CTL{do_search}=="1", \ ++ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" ++CTL{name}="Analog Front Playback Switch",CTL{do_search}=="1", \ ++ CTL{values}="on" ++ ++# Ubuntu #597791 ++CTL{reset}="mixer" ++CTL{name}="Front Speaker Playback Volume",CTL{do_search}=="1", \ ++ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" ++CTL{name}="Front Speaker Playback Switch",CTL{do_search}=="1", \ ++ CTL{values}="on" ++ ++# Ubuntu #331589 ++CTL{reset}="mixer" ++CTL{name}="PC Beep Playback Volume",CTL{do_search}=="1", \ ++ CTL{values}="0%" ++CTL{name}="PC Beep Playback Switch",CTL{do_search}=="1", \ ++ CTL{values}="off" ++ ++# Required for hardware allowing toggles for AC97 through IEC958, ++# valid values are 0, 1, 2, 3. Needs to be set to 0 for PCM1. ++CTL{reset}="mixer" ++CTL{name}="IEC958 Playback AC97-SPSA",CTL{do_search}=="1", \ ++ CTL{values}="0" ++ ++# Required on some notebooks with ICH4: ++CTL{reset}="mixer" ++CTL{name}="Headphone Jack Sense",CTL{do_search}=="1", \ ++ CTL{values}="off" ++CTL{name}="Line Jack Sense",CTL{do_search}=="1", \ ++ CTL{values}="off" ++ ++CTL{reset}="mixer" ++CTL{name}="Audigy Analog/Digital Output Jack",CTL{do_search}=="1", \ ++ CTL{values}="off" ++CTL{name}="SB Live Analog/Digital Output Jack",CTL{do_search}=="1", \ ++ CTL{values}="off" ++ ++# HDA-Intel w/ "Digital" capture mixer (See Ubuntu #193823) ++CTL{reset}="mixer" ++CTL{name}="Digital Playback Volume",CTL{do_search}=="1", \ ++ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" ++CTL{name}="Digital Playback Switch",CTL{do_search}=="1", \ ++ CTL{values}="on" ++ ++# Dove boards need 'Line HP Swap' unmuted for the jack adjacent ++# to the serial port (Ubuntu #451635) ++CTL{reset}="mixer" ++CTL{name}="Line HP Swap Switch",CTL{do_search}=="1", \ ++ CTL{values}="on" ++ ++ + # + # Powermacs + # +@@ -272,11 +353,13 @@ LABEL="" + + CTL{name}="Input Source",PROGRAM!="__ctl_search", GOTO="" + CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO="" ++CTL{enums}=="*|Digital Mic|*",CTL{values}="Digital Mic", GOTO="" + CTL{enums}=="*|Mic|*",CTL{values}="Mic" + LABEL="" + + CTL{name}="Digital Input Source",PROGRAM!="__ctl_search", GOTO="" + CTL{enums}=="*|Digital Mic 1|*",CTL{values}="Digital Mic 1", GOTO="" ++CTL{enums}=="*|Digital Mic|*",CTL{values}="Digital Mic", GOTO="" + CTL{enums}=="*|Mic|*",CTL{values}="Mic" + LABEL="" +
  2. Download patch debian/patches/create_run_alsa.patch

    --- 1.2.2-2/debian/patches/create_run_alsa.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/patches/create_run_alsa.patch 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1,22 @@ +Index: alsa-utils-1.2.1/alsactl/alsa-restore.service.in +=================================================================== +--- alsa-utils-1.2.1.orig/alsactl/alsa-restore.service.in ++++ alsa-utils-1.2.1/alsactl/alsa-restore.service.in +@@ -12,5 +12,6 @@ ConditionPathExistsGlob=/dev/snd/control + [Service] + Type=oneshot + RemainAfterExit=true ++ExecStartPre=/bin/mkdir -p @alsactlhome@ + ExecStart=-@sbindir@/alsactl -E HOME=@alsactlhome@ -E XDG_RUNTIME_DIR=@alsactlruntime@ restore + ExecStop=-@sbindir@/alsactl -E HOME=@alsactlhome@ -E XDG_RUNTIME_DIR=@alsactlruntime@ store +Index: alsa-utils-1.2.1/alsactl/alsa-state.service.in +=================================================================== +--- alsa-utils-1.2.1.orig/alsactl/alsa-state.service.in ++++ alsa-utils-1.2.1/alsactl/alsa-state.service.in +@@ -10,5 +10,6 @@ ConditionPathExists=@daemonswitch@ + + [Service] + Type=simple ++ExecStartPre=/bin/mkdir -p @alsactlhome@ + ExecStart=-@sbindir@/alsactl -E HOME=@alsactlhome@ -E XDG_RUNTIME_DIR=@alsactlruntime@ -s -n 19 -c rdaemon + ExecStop=-@sbindir@/alsactl -E HOME=@alsactlhome@ -E XDG_RUNTIME_DIR=@alsactlruntime@ -s kill save_and_quit
  3. Download patch debian/90-alsa-ucm.rules

    --- 1.2.2-2/debian/90-alsa-ucm.rules 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/90-alsa-ucm.rules 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1,14 @@ +SUBSYSTEM!="sound", GOTO="sound_end" +ACTION!="change", GOTO="sound_end" +KERNEL!="card*", GOTO="sound_end" + +ATTRS{id}=="PandaBoard", RUN+="/usr/bin/alsaucm -c PandaBoard set _verb HiFi" +ATTRS{id}=="PandaBoard", RUN+="/usr/bin/alsaucm -c PandaBoard set _verb Record" +ATTRS{id}=="PandaBoardES", RUN+="/usr/bin/alsaucm -c PandaBoardES set _verb HiFi" +ATTRS{id}=="PandaBoardES", RUN+="/usr/bin/alsaucm -c PandaBoardES set _verb Record" +ATTRS{id}=="SDP4430", RUN+="/usr/bin/alsaucm -c SDP4430 set _verb HiFi" +ATTRS{id}=="SDP4430", RUN+="/usr/bin/alsaucm -c SDP4430 set _verb Record" +ATTRS{id}=="tegraalc5632", RUN+="/usr/bin/alsaucm -c tegraalc5632" +ATTRS{id}=="DAISY-I2S", RUN+="/usr/bin/alsaucm -c DAISY-I2S set _verb HiFi" + +LABEL="sound_end"
  4. Download patch debian/control

    --- 1.2.2-2/debian/control 2020-06-30 05:01:09.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/control 2020-08-05 11:29:07.000000000 +0000 @@ -1,7 +1,8 @@ Source: alsa-utils Section: sound Priority: optional -Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org> Uploaders: Jordi Mallach <jordi@debian.org>, Elimar Riesebieter <riesebie@lxtec.de>, Luke Yelavich <themuso@ubuntu.com>
  5. Download patch debian/patches/unset_pulse_internal.patch

    --- 1.2.2-2/debian/patches/unset_pulse_internal.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/patches/unset_pulse_internal.patch 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1,59 @@ +Index: alsa-utils-1.1.1/alsamixer/cli.c +=================================================================== +--- alsa-utils-1.1.1.orig/alsamixer/cli.c ++++ alsa-utils-1.1.1/alsamixer/cli.c +@@ -123,6 +123,10 @@ int main(int argc, char *argv[]) + textdomain(PACKAGE); + #endif + ++ /* We don't want to control a pulseaudio mixer, since that can be done from ++ * pulseaudio itself. */ ++ setenv("PULSE_INTERNAL", "0", 1); ++ + parse_options(argc, argv); + + create_mixer_object(&selem_regopt); +Index: alsa-utils-1.1.1/amixer/amixer.c +=================================================================== +--- alsa-utils-1.1.1.orig/amixer/amixer.c ++++ alsa-utils-1.1.1/amixer/amixer.c +@@ -1764,6 +1764,11 @@ int main(int argc, char *argv[]) + { + int morehelp, level = 0; + int read_stdin = 0; ++ ++ /* We don't want to control a pulseaudio mixer, since that can be done ++ * from pulseaudio itself. */ ++ setenv("PULSE_INTERNAL", "0", 1); ++ + static const struct option long_option[] = + { + {"help", 0, NULL, 'h'}, +Index: alsa-utils-1.1.1/iecset/iecset.c +=================================================================== +--- alsa-utils-1.1.1.orig/iecset/iecset.c ++++ alsa-utils-1.1.1/iecset/iecset.c +@@ -324,6 +324,10 @@ int main(int argc, char **argv) + char tmpname[32]; + int parms[IDX_LAST]; + ++ /* We don't want to control a pulseaudio mixer, since that can be done ++ * from pulseaudio itself. */ ++ setenv("PULSE_INTERNAL", "0", 1); ++ + for (i = 0; i < IDX_LAST; i++) + parms[i] = -1; /* not set */ + +Index: alsa-utils-1.1.1/alsactl/alsactl.c +=================================================================== +--- alsa-utils-1.1.1.orig/alsactl/alsactl.c ++++ alsa-utils-1.1.1/alsactl/alsactl.c +@@ -171,6 +171,8 @@ static void do_nice(int use_nice, int sc + + int main(int argc, char *argv[]) + { ++ setenv("PULSE_INTERNAL", "0", 1); ++ + static const char *const devfiles[] = { + "/dev/snd/controlC", + "/dev/snd/pcmC",
  6. Download patch debian/patches/udev_test_alsactl.patch

    --- 1.2.2-2/debian/patches/udev_test_alsactl.patch 2019-11-05 15:39:55.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/patches/udev_test_alsactl.patch 2020-03-04 16:44:43.000000000 +0000 @@ -4,11 +4,12 @@ Description: Test for availability of al not be available at boot time on separate /usr systems. Forwarded: no Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713916 +Last-Update: 2020-01-29 -Index: alsa-utils-1.1.3/alsactl/90-alsa-restore.rules.in +Index: alsa-utils-1.2.1/alsactl/90-alsa-restore.rules.in =================================================================== ---- alsa-utils-1.1.3.orig/alsactl/90-alsa-restore.rules.in -+++ alsa-utils-1.1.3/alsactl/90-alsa-restore.rules.in +--- alsa-utils-1.2.1.orig/alsactl/90-alsa-restore.rules.in ++++ alsa-utils-1.2.1/alsactl/90-alsa-restore.rules.in @@ -2,7 +2,7 @@ ACTION=="add", SUBSYSTEM=="sound", KERNE GOTO="alsa_restore_end"
  7. Download patch debian/patches/vmware_audio_volume.patch

    --- 1.2.2-2/debian/patches/vmware_audio_volume.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/patches/vmware_audio_volume.patch 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1,45 @@ +Index: alsa-utils-1.1.3/alsactl/init/Makefile.am +=================================================================== +--- alsa-utils-1.1.3.orig/alsactl/init/Makefile.am ++++ alsa-utils-1.1.3/alsactl/init/Makefile.am +@@ -1,7 +1,7 @@ + + init_files = \ + 00main default help info test \ +- hda ca0106 ++ hda ca0106 ens1371 + EXTRA_DIST = $(init_files) + alsainitdir = $(datadir)/alsa/init + alsainit_DATA = $(init_files) +Index: alsa-utils-1.1.3/alsactl/init/00main +=================================================================== +--- alsa-utils-1.1.3.orig/alsactl/init/00main ++++ alsa-utils-1.1.3/alsactl/init/00main +@@ -32,6 +32,7 @@ RESULT=="skip", GOTO="init_end" + # real ALSA configuration database + CARDINFO{driver}=="HDA-Intel", INCLUDE="hda", GOTO="init_end" + CARDINFO{driver}=="CA0106", INCLUDE="ca0106", GOTO="init_end" ++CARDINFO{driver}=="ENS1371", INCLUDE="ens1371", GOTO="init_end" + CARDINFO{driver}=="Test", INCLUDE="test", GOTO="init_end" + + LABEL="init_end" +Index: alsa-utils-1.1.3/alsactl/init/ens1371 +=================================================================== +--- /dev/null ++++ alsa-utils-1.1.3/alsactl/init/ens1371 +@@ -0,0 +1,15 @@ ++# Configuration for ensoniq based cards ++ ++CARDINFO{mixername}=="Cirrus Logic CS4297A rev 3", \ ++ ATTR{subsystem_vendor}=="0x1274", ATTR{subsystem_device}=="0x1371", \ ++ GOTO="vmware-ac97" ++RESULT="false", EXIT="return" ++ ++LABEL="vmware-ac97" ++# playback ++CTL{reset}="mixer" ++CTL{name}="Master Playback Volume", CTL{value}="0dB,0dB" ++CTL{name}="Master Playback Switch", CTL{value}="on" ++CTL{name}="PCM Playback Volume", CTL{value}="51dB,51dB" ++CTL{name}="PCM Playback Switch", CTL{value}="on" ++RESULT="true", EXIT="return"
  8. Download patch debian/patches/series

    --- 1.2.2-2/debian/patches/series 2020-06-30 05:07:55.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/patches/series 2020-08-05 11:29:07.000000000 +0000 @@ -6,3 +6,7 @@ udev_test_alsactl.patch spellfixes.patch systemd_Documentation_key.patch Don-t-run-both-systemd-services-in-paralell.patch +unset_pulse_internal.patch +add_extra_volume_defaults.patch +vmware_audio_volume.patch +create_run_alsa.patch
  9. Download patch debian/README.init.cs4236

    --- 1.2.2-2/debian/README.init.cs4236 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/README.init.cs4236 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1,45 @@ +#! /bin/bash + +## Provided by Mkarcher at http://www.thinkwiki.org/wiki/Script_for_configuring_the_CS4239_sound_chip_in_PnP_mode +## Modified by Daniel T Chen for Debian/Ubuntu, redistributable +## under GPLv2 or later + +for dev in /sys/bus/pnp/devices/* +do + grep CSC0100 $dev/id > /dev/null && WSSDEV=$dev + grep CSC0110 $dev/id > /dev/null && CTLDEV=$dev +done + +echo activate > $WSSDEV/resources +echo activate > $CTLDEV/resources + +{ read + read bla port1 + read bla port2 + read bla port3 + read bla irq + read bla dma1 + read bla dma2 + # Hack: with PnPBIOS: ports are: port1: WSS, port2: OPL, port3: sb (unneeded) + # with ACPI-PnP:ports are: port1: OPL, port2: sb, port3: WSS + # (ACPI bios seems to be wrong here, the PnP-card-code in snd-cs4236.c uses the + # PnPBIOS port order) + # Detect port order using the fixed OPL port as reference + if [ ${port2%%-*} = 0x388 ] + then + # PnPBIOS: usual order + port=${port1%%-*} + oplport=${port2%%-*} + else + # ACPI: mixed-up order + port=${port3%%-*} + oplport=${port1%%-*} + fi + } < $WSSDEV/resources + +{ read + read bla port1 + cport=${port1%%-*} +} < $CTLDEV/resources + +modprobe snd-cs4236 port=$port cport=$cport fm_port=$oplport irq=$irq dma1=$dma1 dma2=$dma2 isapnp=0
  10. Download patch debian/docs

    --- 1.2.2-2/debian/docs 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-2ubuntu1/debian/docs 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1 @@ +debian/README.init.cs4236
  1. alsa-lib
  2. alsa-plugins
  3. alsa-ucm-conf
  4. alsa-utils