[Pkg-alsa-devel] Bug#514661: alsa-base: Dropping the `lsof` dependency

Kai Hendry hendry at iki.fi
Mon Feb 9 22:25:36 UTC 2009


Package: alsa-base
Version: 1.0.17.dfsg-4
Severity: wishlist
Tags: patch

In a desktop build of debian live, i've noticed alsa drags in lsof as
well as python. I hope alsa can rid itself of the heavy python
dependency, though in the meantime I hope you'll at least drop lsof.

Attached is a patch and it's not as fast as lsof or fuser (from psmisc,
which is much faster than lsof).

http://stackoverflow.com/questions/526132/finding-processes-using-alsa-sound-fast

Anyway I don't think the small performance decrease is too bad, as I
assume force_unload_modules is called rarely.

Thank you,

-- 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 0xfe020000 irq 17
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
crw-rw---- 1 root audio 116,  0 2009-02-09 18:10 controlC0
crw-rw---- 1 root audio 116, 24 2009-02-09 18:10 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2009-02-09 22:11 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2009-02-09 18:10 pcmC0D1p
crw-rw---- 1 root audio 116,  1 2009-02-09 18:10 seq
crw-rw---- 1 root audio 116, 33 2009-02-09 18:10 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

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

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.17.dfsg-4 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.17-1   ALSA wrapper for OSS applications
ii  apmd                          3.2.2-12   Utilities for Advanced Power Manag
ii  oss-compat                    0.0.4+nmu2 OSS compatibility package

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

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa-lsof.patch
Type: text/x-diff
Size: 1273 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20090209/c8d74144/attachment.patch 


More information about the Pkg-alsa-devel mailing list