Sound driver broken in 2.1.84

Fausto Saporito (fausap@itb.it)
Sat, 31 Jan 1998 16:59:41 +0000


-----BEGIN PGP SIGNED MESSAGE-----

Hello,

I'm running linux 2.1.84 with Cyrix 5x86. I have a MAD16 Pro (chipset OPTi
82C929 - no PnP) but linux fails to init my sound card.
There is a first problem about the compilation in the kernel of the sound
driver. The makefile in /drivers/sound is broken, infact the original makefile
doesn't compile some object files (ad1848.o uart401.o sb_card.o sb.o).
After I corrected this error, the kernel links ok.

About the second problem (the wrong init of soundcard), the result is that midi
file are played very well, but .mod files freeze my computer and I must power
down the pc.

The oddity is the different IO address in dmesg and in /dev/sndstat, as
anyone can see below.

My dmesg output is

- -------------------------- dmesg --------------------------------
CPU: Cyrix 5x86 3x Core/Bus Clock stepping 05
[...]
Sound initialization started
<MAD16 WSS (AD1848)> at 0x534 irq 11 dma 3,3
<Mad16/Mozart> at 0x330 irq 9 dma 0
<Yamaha OPL3 FM> at 0x388
Sound initialization complete

- --------------------------- END ---------------------------------

The IO address and second DMA channel are wrong! In my kernel config I set as
0x530 and DMA2=0. Infact my /dev/sndstat is

- ---------------------------- /dev/sndstat -------------------------
OSS/Free:3.8s2++-971130
Load type: Driver compiled into kernel
Kernel: Linux einstvill 2.1.84 #18 Sat Jan 31 15:45:14 WAT 1998 i486
Config options: 0

Installed drivers:
Type 19: MAD16/Mozart (MSS)
Type 20: MAD16/Mozart (MPU)
Type 1: OPL-2/OPL-3 FM
Type 26: MPU-401 (UART)
Type 2: Sound Blaster
Type 29: Sound Blaster PnP
Type 7: SB MPU-401

Card config:
MAD16/Mozart (MSS) at 0x530 irq 11 drq 3,0
MAD16/Mozart (MPU) at 0x330 irq 9 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: MAD16 WSS (AD1848)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: Mad16/Mozart

Timers:
0: System clock

Mixers:
0: MAD16 WSS (AD1848)
0: MAD16 WSS (AD1848)

- -------------------------- END --------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBNNNblG8HXgesGhjJAQGRPQP+K1My1gcujYUdoPYQu0lDA0z4SQYRRaV1
SaUAjepC2Sg2G4V/tklj/w8x1N7KbhGJArSCSg8OF6BbqvWonKzQTnA+HKpnM5v+
tQBcCnW7cYM3gdVQ0r0jSHwgpnD8WinEqy5jGzvy2agnvvwnmG7vI80o+5z2eTtS
BXvwnGQiahI=
=3thF
-----END PGP SIGNATURE-----