[Pkg-alsa-devel] Bug#517675: Bug#517675: alsa-base: alsa won't work properly with snd-usb-audio after upgrade to lenny

Johannes Wiedersich johannes at physik.blm.tu-muenchen.de
Sun Mar 1 14:52:47 UTC 2009


Elimar Riesebieter wrote:
> * Johannes Wiedersich [090301 12:42 +0100]
>> Package: alsa-base
>> Version: 1.0.17.dfsg-4
>> Severity: important
> 
> What tells
> $ cat /proc/asound/version
> 
> If < 1.0.17 please build your driver from alsa-source_1.0.17.
> 
> How to build your driver read:
> /usr/share/doc/alsa-source/README

Thanks for your help.

I followed your advice and compiled the driver for i386:

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.
Compiled on Mar  1 2009 for kernel 2.6.26-1-686 (SMP).

yet, the situation is as before, ie. it works with the 16/48 setting,
but not at higher 'resolution'.


FWIW, I wasn't able to compile the module for the -amd64 kernel I
usually use (on my i386). It failed with:

/-----------------
15:39:48-root at e13-v21:/usr/src/linux-headers-2.6.26-1-amd64# make-kpkg
--rootcmd=fakeroot modules-image
exec debian/rules  DEBIAN_REVISION=2.6.26-1-amd64-10.00.Custom
ROOT_CMD=fakeroot  modules-image

[...]

make[4]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
  CC [M]  /usr/src/modules/alsa-driver/acore/hwdep.o
In file included from /usr/src/modules/alsa-driver/include/adriver.h:944,
                 from /usr/src/modules/alsa-driver/acore/hwdep.c:1:
include/linux/pci.h:598: error: expected identifier or ‘(’ before
numeric constant
In file included from /usr/src/modules/alsa-driver/acore/hwdep.c:1:
/usr/src/modules/alsa-driver/include/adriver.h: In function
‘snd_pci_orig_save_state’:
/usr/src/modules/alsa-driver/include/adriver.h:1186: error: too many
arguments to function ‘pci_save_state’
/usr/src/modules/alsa-driver/include/adriver.h: In function
‘snd_pci_orig_restore_state’:
/usr/src/modules/alsa-driver/include/adriver.h:1190: error: too many
arguments to function ‘pci_restore_state’
make[6]: *** [/usr/src/modules/alsa-driver/acore/hwdep.o] Error 1
make[5]: *** [/usr/src/modules/alsa-driver/acore] Error 2
make[4]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/usr/src/modules/alsa-driver'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.
Perhaps /usr/src/modules/alsa-driver does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/alsa-driver.
Hit return to Continue
\-----------------

(sorry for the wrapping in lieu of my mailer)

Cheers,

Johannes





More information about the Pkg-alsa-devel mailing list