Bug 145

Summary: ALSA: SB-AWE ISA detection fails
Product: Drivers Reporter: MartinP (maddinp)
Component: Sound(ALSA)Assignee: Zwane Mwaikambo (zwane)
Status: REJECTED DUPLICATE    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: Subsystem:
Regression: --- Bisected commit-id:

Description MartinP 2002-12-06 11:24:47 UTC
Exact Kernel version: 2.5.50
Hardware Environment: isa sb-awe32 
Software Environment: 
  Kernel with ALSA-SB16 and PNP stuff compiled in; i586/GCC 3.2

Problem Description:
  ALSA says "ALSA: no soundcards found".

  Yet, pnp still reports the quirks (adding 2 Ports)
  and (with debug enabled) ALSA says it's probing the 4 ports 220-280

Steps to reproduce: simply boot


* I think the ALSA-SB16 driver fails to call PNP
  to set up the soundcard's ports,
* There's no hint how to use the "snd_sbawe=...." parameter
* with AWE-CSP enabled compiling fails because
  in sound/isa/sb/???csp.c (around line 684)
  the global "int[] csp" and a local "int csp" are mixed
Comment 1 Ruslan U. Zakirov 2003-01-04 08:45:05 UTC
* If you've compiled kernel with PNP support, but you AWE card doesn't support
it then you have to use "snd_sbawe=..." parameters and set pnp to 0.
* Hint how to use the "snd_sbawe=...." parameter is in sound/isa/sb/sb16.c at
the end of file.
* Compilation problem with CSP support solved in 2.5.53.
Comment 2 MartinP 2003-03-19 02:47:42 UTC
> Status changed to closed
Sorry, as of 2.5.65 -> negative

  gcc -Wp,-MD,sound/isa/sb/.sb16.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default
-fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=sb16
-DKBUILD_MODNAME=snd_sb16 -c -o sound/isa/sb/sb16.o sound/isa/sb/sb16.c
sound/isa/sb/sb16.c: In function `snd_sb16_isapnp':
sound/isa/sb/sb16.c:279: warning: implicit declaration of function `isapnp_find_dev'
sound/isa/sb/sb16.c:279: warning: assignment makes pointer from integer without
a cast
sound/isa/sb/sb16.c:280: structure has no member named `active'
sound/isa/sb/sb16.c:293: structure has no member named `prepare'
sound/isa/sb/sb16.c:296: warning: implicit declaration of function
`isapnp_resource_change'
sound/isa/sb/sb16.c:307: structure has no member named `activate'
sound/isa/sb/sb16.c: In function `snd_sb16_deactivate':
sound/isa/sb/sb16.c:347: structure has no member named `deactivate'
sound/isa/sb/sb16.c: In function `alsa_card_sb16_init':
sound/isa/sb/sb16.c:632: warning: implicit declaration of function
`isapnp_probe_cards'
make[3]: *** [sound/isa/sb/sb16.o] Error 1

Comment 3 Zwane Mwaikambo 2003-05-04 07:28:28 UTC

*** This bug has been marked as a duplicate of 135 ***