[pkg-fso-maint] Bug#496635: alsa-base: missing dependency alsa-utils

Luca Capello luca at pca.it
Tue Aug 26 10:22:55 UTC 2008


Package: alsa-base
Version: 1.0.16-2
Severity: minor
Tags: patch
User: pkg-fso-maint at lists.alioth.debian.org
Usertag: powermgmt-suspend

Hi,

I discovered this bug while trying to have APM/ACPI suspend to work [1]
on my Openmoko FreeRunner [2], but since it's a general problem, I'm
reporting it from my sid-amd64.

/etc/apm/scripts.d/alsa uses alsactl to store/restore sound volumes
during a suspension cycle, but I cannot find any reference about this
script in /usr/share/doc/alsa-base/README.Debian.gz.  This is annoying,
since this file already contains some tips for APM suspension.

The patch is trivial:

--8<---------------cut here---------------start------------->8---
--- README.Debian.gz.ORG
+++ README.Debian.gz
@@ -7,12 +7,13 @@
 loading modules
 creating device files
 reloading modules after suspension
+restoring sound volumes after APM suspension
 unloading modules
 initscript
 
 news
 ----
-Last updated 16 July 2005
+Last updated 26 July 2008
 
 
 loading modules
@@ -113,6 +114,14 @@
     force_unload_modules_before_suspend="snd-cs46xx snd-azx"
 
 
+restoring sound volumes across APM suspend-and-resume
+-----------------------------------------------------
+alsa-base provides an APM script in /etc/apm/scripts.d/alsa to
+automatically store/restore sound volumes during APM suspension.
+Since this option relies on alsactl, please install the recommended
+alsa-utils package.
+
+
 unloading modules
 -----------------
 If you want to unload ALSA driver modules then you will have to stop
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://lists.linuxtogo.org/pipermail/smartphones-standards/2008-August/000334.html
[2] http://wiki.debian.org/DebianOnFreeRunner

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libasound2     1.0.16-2       ALSA library
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.16.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xee240000 irq 17
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
crw-rw---- 1 root audio 116,  0 2008-08-23 16:38 controlC0
crw-rw---- 1 root audio 116, 24 2008-08-23 16:38 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2008-08-26 08:31 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2008-08-23 16:38 pcmC0D1p
crw-rw---- 1 root audio 116, 33 2008-08-23 16:38 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.16-2      base package for ALSA and OSS soun
ii  lsof                       4.78.dfsg.1-4 List open files
ii  module-init-tools          3.4-1         tools for managing Linux kernel mo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.16-2   ALSA utilities

Versions of packages alsa-base suggests:
ii  alsa-oss                      1.0.15-1   ALSA wrapper for OSS applications
pn  apmd                          <none>     (no description available)

Versions of packages libasound2 depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20080826/e0eb0f80/attachment.pgp 


More information about the pkg-fso-maint mailing list