[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem getting sound



Hello people,
    I think this is the last of my confguration problems, so bare with me.

I'm trying to get my SB32 to work, obviously it's fine under windows, so
they're the values is used
after doing a pnpdump. (see below for full isapnp.conf). I've built sound
into the kernel using these
values also, and I get the initialisation click from the speakers during
boot alongside the message

Sound initialization started
<Sound Blaster 16 (4.13)> at 0x220 irq 5 dma 1,5
<Yamaha OPL3 FM> at 0x388
Sound initialization complete

Which I figure is correct. (should I have an mpu401 by any chance?)

However I also get the message

timeout attempting to read ident - is READPORT correct
Error occurred executing request 'IDENTIFY *' at or around line 19 ---
further actions aborted.

Which I figure is not so good.
This original pnpdump was done with the pnp BIOS set to use an pnp OS. Once
I turned this
option off I got sound by doing

cat endoftheworld > /dev/audio

but it was more noise than REM, but hey, it's a start.
I did a second pnpdump because of the ident message and this time the
READPORT
value was 0x020b. If I use this vaule, then during boot I see a message
about the pnp serial number of
the board which seems to be correct. Now, though if I do

cat endoftheworld > /dev/audio

I get nothing, then after a long few seconds

Sound: DMA (output) timed out - IRQ/DRQ config error?
Cat: write error: Input/Output error

So where do I go from here? I had a look at /proc/interrupts to look for a
conflict, but I didn't see any.
So now I'm puzzled. The board appears to be loading with the correct values,
but something isn't working.
Without windows I'd never had got this far, how do you set up sound cards
completely under linux?

All help gratefull received.

Thanks


#$Id: pnpdump.c,v 1.1.1.2 1998/01/07 05:17:47 fred Exp $
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of this file format, see isapnp.conf(5)
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DNEEDNANOSLEEP
#
# Trying port address 0203
# Board 1 has serial identifier 70 10 00 63 f0 48 00 8c 0e

# (DEBUG)
(READPORT 0x0203)
(CSN 1)
#(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier 70 10 00 63 f0 48 00 8c 0e)
# Vendor Id CTL0048, Serial Number 268461040, checksum 0x70.
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative SB32 PnP<--
#
# Logical device id CTL0031
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL0048/268461040 (LD 0
#     ANSI string -->Audio<--

# Multiple choice time, choose one only !

#       Start dependent functions: priority acceptable
#       IRQ 5, 7 or 10.
#             High true, edge sensitive interrupt (by default)
 (INT 0 (IRQ 5 (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 0))
#       Next DMA channel 5, 6 or 7.
#             16 bit DMA only
#             Logical device is not a bus master
#             DMA may not execute in count by byte mode
#             DMA may execute in count by word mode
#             DMA channel speed in compatible mode
 (DMA 1 (CHANNEL 5))
#       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 0x0300))
#       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))

#     End dependent functions
 (ACT Y)
))
#
# Logical device id CTL2011
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL0048/268461040 (LD 1
#     Compatible device id PNP0600
#     ANSI string -->IDE<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 10.
#             High true, edge sensitive interrupt (by default)
 (INT 0 (IRQ 10 (MODE +E)))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0168
#             Maximum IO base address 0x0168
#             IO base alignment 1 bytes
#             Number of IO addresses required: 8
 (IO 0 (BASE 0x0168))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x036e
#             Maximum IO base address 0x036e
#             IO base alignment 1 bytes
#             Number of IO addresses required: 2
 (IO 1 (BASE 0x036e))

#     End dependent functions
 (ACT Y)
))
#
# Logical device id CTL0021
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL0048/268461040 (LD 2
#     ANSI string -->WaveTable<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0620
#             Maximum IO base address 0x0620
#             IO base alignment 1 bytes
#             Number of IO addresses required: 4
 (IO 0 (BASE 0x0620))

#     End dependent functions
 (ACT Y)
))
#
# Logical device id CTL7001
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed
if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE CTL0048/268461040 (LD 3
#     Compatible device id PNPb02f
#     ANSI string -->Game<--
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0200
#         Maximum IO base address 0x0200
#         IO base alignment 1 bytes
#         Number of IO addresses required: 8
 (IO 0 (BASE 0x0200))
 (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)




Reply to: