2002-11-26 07:49:58

by Shawn Starr

[permalink] [raw]
Subject: [PROBLEM][SOUND][2.5] - ALSA & OSS cannot find SBAWE32 Card

NOTE: all drivers compiled into kernel.

Spec of machine:

AP/AX53 AOpen Motherboard (Revision 4)
64MB RAM
Sound Blaster 32-AWE w/ CSP (2MB installed)
Pentium 233MMX

Enabled:

[*] Plug and Play support
[*] Plug and Play device name database
[*] PnP Debug Messages
Protocols
[*] ISA Plug and Play support (EXPERIMENTAL)
[*] Plug and Play BIOS support (EXPERIMENTAL)

dmesg 2.5 - OSS:
========
isapnp: Scanning for PnP cards...
isapnp: Card 'Creative SB32 PnP'
isapnp: 1 Plug & Play card detected total
pnp: Calling quirk for 01:01.00
pnp: SB audio device quirk - increasing port range
pnp: Calling quirk for 01:01.02
pnp: AWE32 quirk - adding two ports
.....
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
sb: I/O, IRQ, and DMA are mandatory
AWE32: No ISAPnP cards found
AWE32: not detected

dmesg 2.5 - ALSA:
==============

isapnp: Scanning for PnP cards...
isapnp: Card 'Creative SB32 PnP'
isapnp: 1 Plug & Play card detected total
pnp: Calling quirk for 01:01.00
pnp: SB audio device quirk - increasing port range
pnp: Calling quirk for 01:01.02
pnp: AWE32 quirk - adding two ports
...
Advanced Linux Sound Architecture Driver Version 0.9.0rc5 (Sun Nov 10 19:48:18 2002 UTC).
request_module[snd-card-0]: not ready
request_module[snd-card-1]: not ready
request_module[snd-card-2]: not ready
request_module[snd-card-3]: not ready
request_module[snd-card-4]: not ready
request_module[snd-card-5]: not ready
request_module[snd-card-6]: not ready
request_module[snd-card-7]: not ready
ALSA device list:
No soundcards found.

dmesg 2.4.20-pre7 - OSS: - WORKS
============================

isapnp: Scanning for PnP cards...
isapnp: SB audio device quirk - increasing port range
isapnp: AWE32 quirk - adding two ports
isapnp: Card 'Creative SB32 PnP'
isapnp: 1 Plug & Play card detected total
...
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: Creative SB32 PnP detected
sb: ISAPnP reports 'Creative SB32 PnP' at i/o 0x220, irq 5, dma 1, 5
<Sound Blaster 16 (4.13)> at 0x220 irq 5 dma 1,5
<Sound Blaster 16> at 0x330 irq 5 dma 0,0
sb: 1 Soundblaster PnP card(s) found.
ISAPnP reports AWE32 WaveTable at i/o 0x620
<SoundBlaster EMU8000 (RAM2048k)>

--
Someone else I'm talking to is reporting the same problem :/. ISAPNP busted in 2.5? ;)

Shawn.


2002-11-26 08:51:26

by Joseph Fannin

[permalink] [raw]
Subject: Re: [PROBLEM][SOUND][2.5] - ALSA & OSS cannot find SBAWE32 Card

On Tue, Nov 26, 2002 at 02:58:05AM -0500, Shawn Starr wrote:

> ALSA device list:
> No soundcards found.
>
> dmesg 2.4.20-pre7 - OSS: - WORKS
> ============================

Me too!

In 2.5.47 mainline and 2.5.49-ac1 the ALSA drivers (either sb16 or
sbawe) load but don't detect devices if PNP support is built in. The
same card (an awe64) works fine under 2.4.19.

Without PNP sb16 works (with only sb16 features) but sbawe will
not load, complaining that it can't find the awe bits.

--
Joseph Fannin
[email protected]


Attachments:
(No filename) (541.00 B)
(No filename) (189.00 B)
Download all attachments

2002-11-26 15:36:31

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: [PROBLEM][SOUND][2.5] - ALSA & OSS cannot find SBAWE32 Card

On Tue, 26 Nov 2002, Joseph Fannin wrote:

> On Tue, Nov 26, 2002 at 02:58:05AM -0500, Shawn Starr wrote:
>
> > ALSA device list:
> > No soundcards found.
> >
> > dmesg 2.4.20-pre7 - OSS: - WORKS
> > ============================
>
> Me too!
>
> In 2.5.47 mainline and 2.5.49-ac1 the ALSA drivers (either sb16 or
> sbawe) load but don't detect devices if PNP support is built in. The
> same card (an awe64) works fine under 2.4.19.
>
> Without PNP sb16 works (with only sb16 features) but sbawe will
> not load, complaining that it can't find the awe bits.

My guess would be the new isapnp registration layer, which ALSA
doesn't seem to be using. I might have a go at it later, looks like it
might need conversion.

Cheers,
Zwane

--
function.linuxpower.ca

2002-11-28 01:02:30

by Adam Belay

[permalink] [raw]
Subject: Re: [PROBLEM][SOUND][2.5] - ALSA & OSS cannot find SBAWE32 Card

On Tue, Nov 26, 2002 at 10:47:03AM -0500, Zwane Mwaikambo wrote:
> On Tue, 26 Nov 2002, Joseph Fannin wrote:
>
> > On Tue, Nov 26, 2002 at 02:58:05AM -0500, Shawn Starr wrote:
> >
> > > ALSA device list:
> > > No soundcards found.
> > >
> > > dmesg 2.4.20-pre7 - OSS: - WORKS
> > > ============================
> >
> > Me too!
> >
> > In 2.5.47 mainline and 2.5.49-ac1 the ALSA drivers (either sb16 or
> > sbawe) load but don't detect devices if PNP support is built in. The
> > same card (an awe64) works fine under 2.4.19.
> >
> > Without PNP sb16 works (with only sb16 features) but sbawe will
> > not load, complaining that it can't find the awe bits.
>
> My guess would be the new isapnp registration layer, which ALSA
> doesn't seem to be using. I might have a go at it later, looks like it
> might need conversion.
>
> Cheers,
> Zwane

That is indeed the case. I just released a patch for pnp card support.
This new API can be used to convert these drivers.

Thanks,
Adam

2002-11-28 04:53:22

by Paul Laufer

[permalink] [raw]
Subject: Re: [PROBLEM][SOUND][2.5] - ALSA & OSS cannot find SBAWE32 Card

I have nearly finished rewrite of OSS sb_card.c for the new PnP API. I
am only waiting on Rusty's module_param stuff to go in before I finish
and submit.

Let me know if you want to test it as it is without module options
working (defaults should be fine).

I will then update the sbawe driver.

Paul

On Wed, Nov 27, 2002 at 08:05:59PM +0000 or thereabouts, Adam Belay wrote:
> On Tue, Nov 26, 2002 at 10:47:03AM -0500, Zwane Mwaikambo wrote:
> > On Tue, 26 Nov 2002, Joseph Fannin wrote:
> >
> > > On Tue, Nov 26, 2002 at 02:58:05AM -0500, Shawn Starr wrote:
> > >
> > > > ALSA device list:
> > > > No soundcards found.
> > > >
> > > > dmesg 2.4.20-pre7 - OSS: - WORKS
> > > > ============================
> > >
> > > Me too!
> > >
> > > In 2.5.47 mainline and 2.5.49-ac1 the ALSA drivers (either sb16 or
> > > sbawe) load but don't detect devices if PNP support is built in. The
> > > same card (an awe64) works fine under 2.4.19.
> > >
> > > Without PNP sb16 works (with only sb16 features) but sbawe will
> > > not load, complaining that it can't find the awe bits.
> >
> > My guess would be the new isapnp registration layer, which ALSA
> > doesn't seem to be using. I might have a go at it later, looks like it
> > might need conversion.
> >
> > Cheers,
> > Zwane
>
> That is indeed the case. I just released a patch for pnp card support.
> This new API can be used to convert these drivers.
>
> Thanks,
> Adam
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2002-11-28 04:58:25

by Shawn Starr

[permalink] [raw]
Subject: Re: [PROBLEM][SOUND][2.5] - ALSA & OSS cannot find SBAWE32 Card

I can test it and since I compile most things into kernel this should be fine.

Shawn.


On November 28, 2002 12:00 am, Paul Laufer wrote:
> I have nearly finished rewrite of OSS sb_card.c for the new PnP API. I
> am only waiting on Rusty's module_param stuff to go in before I finish
> and submit.
>
> Let me know if you want to test it as it is without module options
> working (defaults should be fine).
>
> I will then update the sbawe driver.
>
> Paul
>
> On Wed, Nov 27, 2002 at 08:05:59PM +0000 or thereabouts, Adam Belay wrote:
> > On Tue, Nov 26, 2002 at 10:47:03AM -0500, Zwane Mwaikambo wrote:
> > > On Tue, 26 Nov 2002, Joseph Fannin wrote:
> > > > On Tue, Nov 26, 2002 at 02:58:05AM -0500, Shawn Starr wrote:
> > > > > ALSA device list:
> > > > > No soundcards found.
> > > > >
> > > > > dmesg 2.4.20-pre7 - OSS: - WORKS
> > > > > ============================
> > > >
> > > > Me too!
> > > >
> > > > In 2.5.47 mainline and 2.5.49-ac1 the ALSA drivers (either sb16
> > > > or sbawe) load but don't detect devices if PNP support is built in.
> > > > The same card (an awe64) works fine under 2.4.19.
> > > >
> > > > Without PNP sb16 works (with only sb16 features) but sbawe will
> > > > not load, complaining that it can't find the awe bits.
> > >
> > > My guess would be the new isapnp registration layer, which ALSA
> > > doesn't seem to be using. I might have a go at it later, looks like it
> > > might need conversion.
> > >
> > > Cheers,
> > > Zwane
> >
> > That is indeed the case. I just released a patch for pnp card support.
> > This new API can be used to convert these drivers.
> >
> > Thanks,
> > Adam
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> > in the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/