[Potato] IRQ/DMA/IO config with ISA PnP card (Was: Re: Soundblaster 16)
- To: debian-user@lists.debian.org
- Subject: [Potato] IRQ/DMA/IO config with ISA PnP card (Was: Re: Soundblaster 16)
- From: Phil <buffalo.phil@free.fr>
- Date: Wed, 22 Aug 2001 19:37:11 +0200
- Message-id: <[🔎] 20010822193710.A2518@ile>
- In-reply-to: <20010822131002.26211.qmail@murphy.debian.org>; from debian-user-digest-request@lists.debian.org on Wed, Aug 22, 2001 at 01:10:02PM -0000
- References: <20010822131002.26211.qmail@murphy.debian.org>
hello everybody ;)
On Wed, Aug 22, 2001 at 01:10:02PM -0000, debian-user-digest-request@lists.debian.org wrote:
> From: Markus Hansen <markhansen@gmx.de>
> Subject: Re: Soundblaster 16
> Date: Wed, 22 Aug 2001 12:27:29 +0200
> i tried to install my isa pnp soundblaster like you discribed, a sound system
> should be activated in the kernel...
> (now it is a different installation)
> i used the things you wrote but it said
> output dma timeout
> probably irq/dma conflict
> what can i do?
> i already used different settings for dma16 and irq
>
> > Many SB16 cards can be configured to select PnP or a fixed IRQ. If
> > yours has that capability, you should definitely use a fixed IRQ. In
> > my case, I created /etc/modutils/sb with the following line:
> > options io=0x220 irq=7 dma=1 dma16=5 mpu_io=330
> > I then ran 'update-modules' (which creates /etc/modules.conf) and
> > 'insmod sb' and sound was working.
> > I put this line in /etc/modules, so sound would be enabled after boot:
> > sb #Soundblaster 16
> >
> > On Thu, Jul 19, 2001 at 09:22:17AM -0400, Adam Bell wrote:
> > > I have the same card.
> > > Probably your problem is that it's in plug and play mode, and since it's
> > > an ISA card that is suckland for Linux.
> > > You need a package called isapnp (apt-get install isapnp), which might
> > > already be there. Then you need to dump the output of pnpdump --config
> > > into /etc/isapnp.conf (as root). Then you should be set recognizing the
> > > card (IF isa plug and play is enabled in your kernel...which it should
> > > be. If not, check modconf / recompile kernel with isapnp support). Try
> > > isapnp /etc/isapnp.conf. It should recognize some crap and your sound
> > > card, and tell you your settings (dma, dma16, io, irq) Write down those
> > > 4 things, then go into modconf. The module you want is "sb" in with all
> > > the other cards (It'll automagically get sound-core and all that other
> > > crap). For parameters, pass it all those 4 things ("io=0x220 dma=1
> > > dma16=5 irq=5" for example).
> > >
> > > Hi
> > > I have got a Debian gnu/linux 2.2 potato on my PC.
> > > My problem is the soundcard while using KDE2.
> > > I have a Creative Soundblaster sb16
well, I get a similar problem with my laptop (Clevo 668 Multimedia
Notebook), and with a Potato.
The soundcard is :
. controller : ESS1879
(proprietary driver), PnP, 16-bit stereo,
full-duplex 16-bit ADC, 3 DACs for audio,
music synthesis and I²S zoom-video max. record & playback
up to 44Khz stereo (WAVE audio) 20-voice FM music
(ESFM(tm) technology)
. wavetable : ESS692
. compatibility : Sound Blaster Pro(tm) 3.01, 16-bit FM,
MU401(UART mode), MS Windows Sound System(tm)
I have tried :
pnpdump -rDim :
# $Id: pnpdump.c,v 1.21 1999/12/09 22:28:33 fox Exp $
# # Release isapnptools-1.21 (library isapnptools-1.21)
# #
# # This is free software, see the sources for details.
# # This software has NO WARRANTY, use at your OWN RISK
# #
# # For details of the output file format, see isapnp.conf(5)
# #
# # For latest information and FAQ on isapnp and pnpdump see:
# # http://www.roestock.demon.co.uk/isapnptools/
# #
# # Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR
# # (for library: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR)
# #
# # Trying port address 0273
#
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0
# # ff ff - bit 00, goodaddress 0 *** 00
# [...]
# Trying port address 03f3
# [...]
# fc fc - bit 00, goodaddress 0 *** csum *** 00
# No boards found
"No boards found"...! But, so, I got :
<- beginning of my /etc/isapnp.conf ->
#(debug)
#(IGNORECRC)
#(READPORT 0x3bb)
#(ISOLATE)
#(IDENTIFY *)
#(CONFIGURE DFX0000/1493 (LD 0 (IO 0 (BASE 0x3e8)) (INT 0 (IRQ 12 (MODE +E))) (A
CT Y)))
#(CONFIGURE DFX0000/1493 (LD 0 (REG 7 (PEEK)) (REG 0x30 (PEEK))))
#(CONFIGURE DFX0000/1493 (LD 1 (REG 7 (PEEK)) (REG 0x30 (PEEK))))
# Try to force logical device 2 (which doesn't exist)...
#(CONFIGURE DFX0000/1493 (LD 1 (REG 7 (POKE 2) (PEEK)) (REG 0x30 (PEEK))))
# .. hence this gives an error
#(CONFIGURE DFX0000/1493 (LD 2 (REG 7 (PEEK)) (REG 0x30 (PEEK))))
#(WAITFORKEY)
<- end of my /etc/isapnp.conf ->
then I reboot to have a look at the BIOS ; it offers the following
settings :
Audio Port Addresses : 220h-22Fh (default value)
240h-24Fh
260...
280
Midi Port Addresses : 300h-303h (default value)
310h-313h
320...
330...
Audio/Midi IRQ : IRQ 5 (default value)
IRQ 7
IRQ 9
IRQ 10
Audio DMA CH1 : DMA 0
DMA 1
DMA 3 (default value)
Audio DMA CH2 : DMA 1
DMA 3
DMA 5 (default value)
now, I have :
# dmesg
Linux version 2.2.17 (herbert@arnor) (gcc version 2.95.2 20000313 (Debian GNU/Li
nux)) #1 Sun Jun 25 09:24:41 EST 2000
[...]
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdc:pio, hdd:pio
hda: IBM-DBCA-206480, ATA DISK drive
hdc: TOSHIBA CD-ROM XM-1802B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: IBM-DBCA-206480, 6194MB w/420kB Cache, CHS=839/240/63
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.11
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
[...]
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 3.01 detected OK (220)
ESS chip ES1879 detected
# => [ok with the User's Manual : controller : ESS1879]
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Linux PCMCIA Card Services 3.1.8
kernel build: 2.2.17 unknown
options: [pci] [cardbus] [apm]
Intel PCIC probe:
TI 1250A PCI-to-CardBus at bus 0 slot 3, mem 0x68000000, 2 sockets
host opts [0]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 3
2/34]
host opts [1]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 3
5/37]
ISA irqs (scanned) = 3,4,7,9,10 polling interval = 1000 ms
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x807
cs: IO port probe 0x0100-0x04ff: excluding 0x300-0x307 0x378-0x37f 0x388-0x38f 0
x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
aha152x: processing commandline: ok
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x0: vital data: PORTBASE=0x340, IRQ=3, SCSI ID=7, reconnect=enabled, parit
y=enabled, synchronous=disabled, delay=100, extended translation=disabled
aha152x: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
scsi : 1 host.
aha152x_cs: no SCSI devices found
scsi : 0 hosts.
tty02 at 0x02f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 [SPP]
parport_probe: failed
parport0: no IEEE-1284 device present.
lp0: using parport0 (polling).
[...]
# lsmod
Module Size Used by
ppp_deflate 38988 0 (autoclean)
bsd_comp 3828 0 (autoclean)
ppp 20684 0 (autoclean) [ppp_deflate bsd_comp]
slhc 4436 0 (autoclean) [ppp]
af_packet 6040 0 (autoclean)
parport_probe 3332 0 (autoclean)
parport_pc 7236 1 (autoclean)
lp 5188 1 (autoclean)
parport 7280 1 (autoclean) [parport_probe parport_pc lp]
serial_cs 5388 0 (unused)
aha152x_cs 24484 0 (unused)
lockd 31112 1 (autoclean)
sunrpc 52420 1 (autoclean) [lockd]
ds 6536 2 [serial_cs aha152x_cs]
i82365 28516 2
pcmcia_core 44416 0 [serial_cs aha152x_cs ds i82365]
serial 19564 1 (autoclean) [serial_cs]
sb 33396 0
uart401 6128 0 [sb]
sound 57592 0 [sb uart401]
soundlow 416 0 [sound]
soundcore 2628 5 [sb sound]
sg 15320 0 (unused)
unix 10212 32 (autoclean)
# cat /proc/sound
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux ile 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686
Config options: 0
Installed drivers:
Card config:
Audio devices:
0: ESS ES1879 AudioDrive (rev 11) (3.01)
# => [ok with the User's Manual : controller : ESS1879]
Synth devices:
Midi devices:
# => [not ok with the User's Manual : wavetable : ESS692]
Timers:
0: System clock
Mixers:
0: Sound Blaster
# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : soundblaster
# => [ok with the BIOS : Audio Port Addresses : 220h-22Fh (default
# value)]
02f8-02ff : serial(set)
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
1100-1107 : ide0
1108-110f : ide1
13f8-13ff : serial(set)
# cat /proc/interrupts
CPU0
0: 343134 XT-PIC timer
1: 10962 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 26386 XT-PIC serial
5: 1 XT-PIC soundblaster
# => [ok with the BIOS : Audio/Midi IRQ : IRQ 5 (default value)]
8: 1 XT-PIC rtc
12: 0 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 249676 XT-PIC ide0
15: 8 XT-PIC ide1
NMI: 0
# cat /proc/dma
1: SoundBlaster8
# => [ok with the User's Manual : compatibility : Sound Blaster Pro(tm) 3.01]
4: cascade
# cat /proc/devices
Character devices:
[...]
14 sound
[...]
but, when I use xmms, I get (xsonsole) :
Aug 22 13:34:46 ile kernel: Sound: DMA (output) timed out - IRQ/DRQ config error ?
could somebody explain us how to configure (editing the files) IRQ/DMA/... ?
> From: Steven Yap <syap1@home.com>
> Subject: Re: Soundblaster 16
> Date: Wed, 22 Aug 2001 04:07:47 -0700
> Another posibility you could try is installing the sndconfig package.
> I know it available in sid (unstable) but I don't know if it's packaged
> for stable.
not in Potato :(
PS: I don't have M$/Windo$e !
--
Phil (in digest mode)
Reply to: