[Pkg-alsa-devel] Bug#590606: alsa-base: No sound because of 2 USB devices. Order variable at each boots

yellow yellowprotoss at gmail.com
Tue Jul 27 19:08:28 UTC 2010


Package: alsa-base
Version: 1.0.23+dfsg-1
Severity: important


Dear Sir,

I like ALSA very much and LINUX visibly there is no SOUNDS in most reboot of my debian testing.
This is due to the false order in the device ordering, i.e. I may post you the outputs from the command lines:

I want to have  snd-hda-intel as first sound card, obliged to get any sound with this machine. 


my lsusb gives:
$ lsusb 
Bus 002 Device 006: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000
Bus 002 Device 005: ID 0556:0001 Asahi Kasei Microsystems Co., Ltd AK5370 I/F A/D Converter
Bus 002 Device 004: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 002 Device 003: ID 04f3:0216 Elan Microelectronics Corp. 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 066f:4200 SigmaTel, Inc. STIr4200 IrDA Bridge
Bus 001 Device 004: ID 147a:e017 Formosa Industrial Computing, Inc. eHome Infrared Receiver
Bus 001 Device 003: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



$ cat /etc/modprobe.d/sound.conf
# remove this file if you would like to make alsa automatic and not manual
## ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-3 snd-usb-audio
alias snd-card-4 snd-usb-audio


## module options should go here
options snd-hda-intel index=0 model=ref
options saa7134_alsa index=1
options snd_emu10k1 index=2
options snd-usb-audio index=3
options snd-usb-audio index=4





~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Live
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    Default Audio Device
front:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround40:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Live,DEV=0
    SB Live! [Unknown], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=Live,DEV=0
    SB Live! [Unknown], Multichannel Capture/PT Playback
    IEC958 (S/PDIF) Digital Audio Output



 cat /proc/asound/modules
 0 snd_usb_audio
 1 saa7134_alsa
 2 snd_emu10k1
 3 snd_usb_audio


But in ideally case, it would be :
cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_emu10k1
 2 saa7134_alsa
 3 snd_usb_audio
 4 snd_usb_audio





Any ideas what is going on? This time I have 2 USB devices, which is making quite some difficulties, ie. in most cases there is no sound at 90pct of the reboots.

Best regards







-- 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-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 [camera         ]: USB-Audio - USB camera
                      USB camera at usb-0000:00:1d.0-1.6, full speed
 1 [SAA7134        ]: SAA7134 - SAA7134
                      saa7134[0] at 0xfbeffc00 irq 17
 2 [Live           ]: EMU10K1 - SB Live! [Unknown]
                      SB Live! [Unknown] (rev.10, serial:0x80671102) at 0xe880, irq 16
 3 [default        ]: USB-Audio - AK5370          
                      AKM              AK5370           at usb-0000:00:1d.0-1.5, full speed
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x  2 root root       80 Jul 27 20:59 by-id
drwxr-xr-x  2 root root      120 Jul 27 20:59 by-path
crw-rw----+ 1 root audio 116,  7 Jul 27 20:59 controlC0
crw-rw----+ 1 root audio 116, 21 Jul 27 20:59 controlC1
crw-rw----+ 1 root audio 116, 16 Jul 27 20:59 controlC2
crw-rw----+ 1 root audio 116,  5 Jul 27 20:59 controlC3
crw-rw----+ 1 root audio 116,  8 Jul 27 20:59 hwC2D0
crw-rw----+ 1 root audio 116, 17 Jul 27 20:59 hwC2D2
crw-rw----+ 1 root audio 116,  9 Jul 27 20:59 midiC2D0
crw-rw----+ 1 root audio 116, 18 Jul 27 20:59 midiC2D1
crw-rw----+ 1 root audio 116, 19 Jul 27 20:59 midiC2D2
crw-rw----+ 1 root audio 116,  6 Jul 27 21:00 pcmC0D0c
crw-rw----+ 1 root audio 116, 20 Jul 27 20:59 pcmC1D0c
crw-rw----+ 1 root audio 116, 15 Jul 27 20:59 pcmC2D0c
crw-rw----+ 1 root audio 116, 14 Jul 27 20:59 pcmC2D0p
crw-rw----+ 1 root audio 116, 13 Jul 27 20:59 pcmC2D1c
crw-rw----+ 1 root audio 116, 12 Jul 27 20:59 pcmC2D2c
crw-rw----+ 1 root audio 116, 11 Jul 27 20:59 pcmC2D2p
crw-rw----+ 1 root audio 116, 10 Jul 27 20:59 pcmC2D3p
crw-rw----+ 1 root audio 116,  4 Jul 27 21:00 pcmC3D0c
crw-rw----+ 1 root audio 116,  3 Jul 27 20:59 seq
crw-rw----+ 1 root audio 116,  2 Jul 27 20:59 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (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.23+dfsg-1 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                       158-1         /dev/ and hotplug management daemo

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

Versions of packages alsa-base suggests:
pn  alsa-oss                      <none>     (no description available)
pn  apmd                          <none>     (no description available)
ii  oss-compat                    0.0.4+nmu3 OSS compatibility package

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

-- no debconf information





More information about the Pkg-alsa-devel mailing list