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-utils

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-1/debian/patches/add_extra_volume_defaults.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/patches/create_run_alsa.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/90-alsa-ucm.rules 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/control 2020-02-29 17:05:56.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/control 2020-03-04 16:44:43.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-1/debian/patches/unset_pulse_internal.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/patches/udev_test_alsactl.patch 2019-11-05 15:39:55.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/patches/vmware_audio_volume.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/patches/series 2020-02-29 16:48:00.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/patches/series 2020-03-04 16:44:43.000000000 +0000 @@ -5,3 +5,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-1/debian/README.init.cs4236 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/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-1/debian/docs 1970-01-01 00:00:00.000000000 +0000 +++ 1.2.2-1ubuntu1/debian/docs 2020-03-04 16:44:43.000000000 +0000 @@ -0,0 +1 @@ +debian/README.init.cs4236
  1. alsa-utils