Notes on my Packard Bell Multimedia C111 soundcard under Linux 2.1.79 --------------------------------------------------------------------- Packard Bell bundles a wierd soundard/modem in the C111 model (among others), which will work under Linux, with some scraping and filing. It's an Aztech card with WSS audio and the usual 8-bit soundblaster modes. The linux driver doesn't recognize it as an Aztech, and so it won't put it into WSS mode unless you hack the driver. In order to upgrade to 2.1.79, I applied pre-patch-2.1.80-4. In recent kernels, the sound driver is broken out into a bunch of modules. I don't use MIDI or the synthesizer functions, so I don't know if they are working or not, but the audio stuff looks like it's working. I used my old hack/patch for sb_common.c, which forces it to go into WSS mode. Don't use this patch unless you think your card is an AZTECH. My card has a chip on it marked AD1845JP and another marked "AZTECH AZT2316R". --- linux/drivers/sound/sb_common.c.orig Sat Nov 29 12:33:21 1997 +++ linux/drivers/sound/sb_common.c Sat Jan 17 11:04:34 1998 @@ -696,10 +696,12 @@ if (devc->major == 0) dsp_get_vers(devc); + devc->type = MDL_AZTECH; /* risacher hack */ if (devc->major == 3 && devc->minor == 1) { if (devc->type == MDL_AZTECH) /* SG Washington? */ { + devc->type = 0; /* risacher hack */ if (sb_dsp_command(devc, 0x09)) if (sb_dsp_command(devc, 0x00)) /* Enter WSS mode */ { I then loaded with: insmod sound insmod uart401 io=0x330 irq=9 insmod sb io=0x220 irq=5 dma=1 insmod ad1848 io=0x530 irq=10 dma=0 (or something -- I'm reconstructing my notes from last night) At some point, I had to compile uart401 by hand. I'm not sure if this was fixed by pre-patch-2.1.80-4 or not. Then I had to make /dev/audio and /dev/dsp point to /dev/audio1 and /dev/dsp1. They had previously been the same as /dev/dsp0 and /dev/audio0. Also for /dev/mixer{,0,1}. /dev/{audio,dsp,mixer}0, is apparently the soundblaster mode that is inactive. cat /dev/sndstat yields: ----------------------- OSS/Free:3.8s2++-971130 Load type: Driver loaded as a module Kernel: Linux risacher 2.1.79 #2 Fri Jan 16 23:37:36 CST 1998 i586 Config options: 0 Installed drivers: Card config: Audio devices: 0: Sound Blaster (8 BIT/MONO ONLY) (3.1) 1: MSS audio codec (AD1845) Synth devices: Midi devices: 0: MPU-401 (UART) MIDI 1: Sound Blaster Timers: 0: System clock 1: MSS audio codec (AD1845) Mixers: 0: Sound Blaster 1: MSS audio codec (AD1845) /proc/ioports ------------- 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0220-022f : soundblaster 02f8-02ff : serial(auto) 0376-0376 : ide1 03c0-03df : vga+ 03e8-03ef : serial(set) 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0530-0533 : WSS config 0534-0537 : MSS audio codec ffa0-ffa7 : ide0 ffa8-ffaf : ide1 /proc/interrupts 0: 9376482 timer 1: 20192 keyboard 2: 0 cascade 4: 1030064 serial 5: 0 soundblaster 10: 9 MSS audio codec 12: 18202 PS/2 Mouse 13: 4 fpu 14: 37426 ide0 15: 2951449 ide1 NMI: 0 /proc/dma 0: MSS audio codec 1: SoundBlaster8 4: cascade Daniel Risacher magnus@alum.mit.edu 17 Jan 1998