From alsa-user-owner@alsa.jcu.cz  Tue Feb 23 23:12:41 1999
Received: from mail1.lig.bellsouth.net (mail1.lig.bellsouth.net [205.152.0.55])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id XAA07905
	for <alsa-user@alsa.jcu.cz>; Tue, 23 Feb 1999 23:12:08 +0100
Received: from host-209-215-10-90.sld.bellsouth.net (host-209-215-10-90.sld.bellsouth.net [209.215.10.90])
	by mail1.lig.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id RAA00297
	for <alsa-user@alsa.jcu.cz>; Tue, 23 Feb 1999 17:11:25 -0500 (EST)
Date: Tue, 23 Feb 1999 16:13:10 -0600 (EST)
From: David Cougle <lunarbard@moonman.com>
To: alsa-user@alsa.jcu.cz
Subject: Re: problem with cs4236 detection ( no way )
In-Reply-To: <36D1D8BB.7256235C@usa.net>
Message-ID: <Pine.LNX.4.10.9902231612580.442-100000@host-209-215-10-90.sld.bellsouth.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

# $Id: pnpdump.c,v 1.16 1998/10/09 22:19:06 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 on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME
#
# Trying port address 0203
# Board 1 has serial identifier f7 ff ff ff ff 37 d9 63 0e

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

# Card 1: (serial identifier f7 ff ff ff ff 37 d9 63 0e)
# Vendor Id CSCd937, No Serial Number (-1), checksum 0xF7.
# Version 1.0, Vendor version 0.1
# ANSI string -->AW35/Pro (Resource R2.2-D7)
#
# Logical device id CSC0000
#
# 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 CSCd937/-1 (LD 0
#     ANSI string -->WSS/SB

# Multiple choice time, choose one only !

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

#       Start dependent functions: priority acceptable
#       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 3))
#       IRQ 5, 7, 9, 11, 12 or 15.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0534
#             Maximum IO base address 0x0ffc
#             IO base alignment 4 bytes
#             Number of IO addresses required: 4
# (IO 0 (SIZE 4) (BASE 0x0534))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x0388
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 1 (SIZE 8) (BASE 0x0388))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0260
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 2 (SIZE 16) (BASE 0x0220))

#       Start dependent functions: priority functional
#       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))
#       IRQ 5, 7, 9, 11, 12 or 15.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0534
#             Maximum IO base address 0x0ffc
#             IO base alignment 4 bytes
#             Number of IO addresses required: 4
# (IO 0 (SIZE 4) (BASE 0x0534))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0388
#             Maximum IO base address 0x03f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 1 (SIZE 8) (BASE 0x0388))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0300
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 2 (SIZE 16) (BASE 0x0220))
# (NAME "CSCd937/-1[0]{WSS/SB              }")

#     End dependent functions
# (ACT Y)
))
#
# Logical device id CSC0001
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x39
#     Device supports vendor reserved register @ 0x3b
#     Device supports vendor reserved register @ 0x3c
#     Device supports vendor reserved register @ 0x3d
#
# 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 CSCd937/-1 (LD 1
#     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 0x0200
#             Maximum IO base address 0x0200
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
 (IO 0 (SIZE 8) (BASE 0x0200))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0208
#             Maximum IO base address 0x0208
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0208))
 (NAME "CSCd937/-1[1]{GAME                }")

#     End dependent functions
 (ACT Y)
))
#
# Logical device id CSC0010
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x39
#     Device supports vendor reserved register @ 0x3b
#     Device supports vendor reserved register @ 0x3c
#     Device supports vendor reserved register @ 0x3d
#
# 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 CSCd937/-1 (LD 2
#     ANSI string -->CTRL
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0120
#         Maximum IO base address 0x0ff8
#         IO base alignment 8 bytes
#         Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0120))
# (ACT Y)
))
#
# Logical device id CSC0003
#     Device supports vendor reserved register @ 0x38
#     Device supports vendor reserved register @ 0x39
#     Device supports vendor reserved register @ 0x3b
#     Device supports vendor reserved register @ 0x3c
#     Device supports vendor reserved register @ 0x3d
#
# 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 CSCd937/-1 (LD 3
#     ANSI string -->MPU

# Multiple choice time, choose one only !

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

#       Start dependent functions: priority acceptable
#       IRQ 9, 11, 12 or 15.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 9 (MODE +E)))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0360
#             IO base alignment 8 bytes
#             Number of IO addresses required: 2
# (IO 0 (SIZE 2) (BASE 0x0330))

#       Start dependent functions: priority functional
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x03e0
#             IO base alignment 8 bytes
#             Number of IO addresses required: 2
# (IO 0 (SIZE 2) (BASE 0x0330))
 (NAME "CSCd937/-1[3]{MPU                 }")

#     End dependent functions
# (ACT Y)
))
# End tag... Checksum 0x00 (OK)

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


#alias char-major-14 snd 


alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss 

#alias snd-minor-oss-0 snd-mixer 
#alias snd-minor-oss-3 snd-pcm1-oss 
#alias snd-minor-oss-4 snd-pcm1-oss 
#alias snd-minor-oss-5 snd-pcm1-oss 
#alias snd-minor-oss-12 snd-pcm1-oss 
alias snd-card-0 snd-card-cs4236
options snd snd_major=116 snd_cards_limit=1
options snd-card-cs4236 snd_index=1 snd_port=0x534 snd_cport=0x120 snd_mpu_port=0x330 snd_fm_port=0x388 snd_irq=5 snd_mpu_irq=9 snd_dma1=1 snd_dma2=3 



On Mon, 22 Feb 1999, Luca Montecchiani wrote:

> David Cougle wrote:
> > 
> > My conf.modules is probably out of date, but you want to have something
> > similar to this...
> >  :
> 
> Thanks but nothing change here, I can't believe that
> with OSS/Free everything works fine :((( and now after
> *two* days and *zillion* of conf.madules and isapnp.conf
> nothing !
> 
> Here some logs with isapnp and debug=detect:
> 
> snd: isapnp WSS: wss port=0x534, fm port=0x388, sb port=0x220
> snd: isapnp WSS: irq=5, dma1=1, dma2=0
> snd: isapnp GAME: joystick port=0x200
> snd: isapnp CTRL: control port=0x120
> snd: isapnp MPU: port=0x330, irq=9
> snd: CS4231: VERSION (I25) = 0x83
> snd: cs4231: unknown CS chip with version 0x83
> snd: CS4236+ soundcard #1 not found at 0x534 or device busy
> snd: CS4236+ soundcard #2 not found or device busy
> 
> snd: isapnp WSS: wss port=0x534, fm port=0x388, sb port=0x220
> snd: isapnp WSS: irq=5, dma1=1, dma2=0
> snd: isapnp GAME: joystick port=0x200
> snd: isapnp CTRL: control port=0x120
> snd: isapnp MPU: port=0x330, irq=9
> snd: CS4231: VERSION (I25) = 0x83
> snd: cs4231: unknown CS chip with version 0x83
> snd: CS4236+ soundcard #1 not found at 0x534 or device busy
> snd: CS4236+ soundcard #2 not found or device busy
> 
> Note (1) that putting "snd_mpu_port=-1" result in a brutal "oops" :((
> 
> nd: isapnp WSS: wss port=0x534, fm port=0x388, sb port=0x220
> snd: isapnp WSS: irq=9, dma1=3, dma2=1
> snd: isapnp GAME: joystick port=0x200
> snd: isapnp CTRL: control port=0x120
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
> current->tss.cr3 = 02c2b000, %cr3 = 02c2b000
> *pde = 00000000
> Oops: 0000
> CPU:    0
> EIP:    0010:[<c48528eb>]
> EFLAGS: 00010286
> eax: 00000000   ebx: c2469e30   ecx: ffffffff   edx: 00000a79
> esi: c2803540   edi: 00000000   ebp: c2ae2488   esp: c2469e28
> ds: 0018   es: 0018   ss: 0018
> Process insmod (pid: 2997, process nr: 45, stackpage=c2469000)
> Stack: 00000000 c2ae24c4 c32d8060 00000001 00000120 00000000 00000000 00000000 
>        00000000 0000ffff 00000000 0000ffff 00000000 00000000 00000000 00000000 
>        00000000 03880534 02000220 00000000 00000000 00040004 00080010 00000000 
> Call Trace: [<c48529de>] [<c481dbd3>] [<c4852000>] [<c4852e4c>] [<c4852000>]
> [<c4852000>] [<c01135bf>] 
>        [<c4852000>] [<c484b000>] [<c4848000>] [<c4852048>] [<c0107a40>]
> [<c4852000>] 
> Code: 0f b6 00 50 e8 38 88 ff ff 83 c4 04 e8 30 9c ff ff b8 ed ff
> 
> Note (2) , I've also read this inside the working OSSFree/cs4232.c :
> 
>  * This version of the driver doesn't use the PnP method when configuring
>  * the card but a simplified method defined by Crystal. This means that
>  * just one CS4232 compatible device can exist on the system. Also this    
>  * method conflicts with possible PnP support in the OS. For this reason   
>  * driver is just a temporary kludge.                                      
>  *                                                                         
>  * Also the Cirrus/Crystal method doesnt always work. Try ISA PnP first ;) 
> 
> 
> What about "snd: cs4231: unknown CS chip with version 0x83" ??
> Please help me , I *want* switch to Alsa !
> 
> Luca
> _______________________________________________________________
> Aiem...: Luca Montecchiani           W.W.W.: http://i.am/m.luca
> E-mail.: m.luca@usa.net              Kernel: 2.2
> I.R.C..: defrag (#linux-it)          I.C.Q.: 17655604
> PGP5.0i: available on my home page   Lime98: io c'ero ;)
> _______________________________________________________________
> 
> 
> ------
> To unsubscribe from <alsa-user@alsa.jcu.cz> mailing list send message
> 'unsubscribe' in the body of message to <alsa-user-request@alsa.jcu.cz>.
> 

-- 
http://www.slidellweb.com/dcougle
ICQ #3795561
Lunarbard on AOL(Instant Messenger)
Proverbs 15:3
"We will not be the alternative, we will set the trend"


