[Pkg-alsa-devel] Bug#582723: alsa-base: Alsa does not load sound card when USB Midi is plugged in on startup

Jeremy Salwen jeremybubs at gmail.com
Sun May 23 06:23:21 UTC 2010

Package: alsa-base
Version: 1.0.21+dfsg-2.1
Severity: important

When my USB MIDI Controller (M-Audio Keystudio 49) is not plugged in on startup, alsa recognizes my sound card, and sound works fine.

However, when I plug in my controller before starting up, alsa does not load my sound card.

Note that everything works fine (including the controller) if I plug in the controller after booting up.

It seems to me that the problem is that alsa thinks that the MIDI Controller is my sound card, and thus does not load the actual one.
/proc/asound/cards says:
0 [KeyStudio      ]: USB-Audio - KeyStudio
                      M-Audio KeyStudio at usb-0000:00:03.0-3, full speed

/proc/asound/devices says:
 0: [ 0]   : control
  1:        : sequencer
  8: [ 0- 0]: raw midi
 33:        : timer

However, when I unplug my Keyboard (after booting up with it plugged in), alsa seems to find no sound card

/proc/asound/cards says: 
--- no soundcards ---

/proc/asound/devices says:
  1:        : sequencer
 33:        : timer

-- Package-specific info:
--- Begin additional package status ---
| 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.22-2       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 [KeyStudio      ]: USB-Audio - KeyStudio
                      M-Audio KeyStudio at usb-0000:00:03.0-3, full speed
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x  2 root root       60 May 23 02:09 by-id
drwxr-xr-x  2 root root       60 May 23 02:09 by-path
crw-rw----  1 root audio 116,  0 May 23 02:09 controlC0
crw-rw----  1 root audio 116,  8 May 23 02:09 midiC0D0
crw-rw----+ 1 root audio 116,  1 Dec 27  2010 seq
crw-rw----+ 1 root audio 116, 33 Dec 27  2010 timer
--- End /dev/snd/ listing ---

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

Kernel: Linux (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.21+dfsg-2.1 base package for ALSA and OSS soun
ii  lsof                     4.81.dfsg.1-1   List open files
ii  module-init-tools        3.12~pre2-3     tools for managing Linux kernel mo
ii  udev                     154-1           /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.22-1   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.10.2-6   Embedded GNU C Library: Shared lib

-- no debconf information

More information about the Pkg-alsa-devel mailing list