[Pkg-alsa-devel] Bug#619402: alsa-base: persistent names for audio adapters.

peasthope at shaw.ca peasthope at shaw.ca
Wed Mar 23 16:45:56 UTC 2011


Subject: alsa-base: persistent names for audio adapters.
Package: alsa-base
Version: 1.0.23+dfsg-2
Severity: normal

*** Please type your report below this line ***

Hello ALSA maintainers,

Persistent names are now routinely used for storage devices and for network adapters.  
Contemporary systems can have multiple audio adapters and, of course, a USB audio adapter 
should be hotpluggable.   Therefore I suggest addition of a script /lib/udev/write-sound-rules 
which would create /etc/udev/70-persistent-sound.rules.  This would solve the ambiguity 
and confusion and difficulty with identity of sound hardware.

If this suggestion interests you, I can offer a draft of the write-sound-rules script.

Regards,                      ... Peter E.
peasthope at shaw.ca


-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libasound2     1.0.23-2.1     shared library for ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.21.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [I82801BAICH2   ]: ICH - Intel 82801BA-ICH2
                      Intel 82801BA-ICH2 with AD1885 at irq 17
 1 [NX6000         ]: USB-Audio - MicrosoftAr LifeCam NX-6000
                      Microsoft MicrosoftAr LifeCam NX-6000 at usb-0000:01:0e.2-3, high speed
 2 [default        ]: USB-Audio - C-Media USB Headphone Set  
                      C-Media USB Headphone Set   at usb-0000:00:1f.2-1, full speed
 3 [default_1      ]: USB-Audio - C-Media USB Audio Device   
                      C-Media USB Audio Device    at usb-0000:01:0e.1-1, full speed
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x  2 root root      100 Mar 22 20:10 by-id
drwxr-xr-x  2 root root      120 Mar 22 20:10 by-path
crw-rw----+ 1 root audio 116, 12 Mar 22 20:10 controlC0
crw-rw----+ 1 root audio 116,  5 Mar 22 20:10 controlC1
crw-rw----+ 1 root audio 116,  8 Mar 22 20:10 controlC2
crw-rw----+ 1 root audio 116, 15 Mar 22 20:10 controlC3
crw-rw----+ 1 root audio 116, 11 Mar 22 20:10 pcmC0D0c
crw-rw----+ 1 root audio 116, 10 Mar 22 20:10 pcmC0D0p
crw-rw----+ 1 root audio 116,  9 Mar 22 20:10 pcmC0D1c
crw-rw----+ 1 root audio 116,  4 Mar 22 20:10 pcmC1D0c
crw-rw----+ 1 root audio 116,  7 Mar 23 07:46 pcmC2D0c
crw-rw----+ 1 root audio 116,  6 Mar 23 07:50 pcmC2D0p
crw-rw----+ 1 root audio 116, 14 Mar 22 20:10 pcmC3D0c
crw-rw----+ 1 root audio 116, 13 Mar 23 08:15 pcmC3D0p
crw-rw----+ 1 root audio 116,  3 Mar 22 20:10 seq
crw-rw----+ 1 root audio 116,  2 Mar 22 20:10 timer
--- End /dev/snd/ listing ---

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

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
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.23+dfsg-2 base package for ALSA and OSS soun
ii  lsof                       4.81.dfsg.1-1 List open files
ii  module-init-tools          3.12-1        tools for managing Linux kernel mo
ii  udev                       164-3         /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.23-3   Utilities for configuring and usin

Versions of packages alsa-base suggests:
pn  alsa-oss                      <none>     (no description available)
pn  apmd                          <none>     (no description available)
pn  oss-compat                    <none>     (no description available)

Versions of packages libasound2 depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

-- no debconf information

-- 
Telephone 1 360 450 2132.
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .






More information about the Pkg-alsa-devel mailing list