[Pkg-alsa-devel] Bug#297802: alsa-base: discover loads emu10k1-gp

Jeremy Jones Jeremy Jones <jjones46@gmail.com>, 297802@bugs.debian.org
Wed, 2 Mar 2005 18:12:07 -0600


Package: alsa-base
Version: 1.0.8-5
Severity: important

In trying to use the alsa drivers with my SB Live! (the cheap one), I
had issues with keeping the OSS driver's (emu10k1) gameport module
unloaded in favor of snd-emu10k1-synth.  After mucking around with
modules.conf and discover blacklists, I finally found what seems to
be a more correct solution.  I have added an entry for the "SB Live!
MIDI/Game Port" in /lib/discover/alsa-base.pci-device.xml and all is
well.  The alsa module is now "preferred" by discover.

My card is identified like this by discover:
1102 0002 Creative Labs SB Live! EMU10k1
1102 7002 Creative Labs SB Live! MIDI/Game Port

I added the following to /lib/discover/alsa-base.pci-device.xml just
after the EMU10k1 entry:

  <device model="7002" vendor="1102" model_name="SB Live! MIDI/Game Port">
    <data class="linux">
      <data class="module" version="[2.2,2.6)">
        <data class="name">snd-emu10k1-synth</data>
      </data>
    </data>
  </device>

Once this module is correct, the soundfont still has to be loaded before
the synths work.  You need the awesfx package, the *.sf2 from the win32
drivers (from creative), and something like this in /etc/modutils/

  post-install snd-emu10k1-synth /usr/bin/asfxload 2gmgsmt

Hope this helps!

Jeremy


-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages alsa-base depends on:
  ii  alsa-utils                    1.0.8-2    ALSA utilities
  ii  debconf                       1.4.30.11  Debian configuration
  ii  debianutils                   2.8.4      Miscellaneous utilities
  ii  lsof                          4.71-1     List open files.
  ii  modutils                      2.4.26-1.2 Linux module utilities

-- debconf information excluded