Skip to contentSkip to conversation

2.4.0-test1 & (old) Soundblaster 16 PnP

PATCH New Armin Groesslinger 1 participant 1 message May 26, 2000 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.0-test1 & (old) Soundblaster 16 PnP

Hi,

I've got a (probably old?) Soundblaster 16 PnP sound card which is not detected by Linux 2.4.0-test1's SB driver.

Here's how ISAPNP reports my SB 16:

$ cat /proc/isapnp
Card 1 'CTL0028:Creative SB16 PnP' PnP version 1.0 Product version 1.0
  Logical device 0 'CTL0031:Audio'
[...]

Below is the patch I used to make the SB driver recognize my sound card. I hope I made the patch correctly and it can be included in the kernel.

Armin

drivers/sound/sb_card.c +5 -0
@@ -265,6 +265,11 @@
 		0,0,0,0,
 		0,1,1,-1},
 	{"Sound Blaster 16", 
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0028), 
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0031),
+		0,0,0,0,
+		0,1,1,-1},
+	{"Sound Blaster 16", 
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x0029), 
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0031),
 		0,0,0,0,