Sound Blaster Pro and the developpements kernels

Jean Charles Delepine (delepine@univ-lyon1.fr)
Sat, 20 Sep 1997 16:21:56 +0200 (MEST)


Hello,

Here is the message I get while loading the sound driver whith linux
2.1.56 and many versions before :

> This soundcard doesn't seem to be fully Sound Blaster Pro compatible.
> Almost certainly there is another way to configure OSS so that
> it works properly with OSS (for example in 16 bit mod)

My card is a true Sound Blaster Pro (8bits) and I trully don't ask it
doing 16 bit.

While looking in the code, man can see that my card should have a 3.1
version :
if (devc->major == 3 && devc->minor != 1)
/* "True" SB Pro should have v3.1. */
printk the offending message

My card indeed has v3.2, _and_ is a true SB Pro ! (2 chips from creative)
So I have change the code to :

---------------------------------------------------------
Eloi :~/src/linux$ diff -u drivers/sound/sb_common.c~
drivers/sound/sb_common.c
--- drivers/sound/sb_common.c~ Sat Sep 20 16:01:59 1997
+++ drivers/sound/sb_common.c Tue Sep 20 16:11:46 1997
@@ -822,7 +822,8 @@
* properly.
*/
if (devc->model <= MDL_SBPRO)
- if (devc->major == 3 && devc->minor != 1) /* "True" SB Pro should have v3.1. */
+ if (devc->major == 3 && devc->minor != 1 && devc->minor !=2)
+ /* "True" SB Pro should have v3.1. or v3.2. */
{
printk ("This soundcard doesn't seem to be fully Sound Blaster Pro compatible.\n");
printk ("Almost certainly there is another way to configure OSS so that\n");
----------------------------------------------------------

And I now get the message :

> SB DSP version is just 3.2 which means that your card is several years
> old (8 bit only device) or alternatively the sound driver is incorrectly
> configured.

My card _is_ several years old but it sounds like a charme with or
without the patch...

Am I wrong somewhee ?

Friendly,
Jean Charles

PS: Sorry for my bad english...