[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Alsa-devel] aoa drivers and alsa 1.0.12



At Fri, 25 Aug 2006 10:14:19 +0200,
Johannes Berg wrote:
> 
> Hi Elimar,
> 
> > ./configure \
> > --with-cards=aoa,aoa-fabric-layout,aoa-onyx,aoa-soundbus,aoa-soundbus-i2s
> > ends up with "Unsupported soundcard aoa-onyx"
> > 
> > ./configure \
> > --with-cards=aoa,aoa-fabric-layout,aoa-tas,aoa-soundbus,aoa-soundbus-i2s
> > ends up with "Unsupported soundcard aoa-tas"
> > 
> > aoa-toonie works.
> 
> Are you sure that shouldn't be called aoa-codec-onyx? But then again, I
> have absolutely no idea why it is this way. Also, can that code possibly
> compile? The latest I had can only compile with 2.6.18... And if it's an
> earlier code drop then toonie is broken...

This is likely a bug of build of external ALSA modules in alsa-driver
package.  (Note that he means not compile kernel tree but alsa-driver
tree externally.)

A patch below should fix a part of the problem but I don't know what
else is still missing.


Takashi

diff -r d7a51bd6a50c configure.in
--- a/configure.in	Tue Aug 22 16:33:55 2006 +0200
+++ b/configure.in	Tue Aug 22 17:06:20 2006 +0200
@@ -673,6 +673,11 @@ dnl Check for I2C drivers...
 dnl Check for I2C drivers...
 CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_I2C, [I2C driver in kernel])
 AC_SUBST(CONFIG_I2C)
+
+if test "$CONFIG_I2C" != ""; then
+CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_I2C_POWERMAC, [I2C_POWERMAC in kernel])
+# AC_SUBST(CONFIG_I2C_POWERMAC)
+fi
 
 dnl Check for firmware loader...
 CHECK_KERNEL_TRISTATE_CONFIG(CONFIG_FW_LOADER, [firmware loader])



Reply to: