linux-l: Soundblaster 16 PnP

Florian Schintke schintke at schintke.isdn.cs.tu-berlin.de
Mi Aug 19 19:44:11 CEST 1998


Hi Leute!

Ich hab mir die groesste Muehe gegeben, aber ich bekomme
meinen Soundblaster 16 PnP von Creative nicht zum laufen.

Man kann Sound zwar ausgeben (8-Bit) mit
cat bla.wav > /dev/audio oder > /dev/dsp

Aber 16-Bit Sound kommt nicht an.

wavplay 16-bitfile.wav

gibt ein: Error writing on audio device.

Der Kernel sagt dazu:

 Sound: DMA (output) timed out - IRQ/DRQ config error?

In meiner isapnp.conf steht

(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier 6d ff ff ff ff f0 00 8c 0e)
# CTL00f0 Serial No -1 [checksum 6d]
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative ViBRA16X PnP<--
#
# Logical device id CTL0043
#

(CONFIGURE CTL00f0/-1 (LD 0
#     ANSI string -->Audio<--

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 or 10.
#             High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 7 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
(DMA 0 (CHANNEL 1))
#       Next DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed in compatible mode
(DMA 1 (CHANNEL 6))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
(IO 0 (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 48 bytes
#             Number of IO addresses required: 2
(IO 1 (BASE 0x0330))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
(IO 2 (BASE 0x0388))

(ACT Y)
))

-------------------
Und die Dateien in /proc sagen:

interrupts:
 0:      30547   timer
 1:          2   keyboard
 2:          0   cascade
 4:          5 + serial
 5:      14840   3c503
 7:         51   sound blaster
 9:       4603   aic7xxx
12:       3601 + tmscsim
13:          0   math error
15:          6   HiSax

ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
0180-019f : HiSax hscx A
0220-022f : sound blaster
0280-028f : 3c503
02f8-02ff : serial(set)
0330-0333 : SB MIDI
0378-037f : lp
0388-038b : OPL3/OPL2
03c0-03df : vga+
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(set)
0580-059f : HiSax hscx B
0980-099f : HiSax isac
0d80-0d87 : teles3 cfg
b400-b47f : tmscsim
b800-b8be : aic7xxx

dma:
 1: Sound Blaster8
 4: cascade
 6: Sound Blaster16

Character devices:
 1 mem
 2 pty
 3 ttyp
 4 ttyp
 5 cua
 6 lp
 7 vcs
 9 st
10 misc
14 sound
21 sg
43 ttyI
44 cui
45 isdn

Block devices:
 2 fd
 8 sd
11 sr

-----------
Kerneleinstellungen (2.0.35) fuer Sound:

#
# Sound
#
CONFIG_SOUND=m
# CONFIG_PAS is not set
CONFIG_SB=y
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
# CONFIG_CS4232 is not set
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
CONFIG_MIDI=y
CONFIG_YM3812=y
SBC_BASE=220
SBC_IRQ=7
SBC_DMA=1
SB_DMA2=6
SB_MPU_BASE=330
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
# CONFIG_LOWLEVEL_SOUND is not set

-------------------

Sieht also nach meinen Augen alles ganz vernuenftig aus.
Funktioniert aber leider nicht.
Hat jemand von Euch so eine Soundkarte am laufen und koennte mir seine
isapnp.conf und seine Kerneleinstellungen im Bezug auf sound
mailen? Oder sieht jemand wo der Fehler ist?

Vielen Dank im voraus

Florian
-- 
E-Mail: schintke at cs.tu-berlin.de
WWW   : http://user.cs.tu-berlin.de/~schintke/
 
It is easier to write an incorrect program than understand a correct one.




Mehr Informationen über die Mailingliste linux-l