[Pkg-alsa-devel] Bug#279325: marked as done (alsa-base: mixer levels are not restored on system with udev)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 16 Jan 2005 11:48:18 -0800


Your message dated Sun, 16 Jan 2005 14:32:04 -0500
with message-id <E1CqG84-0002h7-00@newraff.debian.org>
and subject line Bug#279325: fixed in alsa-driver 1.0.8-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Nov 2004 11:15:47 +0000
>From md@linux.it Tue Nov 02 03:15:47 2004
Return-path: <md@linux.it>
Received: from attila.bofh.it [213.92.8.2] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1COwde-0007SL-00; Tue, 02 Nov 2004 03:15:47 -0800
Received: by attila.bofh.it (Postfix, from userid 10)
	id 557B15F727; Tue,  2 Nov 2004 12:15:44 +0100 (CET)
Received: by wonderland.linux.it (Postfix, from userid 1001)
	id A439C1C8CF; Tue,  2 Nov 2004 12:11:05 +0100 (CET)
Date: Tue, 2 Nov 2004 12:11:05 +0100
To: submit@bugs.debian.org
Subject: a better dev.d script
Message-ID: <20041102111105.GA5467@wonderland.linux.it>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="+HP7ph2BbKc20aGI"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
From: md@Linux.IT (Marco d'Itri)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: alsa-base
Version: 1.0.6a-8
Severity: normal

Installing /etc/dev.d/sound/alsa-base.dev is not such a great idea,
because the script will be run for every sound device created, which
are a large number.
So, I propose installing the attached script as
/etc/dev.d/snd/controlC0/alsa-base.dev instead.
/etc/dev.d/snd/controlC[0-4]/alsa-base.dev would be symlinks to it.

BTW, there is still the issue of /var/lib/alsa/asound.state not being
on the root file system and so not being available at the time dev.d
scripts are usually run. Probably, at least, alsactl should use
/etc/alsa/asound.state (which may be a symlink to the /var file by
default, I will leave this to your taste).

Please also do not install a file in /etc/udev/permissions.d/, there is
no reason to move permissions data from udev to other packages.

-- 
ciao, |
Marco | [8881 scQ2/wvjwgH.o]

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="alsa-base.dev"

#!/bin/sh -e
# This script restores and saves the card settings on creation and removal
# of the associated control device /dev/snd/controlC*.

dev_number="${DEVNAME#*/controlC}"

case "$dev_number" in
[0-9]*)
    ;;
*)
    echo "Cannot determine the card number for device '$DEVNAME'"
    exit 1
    ;;
esac

case "$ACTION" in
add)
    exec /usr/sbin/alsactl restore $dev_number
    ;;
remove)
    exec /usr/sbin/alsactl store $dev_number
    ;;
*)
    exit 0
    ;;
esac


--+HP7ph2BbKc20aGI--

---------------------------------------
Received: (at 279325-close) by bugs.debian.org; 16 Jan 2005 19:36:47 +0000
>From katie@ftp-master.debian.org Sun Jan 16 11:36:47 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CqGCd-000701-00; Sun, 16 Jan 2005 11:36:47 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CqG84-0002h7-00; Sun, 16 Jan 2005 14:32:04 -0500
From: Jordi Mallach <jordi@debian.org>
To: 279325-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#279325: fixed in alsa-driver 1.0.8-1
Message-Id: <E1CqG84-0002h7-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 16 Jan 2005 14:32:04 -0500
Delivered-To: 279325-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: alsa-driver
Source-Version: 1.0.8-1

We believe that the bug you reported is fixed in the latest version of
alsa-driver, which is due to be installed in the Debian FTP archive:

alsa-base_1.0.8-1_all.deb
  to pool/main/a/alsa-driver/alsa-base_1.0.8-1_all.deb
alsa-driver_1.0.8-1.diff.gz
  to pool/main/a/alsa-driver/alsa-driver_1.0.8-1.diff.gz
alsa-driver_1.0.8-1.dsc
  to pool/main/a/alsa-driver/alsa-driver_1.0.8-1.dsc
alsa-driver_1.0.8.orig.tar.gz
  to pool/main/a/alsa-driver/alsa-driver_1.0.8.orig.tar.gz
alsa-headers_1.0.8-1_all.deb
  to pool/main/a/alsa-driver/alsa-headers_1.0.8-1_all.deb
alsa-source_1.0.8-1_all.deb
  to pool/main/a/alsa-driver/alsa-source_1.0.8-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 279325@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-driver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 16 Jan 2005 19:59:02 +0100
Source: alsa-driver
Binary: alsa-source alsa-headers alsa-base
Architecture: source all
Version: 1.0.8-1
Distribution: unstable
Urgency: low
Maintainer: Jordi Mallach <jordi@debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description: 
 alsa-base  - ALSA driver configuration files
 alsa-headers - transitional package that can be safely removed
 alsa-source - ALSA driver sources
Closes: 279325 281546 287010 287499 288423 288706 289533 290663
Changes: 
 alsa-driver (1.0.8-1) unstable; urgency=low
 .
   * New upstream release
     - (Closes: #281546 "volume control crash on ICH6 + CMI9880")
     - (Closes: #287010 "Modules fail to build with Linux 2.6.9-pre3")
     - Create control device last rather than first
       (Closes: #279325 "mixer levels are not restored on system with udev")
   * Thomas Hood
     - patches:
       + 11_fix_context_of_vxpocket-patch    remove  (applied upstream)
       + 12_fix_context_of_pdaudiocf-patch   remove  (applied upstream)
       + 14_irqreturn_fix                    remove  (fixed upstream)
       + 15_fix_configure_sparc_code         remove  (fixed upstream)
       + 18_core_init_index.dpatch           add
         (Treat negative sound card index as index mask)
     - ALSA-card-list
       + Sync with upstream configure script, source files, INSTALL,
         doc/* and Documentation/ALSA-Configuration.txt files
       + Tag dummy and virtual cards as [UNREAL]
     - Start alsa at 12 rather than at 20, following Ubuntu's lead
     - Add /lib/alsa/modprobe-post-install to replace the script of the
       same name in /usr/lib/alsa/ in the alsa-utils package; modify
       /etc/mod(utils|probe.d)/alsa-base so that modprobe runs the
       former rather than the latter which isn't on the root filesystem
       (Closes: #288706)
     - Add /lib/alsa/dev to which the dev hook symlinks all now point.
       This does a run-parts on /etc/alsa/dev.d/.
     - debian/control
       + Depend on alsa-utils >> 1.0.7-2 since version 1.0.7-2 writes
         references to /usr/lib/alsa/modprobe-post-install into
         /etc/mod(utils|probe.d)/sound whereas 1.0.8-1 does not
       + Remove reference to alsaconf from long description
     - debian/alsa-source.templates, debian/po/*
       + Refrain from translating default field of select template, as
         suggested by lintian warning select-with-translated-default-field
     - debian/alsa-source.control, debian/alsa-source.rules
       + Don't normally Recommend a kernel-image
       + Add support for KDEP variable which is used by alsa-modules-i386
         to include a Dependency on a specific kernel-image package
     - debian/alsa-modules.postinst
       + force-stop and resume if modules are for running kernel
     - debian/control
       + Add "| kernel-source-2.4.27" to alsa-source's Recommendation
         of kernel-headers.  This eliminates lintian warning:
         virtual-package-depends-without-real-package-depends
     - debian/alsa-base.postinst
       + Improve code controlling whether or not snddevices gets run
       + Update dev hook symlinks
       + No longer recommend running alsaconf
       + Remove cruft from /etc/mod(utils|probe.d)/sound
       + Handle up to eight sound cards' control devices
     - debian/alsa-base.postrm
       + Handle up to eight sound cards' control devices
       + Remove more cruft
     - debian/alsa-base.dirs
       + Handle up to eight sound cards' control devices
       + Eliminate /etc/udev/permissions.d/
       + Add /var/run/alsa/
     - /etc/init.d/alsa
       + exit 0 unless alsa-base and alsa-utils both installed
       + Identify alsactl error message as merely a warning
       + 'Starting' -> 'Setting up'  (Closes: #289533)
       + Create /var/run/alsa/ on start if it's absent
       + On force-stop, write list of removed modules to the file
         /var/run/alsa/modules-removed.  This is used for reloading
         modules after resume.
       + Add "suspend" method which does force-stop and "resume"
         method which loads modules listed in the aforementioned file
     - /etc/default/alsa
       + Add comment for force_stop_modules_before_suspend
     - /etc/apm/scripts.d/alsa
       + Move from ../event.d/ and introduce symlinks to it from
         ../suspend.d/ and ../resume.d/
       + Use new initscript "suspend" and "resume" methods
     - /etc/mod(utils|probe.d)/alsa-base
       + Don't alias OSS module names to "off".  This was creating
         too much confusion.  (Closes: #287499, #290663)
       + Add "options ... index=-2" for modem and tv sound card drivers.
         This makes use of the index-mask feature introduced by
         18_core_init_index.dpatch  (Closes: #288423)
       + Add "options snd device_mode=0660" to /etc/modutils/alsa-base
       + Add "alias sount-slot-[0-7] snd-card-[0-7]"
       + Add "alias sound-service" lines to /etc/modprobe.d/alsa-base
       + Also load snd-seq-midi above snd-seq
     - /usr/share/doc/alsa-base/
       + Add useful documents from alsa-kernel/Documentation/
         to new subdirectory driver/.
     - /usr/share/doc/alsa-base/README.Debian,
       /usr/share/doc/alsa-source/README.Debian
       + Revise
Files: 
 a2594a01d5600f00ed301cec51752bfd 844 sound optional alsa-driver_1.0.8-1.dsc
 5d5e44e35ed109e2c293a20bd9d68489 2493810 sound optional alsa-driver_1.0.8.orig.tar.gz
 2e7081318f3baf9f24aef7e9138d7819 142746 sound optional alsa-driver_1.0.8-1.diff.gz
 c1a7b132d6e31254246f4ba693e96fdc 106782 sound optional alsa-base_1.0.8-1_all.deb
 978a54d36604c982718d39b96eab6847 2001248 sound optional alsa-source_1.0.8-1_all.deb
 0f03cb94b6b08dc3b04dae6a4936cca4 13244 sound optional alsa-headers_1.0.8-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB6rwtJYSUupF6Il4RAqPfAJ9vcdC+d8KkpR/AvQKp6meBpDjWOgCgpG+q
WpU6XacKEfbITB6++j+0Lgw=
=VQed
-----END PGP SIGNATURE-----