Soundblaster conflict with onboard CS4232

I have a hewlett packard 7055  with a onboard card that cant be removed.  I have a soundblaster 16 model #CT4171.  I have recompiled the kernel.  Updated the isapnp.conf file a million times.  There is always a conflict.  and it crashes adding the soundmodule on bootup.  If anyone can figure this problem out you can have every damn point i have.  I have been through documentation, Howto's, books books books.  I cant figure it out.  this is not going to be a easy one ...i can tell ya that much.  
----------------------------------
# $Id: pnpdump.c,v 1.18 1999/02/14 22:47:18 fox 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 and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR
#
# Trying port address 0203
# Board 1 has serial identifier 43 01 00 00 00 32 42 63 0e
# Board 2 has serial identifier 6d ff ff ff ff f0 00 8c 0e

# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier 43 01 00 00 00 32 42 63 0e)
# Vendor Id CSC4232, Serial Number 16777216, checksum 0x43.
# Version 1.0, Vendor version 0.1
# ANSI string -->CS4232<--
#
# Logical device id CSC0000
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 0
#     ANSI string -->WSS/SB<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 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 type A
# (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 type A
# (DMA 1 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0534
#             Maximum IO base address 0x0608
#             IO base alignment 212 bytes
#             Number of IO addresses required: 4
# (IO 0 (SIZE 4) (BASE 0x0534))
#       Fixed IO base address 0x0388
#             Number of IO addresses required: 4
# (IO 1 (SIZE 4) (BASE 0x0388))
#       Logical device decodes 10 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0240
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 2 (SIZE 16) (BASE 0x0220))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9, 11, 12 or 15.
#             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 type A
# (DMA 0 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0534
#             Maximum IO base address 0x0608
#             IO base alignment 212 bytes
#             Number of IO addresses required: 4
# (IO 0 (SIZE 4) (BASE 0x0534))
#       Fixed IO base address 0x0388
#             Number of IO addresses required: 4
# (IO 1 (SIZE 4) (BASE 0x0388))
#       Logical device decodes 10 bit IO address lines
#             Minimum IO base address 0x0210
#             Maximum IO base address 0x0260
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
# (IO 2 (SIZE 16) (BASE 0x0210))

#     End dependent functions
#     Compatible device id PNPb007
#     Compatible device id PNPb020
#     Compatible device id PNPb002
 (NAME "CSC4232/16777216[0]{WSS/SB              }")
# (ACT Y)
))
#
# Logical device id CSC0001
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 1
#     ANSI string -->Game<--
#     Fixed IO base address 0x0200
#         Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0200))
#     Compatible device id PNPb02f
 (NAME "CSC4232/16777216[1]{Game                }")
# (ACT Y)
))
#
# Logical device id CSC0002
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 2
#     ANSI string -->Ctrl<--
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0f00
#         Maximum IO base address 0x0ff8
#         IO base alignment 8 bytes
#         Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0f00))
 (NAME "CSC4232/16777216[2]{Ctrl                }")
# (ACT Y)
))
#
# Logical device id CSC0003
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 3
#     ANSI string -->MPU<--
#     IRQ 9.
#         High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 9 (MODE +E)))
#     Fixed IO base address 0x0330
#         Number of IO addresses required: 2
# (IO 0 (SIZE 2) (BASE 0x0330))
#     Compatible device id PNPb006
 (NAME "CSC4232/16777216[3]{MPU                 }")
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Card 2: (serial identifier 6d ff ff ff ff f0 00 8c 0e)
# Vendor Id CTL00f0, No Serial Number (-1), checksum 0x6D.
#     Version 1.0, Vendor version 1.0
#     ANSI string -->Creative ViBRA16X PnP<--
#
# Logical device id CTL0043
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CTL00f0/-1 (LD 0
#     ANSI string -->Audio<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1.
#             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 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 3))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0220
#             IO base alignment 1 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 1 bytes
#             Number of IO addresses required: 2
# (IO 1 (SIZE 2) (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 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 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 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 0))
#       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 (SIZE 16) (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 (SIZE 2) (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 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 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 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 0))
#       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 (SIZE 16) (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 (SIZE 2) (BASE 0x0300))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 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 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 0))
#       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 (SIZE 16) (BASE 0x0220))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 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))
#       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 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 16 bytes
#             Number of IO addresses required: 2
# (IO 1 (SIZE 2) (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0394
#             IO base alignment 4 bytes
#             Number of IO addresses required: 4
# (IO 2 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 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))
#       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 (SIZE 16) (BASE 0x0220))

#     End dependent functions
 (NAME "CTL00f0/-1[0]{Audio               }")
# (ACT Y)
))
#
# Logical device id CTL7005
#     Device supports vendor reserved register @ 0x39
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CTL00f0/-1 (LD 1
#     Compatible device id PNPb02f
#     ANSI string -->Game<--

# Multiple choice time, choose one only !

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

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

#     End dependent functions
 (NAME "CTL00f0/-1[1]{Game                }")
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

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

[patrick@localhost patrick]$ cat /dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux localhost.localdomain 2.2.5-15 #1 Wed Nov 10 19:38:53 EST 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:

Synth devices:

Midi devices:

Timers:
0: System clock
1: Crystal audio controller (CS4232)
----------------------------------
[patrick@localhost patrick]$ cat /proc/dma
 4: cascade
----------------------------------
[patrick@localhost patrick]$ 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
02e8-02ef : serial(auto)
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
----------------------------------
[patrick@localhost patrick]$ cat /proc/interrupts
           CPU0      
  0:     422099          XT-PIC  timer
  1:      10082          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:     138581          XT-PIC  serial
  8:          2          XT-PIC  rtc
 12:     168995          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:     376368          XT-PIC  ide0
 15:          5          XT-PIC  ide1
NMI:          0
----------------------------------
Thanks...

patrickhinckleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

steve265Commented:
Have you tried forcing the IRQ in the BIOS? I know on many newer computers you can force PNP cards to IRQ's in the BIOS itself.
0
patrickhinckleAuthor Commented:
yes, I tried that.  I cant do it with my bios.  Is it possible that the module needs to be updated?  I have been working with the isapnp.conf file and it seems to be loading the modules at boot up but still have no sound.  I will give you a update on what i see.
----------------------------------[root@localhost /root]# cat /dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux localhost.localdomain 2.2.5-15 #1 Wed Nov 10 19:38:53 EST 1999 i58
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.16) (DUPLEX)

Synth devices:

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster
----------------------------------
[root@localhost /root]# 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
02e8-02ef : serial(auto)
02f8-02ff : serial(auto)
0330-0333 : MPU-401 UART
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
----------------------------------
[root@localhost /root]# cat /proc/dma
 1: SoundBlaster8
 4: cascade
 5: SoundBlaster16
----------------------------------
[root@localhost /root]# cat /proc/interrupts
           CPU0      
  0:      86043          XT-PIC  timer
  1:       1997          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:      52761          XT-PIC  serial
  5:          1          XT-PIC  soundblaster
  8:          2          XT-PIC  rtc
 12:      40459          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:      98234          XT-PIC  ide0
 15:          5          XT-PIC  ide1
NMI:          0
----------------------------------
[root@localhost /etc]# more conf.modules
options cs4232 io=0x530 irq=7 dma=0 dma2=1 mpuio=0x300 mpuirq=9
post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
alias sound sb
pre-install sound insmod sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
----------------------------------
It seems that everything is loaded correctly.  These are the same settings that  microcrap uses, and i get sound over there.  Only error i get at bootup is cannot locate midi module.  I can worry about that later.  I am just trying to get sound in general.  then i can play with the rest later.  Everything boots up great.  loads the sound module with no problems..just dont have any sound at all.   Hope someone can help me out on this ...
0
guiyuCommented:
What happened since our last debug session? Did sound work at that time? If not, I am sorry that the problem was not solved. If so, what recent modifications did you make?

From you detailed report. You seemed to have mastered the intricacies of sound debugging. Moreover, please also list your currently loaded modules:

lsmod

and it would be easier to go from there.

If you don't want to spend more time on debugging, try downloading the OSS sound modules for your Soundblaster from www.opensound.com. The full license cost $30, but you have 30 days to evaluate.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

patrickhinckleAuthor Commented:
We were almost there last time and it crashed on me loading up the sound module at boot up.  So i got frusturated and figured i would give it a rest for awhile.  I didnt want to leave ya hanging over there so i went ahead and accepted the answer.  Well here we are again giving it another shot.  I redid everything and i am right back were i left off.  Except i have my isapnp.conf file configured correctly with no conflicts.  Everything is booting up correctly.  But i still have no sound.  I am glad that you found me again.  You are the one that really has been through this with me and knows how everything is over here.  I am going paste a copy of my updated isapnp.conf file and the loaded modules.  
----------------------------------
[root@localhost /root]# lsmod
Module                  Size  Used by
ppp                    18316   2  (autoclean)
slhc                    4328   1  (autoclean) [ppp]
nfsd                  150936   8  (autoclean)
lockd                  30856   1  (autoclean) [nfsd]
sunrpc                 52356   1  (autoclean) [nfsd lockd]
sb                     33204   1
uart401                 5968   1  [sb]
sound                  57208   0  [sb uart401]
soundlow                 300   0  [sound]
soundcore               2372   6  [sb sound]
----------------------------------
# $Id: pnpdump.c,v 1.18 1999/02/14 22:47:18 fox 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 and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR
#
# Trying port address 0203
# Board 1 has serial identifier 43 01 00 00 00 32 42 63 0e
# Board 2 has serial identifier 6d ff ff ff ff f0 00 8c 0e

# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier 43 01 00 00 00 32 42 63 0e)
# Vendor Id CSC4232, Serial Number 16777216, checksum 0x43.
# Version 1.0, Vendor version 0.1
# ANSI string -->CS4232<--
#
# Logical device id CSC0000
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 0
#     ANSI string -->WSS/SB<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
  (INT 0 (IRQ 7 (MODE +E)))
#       First DMA channel 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 type A
  (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 type A
  (DMA 1 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0534
#             Maximum IO base address 0x0608
#             IO base alignment 212 bytes
#             Number of IO addresses required: 4
  (IO 0 (SIZE 4) (BASE 0x0534))
#       Fixed IO base address 0x0388
#             Number of IO addresses required: 4
  (IO 1 (SIZE 4) (BASE 0x0388))
#       Logical device decodes 10 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0240
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
  (IO 2 (SIZE 16) (BASE 0x0240))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9, 11, 12 or 15.
#             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 type A
# (DMA 0 (CHANNEL 0))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0534
#             Maximum IO base address 0x0608
#             IO base alignment 212 bytes
#             Number of IO addresses required: 4
# (IO 0 (SIZE 4) (BASE 0x0534))
#       Fixed IO base address 0x0388
#             Number of IO addresses required: 4
# (IO 1 (SIZE 4) (BASE 0x0388))
#       Logical device decodes 10 bit IO address lines
#             Minimum IO base address 0x0210
#             Maximum IO base address 0x0260
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
# (IO 2 (SIZE 16) (BASE 0x0210))

#     End dependent functions
#     Compatible device id PNPb007
#     Compatible device id PNPb020
#     Compatible device id PNPb002
 (NAME "CSC4232/16777216[0]{WSS/SB              }")
  (ACT Y)
))
#
# Logical device id CSC0001
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 1
#     ANSI string -->Game<--
#     Fixed IO base address 0x0200
#         Number of IO addresses required: 8
  (IO 0 (SIZE 8) (BASE 0x0200))
#     Compatible device id PNPb02f
 (NAME "CSC4232/16777216[1]{Game                }")
  (ACT Y)
))
#
# Logical device id CSC0002
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 2
#     ANSI string -->Ctrl<--
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0f00
#         Maximum IO base address 0x0ff8
#         IO base alignment 8 bytes
#         Number of IO addresses required: 8
  (IO 0 (SIZE 8) (BASE 0x0f00))
 (NAME "CSC4232/16777216[2]{Ctrl                }")
  (ACT Y)
))
#
# Logical device id CSC0003
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CSC4232/16777216 (LD 3
#     ANSI string -->MPU<--
#     IRQ 9.
#         High true, edge sensitive interrupt (by default)
  (INT 0 (IRQ 9 (MODE +E)))
#     Fixed IO base address 0x0330
#         Number of IO addresses required: 2
  (IO 0 (SIZE 2) (BASE 0x0330))
#     Compatible device id PNPb006
 (NAME "CSC4232/16777216[3]{MPU                 }")
  (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Card 2: (serial identifier 6d ff ff ff ff f0 00 8c 0e)
# Vendor Id CTL00f0, No Serial Number (-1), checksum 0x6D.
#     Version 1.0, Vendor version 1.0
#     ANSI string -->Creative ViBRA16X PnP<--
#
# Logical device id CTL0043
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CTL00f0/-1 (LD 0
#     ANSI string -->Audio<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1.
#             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 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 3))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0220
#             IO base alignment 1 bytes
#             Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 1 bytes
#             Number of IO addresses required: 2
# (IO 1 (SIZE 2) (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 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 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 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 0))
#       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 (SIZE 16) (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 (SIZE 2) (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 (SIZE 4) (BASE 0x0388))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 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 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 0))
#       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 (SIZE 16) (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 (SIZE 2) (BASE 0x0300))

#       Start dependent functions: priority acceptable
#       IRQ 5, 7, 9 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 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 0))
#       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 (SIZE 16) (BASE 0x0220))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 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 3))
#       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 (SIZE 16) (BASE 0x0220))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0300
#             Maximum IO base address 0x0330
#             IO base alignment 16 bytes
#             Number of IO addresses required: 2
  (IO 1 (SIZE 2) (BASE 0x0300))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0394
#             IO base alignment 4 bytes
#             Number of IO addresses required: 4
  (IO 2 (SIZE 4) (BASE 0x038c))

#       Start dependent functions: priority functional
#       IRQ 5, 7, 9 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))
#       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 (SIZE 16) (BASE 0x0220))

#     End dependent functions
 (NAME "CTL00f0/-1[0]{Audio               }")
  (ACT Y)
))
#
# Logical device id CTL7005
#     Device supports vendor reserved register @ 0x39
#     Device supports vendor reserved register @ 0x3a
#     Device supports vendor reserved register @ 0x3c
#
# 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 CTL00f0/-1 (LD 1
#     Compatible device id PNPb02f
#     ANSI string -->Game<--

# Multiple choice time, choose one only !

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

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0200
#             Maximum IO base address 0x020f
#             IO base alignment 1 bytes
#             Number of IO addresses required: 1
  (IO 0 (SIZE 1) (BASE 0x0208))

#     End dependent functions
 (NAME "CTL00f0/-1[1]{Game                }")
  (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
0
guiyuCommented:
Hmm, just by looking at the stats you seemed to have configured everything correctly this time, presumably there are not more boot-up crashes?


For now we will assume that isapnp.conf is fine.

Do you have mpg123? If not, please download it (e.g. from www.rpmfind.org)
and try playing an mp3 (just download any sample from mp3.com) using mpg123:

mpg123 testsound.mp3

and report the following:

1) what are the error messages? Please copy and post
2) does the song play (from your speakers)

My output shows:

guiyu@hellokitty:...mp3/us]mpg123 titanic00.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : titanic.mp3                     Artist:                              
Album  :                                 Year: 1998
Comment:                                 Genre: Soundtrack

Playing MPEG stream from titanic00.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo

[3:37] Decoding of titanic00.mp3 finished.

3) If there are no error messages:
repeat step 2 a couple of times, each time interrupting playback by pressing CTRL-C, the program should report the current playback position.

Then we can deduce that possibly your mixer device is bad(or some other smaller thing). I notice that you /dev/sndstat does not list a valid mixer device

4)Under KDE, try invoking kmix (command line also ok) and adjust while playing the mp3. There is a generic xmixer too.
0
patrickhinckleAuthor Commented:
[patrick@localhost patrick]$ mpg123 st14.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
audio: Device or resource busy
----------------------------------
I am pasting part of a howto i found on the net.  At the bottom it lists some cards that dont support multiple instances.  In windows i can totally disable the onboard card.  but in linux i cant.  Is it possible that its trying to use this card.  And not allowing the soundblaster to be seen.  It's just a thought.  I really dont know but  In my /dev directory i see audio which is my onboard card.  and audio1 which should be my soundblaster.  when i type cat /dev/audio.  i get the device or resource busy.  when i type cat /dev/audio1.  It says there is no such device.  But it is listed in the /dev directory.  I am basically just poking around a bit with howto's i find on the net to see if i can provide you with better info on my system.  
----------------------------------
 6.4 Can I have more than one sound card?

       With the current sound driver it's possible to have several SoundBlaster, SoundBlaster/Pro, SoundBlaster16, MPU-401 or MSS cards at the same time on the
       system. Installing two SoundBlasters is possible but requires defining the macros SB2_BASE, SB2_IRQ, SB2_DMA and (in some cases) SB2_DMA2 by editing
       local.h manually. It's also possible to have a SoundBlaster at the same time as a PAS16.

       With the 2.0 and newer kernels that configure sound using make config, instead of local.h, you need to edit the file /usr/include/linux/autoconf.h. After the section
       containing the lines:

           #define SBC_BASE 0x220
           #define SBC_IRQ (5)
           #define SBC_DMA (1)
           #define SB_DMA2 (5)
           #define SB_MPU_BASE 0x0
           #define SB_MPU_IRQ (-1)

       add these lines (with values appropriate for your system):

           #define SB2_BASE 0x330
           #define SB2_IRQ (7)
           #define SB2_DMA (2)
           #define SB2_DMA2 (2)

       The following drivers don't permit multiple instances:

           GUS (driver limitation)
           MAD16 (hardware limitation)
           AudioTrix Pro (hardware limitation)
           CS4232 (hardware limitation)
----------------------------------
[patrick@localhost /dev]$ cat /dev/audio
cat: /dev/audio: Device or resource busy
----------------------------------
[patrick@localhost /dev]$ cat /dev/audio1
cat: /dev/audio1: No such device
----------------------------------
If you would like to see the howto i was reading its at: http://linux.com/howto/Sound-HOWTO-6.html

0
patrickhinckleAuthor Commented:
[patrick@localhost patrick]$ mpg123 st14.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title  : HONEY,I'M HOME                  Artist: SHANIA TWAIN                  
Album  :                                 Year:    
Comment:                                 Genre: Unknown

Playing MPEG stream from st14.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
----------------------------------
This is the new output!  Seems like it is trying to play something, but dont hear anything.  I enabled all the sound options in my window manager, and cranked my speakers all the way up.  I am sure i ruled out all the simple stuff.  When i fire it up in the x11amp gui.  its playing with no sound also.  It seems that it is playing though with no errors.  
0
patrickhinckleAuthor Commented:
GREAT NEWS!!!!!!!!   When i put a cd in and invoke the cd player and use kmix  i get sound to play.  CD sound only but it  is definantly detected and working.  I have no event sounds or midi and mpg does'nt play either.  But the great news is that the soundcard is detected and playing.  Now just to figure out why the rest is not working.  I know the midi module cant be located on startup.  I can fix that later.  Now lets try and figure out why the sound other than cd does'nt play.  I have all event sounds enabled.  I am definantly not out of the woods yet.  It took me alot of playing with it to get it to start up the sound.  HEY,  Sound never sounded so sweet!!!!!!!
0
guiyuCommented:
Sorry for not replying sooner as I was busy with my work.

Great to hear the progress you have made.

Your current mpg123/x11amp output is what I was hoping to see. This usu. means that the DMA2 or DMA16 (16-bit DMA) is not set correctly.

At this stage you can probably play 8-bit files, e.g. cat somefile.au > /dev/dsp, but not 16bit files (which req. the high DMA)

Can you repost your new

cat /dev/sndstat
cat /proc/dma

I will get back to you later tonight, but I think the trick is to get CS4232 use some other DMA2 and the SB to use anohter set of DMA16. The isapnp.conf will be the main thing to edit.
0
patrickhinckleAuthor Commented:
[patrick@localhost patrick]$ cat /dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux localhost.localdomain 2.2.5-15 #1 Wed Nov 10 19:38:53 EST 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.16) (DUPLEX)

Synth devices:

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster
----------------------------------
Why is'nt anything listed under installed drivers,  Card config and synth devices?
----------------------------------
[patrick@localhost patrick]$ cat /proc/dma
 1: SoundBlaster8
 4: cascade
 5: SoundBlaster16
----------------------------------
How do i save my current isapnp.conf file and other config files to floppy?  I want to be real cautious with messing with the isapnp.conf file.  If it finds a conflict on bootup it crashes my system loading the sound module.  The rescue disks do nothing but list a panic error.  Last time i had to reinstall everything.  If it happens again i want to be prepared to have all the settings i have now.  That way i wont have to worry about going through the tedius task of setting this all up again. If you dont mind me asking, what type of work do you do?  I am just wondering cause i am fascinated with all that you know about linux.  I was thinking that your work is something with computers.  
0
guiyuCommented:
A summary:

a) isapnp.conf specifies SB16 to use dma=3, but does not specify dma16 at all

b) however, your conf.modules specified dma0=1 and dma16=5, which are both wrong (due to part a)

A quick and dirty test (without rebooting) is to

1)edit your conf.modules to use dma=3 and dma16=5, i.e.

options sb io=0x220 irq=5 dma=3 dma16=5 mpu_io=0x300

2)unload your sound modules : rmmod {sound sb soundcore soundlow uart401 opl3} (in a specific order), also try
  modprobe -r sound
3)reload your sound modules
modprobe -a sound
4)try playing a file with mpg123

if this does not work, try using dma16=7,9 etc and repeat from step 2. The idea is that although isapnp.conf did not specify/initialize the higher DMA channel, your SB16 PNP card may have grabbed a resource by its own, and this resource may be 5(if you are lucky),7,9.


1 Comments on your isapnp.conf
=======================
(initially generated by pnpdump)

1a) You may delete all the commented lines (with a '#') to make the file easier to read and debug.

1b) you have not specified the high(DMA1) DMA channel for the SB16 card. Seems like pnpdump cannot detect a 16-bit DMA channel (which should be present), try adding this line immediately below the DMA0 entry for your SB16 card, i.e. the DMA0 entry after the line

                (CONFIGURE CTL00f0/-1 (LD 0


(DMA 1 (CHANNEL 5))

1c) pnpdump could not detect your wavetable card either. You may try adding this line to your /etc/isapnp.conf (it may fail, try with running isapnp once after editing) in the SB16 section i.e. after the line

                (CONFIGURE CTL00f0/-1 (LD 0 .....

(CONFIGURE CTL00f0/-1 (LD 2 (IO 0 (BASE 0x0620)) (IO 1 (BASE 0x0A20)) (IO 2 (BASE 0x0E20)) (ACT Y) ))

2 Comments on your conf.modules
=========================
1:options cs4232 io=0x530 irq=7 dma=0 dma2=1 mpuio=0x300 mpuirq=9
2:post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
3:alias sound sb
4:pre-install sound insmod sound dmabuf=1
5:alias midi opl3
6:options opl3 io=0x388
7:options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330

2a) line 1 has no effect and serve only as a reminder for you as to which resources are allocated to the onboard sound card by
isapnp.conf. This line will become effective only if you put 'alias sound cs4232' somewhere later. Moreover, according to your isapnp.conf file, that line should correctly read (for reference only):

options cs4232 io=0x534 irq=7 dma=1 dma2=0 mpuio=0x330 mpuirq=9

2b) line 2 may not work due to the fact that a wavetable (AWE) module was not detected and initialized by pnpdump, although you might want to add the following lines to isapnp.conf and see if it works.
(CONFIGURE CTL00f0/-1 (LD 2 (IO 0 (BASE 0x0620)) (IO 1 (BASE 0x0A20)) (IO 2 (BASE 0x0E20)) (ACT Y) ))

This will work only if you have a genuine AWE32, and you mentioned that your SB16 card has a wavetable plug-in card? If not, just ignore this line.

If you indeed have some sort of AWE add-on module, you will need to download the 2 rpms (assuming you are using redhat) for sfxload and awedrv (which contains the wavetable instruments file) from www.rpmfind.net, before the 'sfxload' line will work. (just download everything with AWE headers)

2c) I am not sure if the 'pre-install line is necessary', well, if it works, don't mess with it for now

2d) Your sb options are incorrect, and should be modified (according to your isapnp.conf) to:

options sb io=0x220 irq=5 dma=3 dma16=5 mpu_io=0x300


To answer your questions,
==================
1) You can copy any files to a MS-DOS formatted floppy by e.g.

mcopy /etc/isapnp.conf a:

2) One way to get into your system without loading the sound modules is to boot into single user mode. At the lilo prompt (if you don't get a prompt, hold down the CAPS LOCK key during boot), type

linux single

3) Another way is to boot using your Linux Installer disk/CD, and pretend to go thru the initial installation process, during the disk partition stage, type CTRL-ALT-(F1 or F2 or F3) to switch to a virtual console, log in,  from which you can mount your root partition

 mount /dev/hda1 /mnt

and go to /mnt/etc to edit any previously changed config files. Remember to do a

unmount /dev/hda1 before rebooting.

The best way to test a isapnp.conf file is to just run isapnp on a copy of the file, e.g.

isapnp isapnp.test.conf

and see what the results say. This is the recommended method to test out your isapnp.test.conf before full deployment.

4) Currently I am still a student, majoring in Electrical and Computer engineering. I think you are learning the details of linux very quickly, soon to become a pro. In the process solving linux problems, I am forced to think about things which I have put off earlier.

Let me know how it goes, you are getting close.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patrickhinckleAuthor Commented:
Added the second high dma to isapnp.conf.  Adding the wavetable line did fail.  I edited my conf.modules to match isapnp.conf.  Changed dma's to any possible configuration that would not conflict.  There was no sound, but by turning the speakers all the way up and setting the mixer all the way up i did hear a change of pitch in the white noise coming out. (if that makes any difference).  I am going to paste a some info on updated config files.  I still have cd player sound and now i have microphone sound.
----------------------------------
# Board 1 has serial identifier 43 01 00 00 00 32 42 63 0e
# Board 2 has serial identifier 6d ff ff ff ff f0 00 8c 0e

# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier 43 01 00 00 00 32 42 63 0e)
# Vendor Id CSC4232, Serial Number 16777216, checksum 0x43.
# Version 1.0, Vendor version 0.1
# ANSI string -->CS4232<--

(CONFIGURE CSC4232/16777216 (LD 0
#     ANSI string -->WSS/SB<--

  (INT 0 (IRQ 7 (MODE +E)))

  (DMA 0 (CHANNEL 3))
  (DMA 1 (CHANNEL 0))
  (IO 0 (SIZE 4) (BASE 0x0534))
  (IO 1 (SIZE 4) (BASE 0x0388))
  (IO 2 (SIZE 16) (BASE 0x0240))

 (NAME "CSC4232/16777216[0]{WSS/SB              }")
  (ACT Y)
))

(CONFIGURE CSC4232/16777216 (LD 1
  (IO 0 (SIZE 8) (BASE 0x0200))
 (NAME "CSC4232/16777216[1]{Game                }")
  (ACT Y)
))

(CONFIGURE CSC4232/16777216 (LD 2
  (IO 0 (SIZE 8) (BASE 0x0f00))
 (NAME "CSC4232/16777216[2]{Ctrl                }")
  (ACT Y)
))


(CONFIGURE CSC4232/16777216 (LD 3
  (INT 0 (IRQ 9 (MODE +E)))
  (IO 0 (SIZE 2) (BASE 0x0300))
 (NAME "CSC4232/16777216[3]{MPU                 }")
  (ACT Y)
))
# End tag... Checksum 0x00 (OK)

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

(CONFIGURE CTL00f0/-1 (LD 0
#     ANSI string -->Audio<--
# Multiple choice time, choose one only !


 (INT 0 (IRQ 5 (MODE +E)))
 (DMA 0 (CHANNEL 1))
 (DMA 1 (CHANNEL 5))
 (IO 0 (SIZE 16) (BASE 0x0220))
 (IO 1 (SIZE 2) (BASE 0x0330))
 (IO 2 (SIZE 4) (BASE 0x038c))


 (NAME "CTL00f0/-1[0]{Audio               }")
 (ACT Y)
))

(CONFIGURE CTL00f0/-1 (LD 1
  (IO 0 (SIZE 1) (BASE 0x0208))

 (NAME "CTL00f0/-1[1]{Game                }")
  (ACT Y)
))
# End tag... Checksum 0x00 (OK)
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
----------------------------------
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux localhost.localdomain 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.16) (DUPLEX)

Synth devices:

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster
----------------------------------
[root@localhost /root]# cat /proc/dma
 1: SoundBlaster8
 4: cascade
 5: SoundBlaster16
----------------------------------
[root@localhost /root]# cd /etc
[root@localhost /etc]# more conf.modules
alias parport_lowlevel parport_pc
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
alias sound sb
pre-install sound insmod sound dmabuf=1
options opl3 io=0x388
alias midi awe_wave
post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
----------------------------------


Added  Generic opl2 opl3 fm synthisizer support to the kernal but had no effect.  Totally got rid of all support for the CS4232 in the kernel also...Still had no effect.  
0
patrickhinckleAuthor Commented:
Ok i now have sound.  I gave the cs4232 dma 0 and 5 and the soundblaster 1 and 3 that seems to have done the trick.  The sound is real scrathy and sounds terrible though.  Do you know what could cause that?
0
patrickhinckleAuthor Commented:
Giving the soundblaster dma 1 and 3 gives me sound, but cat /proc/dma  does not reference the 16 bit dma.  Only the 8 bit.  thats why its so scratchy and not very good.  Its using the 8 bit channel for everything.  Changing the dma to 1 and 5.  cat /proc/dma make reference to the 16 but channel but there is no sound except for cd.  For some reason i am not getting the 16bit sound.  I will keep messing with it.  I think its the configuration.  I will approve your answer soon.  I just wanna get this configuration figured out so if you get a similar question you can tell them my exact configuration.  
0
patrickhinckleAuthor Commented:
if you go to /usr/src/linux/Documentation  and look at the VIBRA16 readme.  You will see exactly my problem.  According to that dma1 and 3 is the only configuration that is possible for that card.  Gezzz does it sound terrible.  I am going to look on the net for another driver.  Maybe they did some updates since i bought redhat 6.0.  Do you know what about the module compilation it talks about in the readme.  Is it possible to get better sound then i have.  I will accept comment as answer on the next reply ok.  I know your busy.  Thanks for all your help
0
guiyuCommented:
http://support.soundblaster.com/specs/audio/sb16/ct4171.html

confirms the lack of a 16-bit DMA for your card. That is too bad, seems like the commercial drivers does not support it either, anyway you might want to try

a) downloading the trial OSS drivers from www.opensound.com

b) downloading/installing alsa drivers from www.alsa-project.org

Moreover, the main problem may be that both your onboard CS4232 and SB16 basically uses 8-bit DMA, i.e. channels 0,1,3 (according to isapnp.conf). So there is no way for the onboard card to not conflict with the SB16, thereby giving you horrible sound.
Normally 8 bit sound should not be that bad, unless there is a conflict.

Well, at this point perhaps you should consider using the onboard sound via the linux CS4232 module, which supports MP3 (unlike the vibra16x). All the settings for the CS4232 are already there in isapnp.conf and conf.modules (except that you need to put "alias sound cs4232" instead of "alias sound sb"), you just need to recompile your kernel for support for the CS4232 module. (Note that though you previously tried to exclude CS4232 module from the kernel, that still does not prevent the CS4232 hardware from "physically" grabbing a DMA resource on reboot, irregardless of whether there were drivers for it or not)

I have previously compiled a module (RedHat 5.2) for an onboard CS4232 soundcard (Intel seattle BX motherboard). And sound/MP3 works beautifully.

Also, by now you already know the drill and should be able to test the CS42332 out in a matter of minutes.

Good luck!

P.S. I see from your use of the term 'white noise' (Gaussian?) that you must be from the engineering community too. ;-)

0
guiyuCommented:
One important thing, if you decide to try the CS4232 module, pulling the SB16 (and erasing the corresponding parts in isapnp.con) out may simplify things.
0
patrickhinckleAuthor Commented:
I recently used samba to get to all my mp3 out of dos.  I have excellent mp3 sound.  My cd sound is great too.  The event sounds in gnome really sound terrible though.  I am using OPL 3 yamaha driver for wav cause it was the easiest to get loaded.  I think once i mess with the awe driver alittle and get it loaded i will get good sound there too.  using dma3 for my high dma seems to be doing the trick.  According to /usr/src/linux/Documentation/sound/VIBRA16  The second dma will be passed to the kernel as a 16 bit dma.  I want to thank you for all your help.  I learned alot with ya helping me.   Later i will give you a update on how everythings doing.  Thanks for everything.  Don   (dhinckle@erols.com
0
patrickhinckleAuthor Commented:
Thanks for everything and emial me sometime.  dhinckle@erols.com
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.