Messages in this thread Patch in this message | | | From | Chris Parrott <> | Subject | [PATCH] detect SoundBlaster AWE 64 Gold cards (2.3.51) | Date | Sat, 11 Mar 2000 16:29:24 -0700 |
| |
Greetings,
My SB AWE 64 Gold card stopped working after the recent rewrite of the SoundBlaster code in the Linux kernel. Upon further inspection, I noticed that the SB driver did not have the correct ISAPnP ID numbers to detect my card.
Below is a patch against drivers/sound/sb_card.c in 2.3.51 which adds the ID numbers to allow the SB AWE 64 Gold card to be detected.
Many thanks,
+chris
--- /usr/src/linux_orig/drivers/sound/sb_card.c Sat Mar 11 14:37:20 2000 +++ /usr/src/linux/drivers/sound/sb_card.c Sat Mar 11 14:52:22 2000 @@ -466,11 +466,13 @@ /* CTL0042:Audio SB64 * CTL0031:Audio SB32 * CTL0045:Audio SB64 + * CTL0044:Audio SB64 Gold */ if( (sb_dev = isapnp_find_dev(bus, ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0042), NULL)) || (sb_dev = isapnp_find_dev(bus, ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0031), NULL)) || - (sb_dev = isapnp_find_dev(bus, ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045), NULL)) ) + (sb_dev = isapnp_find_dev(bus, ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045), NULL)) || + (sb_dev = isapnp_find_dev(bus, ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0044), NULL)) ) { sb_dev->prepare(sb_dev); @@ -551,6 +553,7 @@ {ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0044), 0, &sb_init_awe, "Sound Blaster 32" }, {ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0039), 0, &sb_init_awe, "Sound Blaster AWE 32" }, {ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x009D), 0, &sb_init_awe, "Sound Blaster AWE 64" }, + {ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x009E), 0, &sb_init_awe, "Sound Blaster AWE 64 Gold" }, {ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x00C5), 0, &sb_init_awe, "Sound Blaster AWE 64" }, {ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x00E4), 0, &sb_init_awe, "Sound Blaster AWE 64" }, {ISAPNP_VENDOR('E','S','S'), ISAPNP_FUNCTION(0x0968), SBF_DEV, &sb_init_ess, "ESS 1688" }, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |