<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>159063</bug_id>
          
          <creation_ts>2006-12-25 01:31 0000</creation_ts>
          <short_desc>Default ALSA_CARDS on x86 includes unsupported driver (maestro3)</short_desc>
          <delta_ts>2006-12-26 07:11:01 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>158678</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>ed@catmur.co.uk</reporter>
          <assigned_to>alsa-bugs@gentoo.org</assigned_to>
          <cc>ticho@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2006-12-25 01:31:35 0000</bug_when>
            <thetext>checking for parallel port support... yes
checking for power management... yes
checking for which soundcards to compile driver for... configure: error: Unsupported soundcard maestro3

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/config.log

!!! ERROR: media-sound/alsa-driver-1.0.14_rc1 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  alsa-driver-1.0.14_rc1.ebuild, line 114:   Called econf &apos;--with-oss&apos; &apos;--without-debug&apos; &apos;--with-kernel=/usr/src/linux&apos; &apos;--with-build=/usr/src/linux&apos; &apos;--with-isapnp=yes&apos; &apos;--with-sequencer=yes&apos; &apos;--with-cards= ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&apos;
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

# grep -A3 ALSA_CARDS /usr/portage/profiles/default-linux/x86/make.defaults 
ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x \
        ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 \
        trident usb-audio via82xx via82xx-modem ymfpci&quot;

Please assign to ticho.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2006-12-25 01:44:19 0000</bug_when>
            <thetext>Also ymfpci.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-12-25 03:16:53 0000</bug_when>
            <thetext>maestro3 and ymfpci removed from default ALSA_CARDS, although I still can&apos;t understand why does it report as unsupported. From alsa-driver&apos;s acinclude.m4, you need CONFIG_SOUND, CONFIG_PCI and CONFIG_FW_LOADER options enabled - the same as f.e. for emu10k1, which works nicely.

Perhaps Diego can explain this mystery to me...

Anyway, thanks for the report, and sorry.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-12-25 04:48:14 0000</bug_when>
            <thetext>After changing from in-kernel alsa drivers to those provided by alsa-driver package, I was able to install this package using default ALSA_CARDS (including maestro3 and ymfpci). I have CONFIG_FW_LOADER enabled.

Perhaps alsa-driver should be checking for this kernel option for cards which need it? Diego?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-12-25 05:41:29 0000</bug_when>
            <thetext>It should indeed, the problem is that I couldn&apos;t know all of them offhand :)

Feel free to leave them in the defaults, CONFIG_FW_LOADER is now widespread enough not to be an hassle (as ISA is).
I&apos;ll fix it in a moment.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-12-25 05:50:38 0000</bug_when>
            <thetext>Fixed, now all the drivers that require CONFIG_FW_LOADER enabled will fail gracefully if it&apos;s disabled in-kernel.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2006-12-26 07:11:01 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Fixed, now all the drivers that require CONFIG_FW_LOADER enabled will fail
&gt; gracefully if it&apos;s disabled in-kernel.
 
So the default setup for ALSA in Gentoo now requires CONFIG_FW_LOADER?  I don&apos;t have a problem with that, but it should probably be documented in the upgrade notes for when the 1.0.14 ebuilds hit stable.

http://www.gentoo.org/doc/en/alsa-guide.xml#alsa-driver doesn&apos;t currently mention the default ALSA_CARDS setting or which configs are required for such.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>