From alsa-user-owner@alsa.jcu.cz  Thu Mar  4 17:09:22 1999
Received: from mail2.lig (mail2.lig.bellsouth.net [205.152.0.56])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id RAA05252
	for <alsa-user@alsa.jcu.cz>; Thu, 4 Mar 1999 17:08:24 +0100
Received: from host-209-214-153-156.sld.bellsouth.net (host-209-214-153-156.sld.bellsouth.net [209.214.153.156])
	by mail2.lig (8.8.8-spamdog/8.8.5) with ESMTP id LAA24882
	for <alsa-user@alsa.jcu.cz>; Thu, 4 Mar 1999 11:07:35 -0500 (EST)
Date: Thu, 4 Mar 1999 10:10:54 -0600 (EST)
From: David Cougle <lunarbard@moonman.com>
To: alsa-user@alsa.jcu.cz
Subject: Re: Alsa support for CS4237 ?
In-Reply-To: <Pine.GSO.3.96.990216191339.13149A-100000@montchat>
Message-ID: <Pine.LNX.4.10.9903041010290.666-100000@host-216-76-187-143.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

I have cs4237b too.  Use this config.


isapnp.conf

# $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)



/etc/conf.modules


#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 Thu, 4 Mar 1999, Vincent Vanackere wrote:

> 
>  I own a Thinkpad 380XD with a CS4237 - I *think* it is not a CS4237B -
> sound chipset and I can't get it work with the 0.3.0-pre4 Alsa drivers :
> 
> - my current kernel is 2.2.2 with the sound support compiled in
> - I've tried with the SB, CS4232, CS4236 Alsa drivers without success...
> 
> The alsaconf program detects a sb-8 (!) and when I load the alsa
> sb-8 drivers, it works but the OPL3 chip is not detected. 
> When I try with CS423* drivers, I get a message "resource or device
> busy"; the debug option shows that no CS4232 nor CS4237 is detected.
> I've read all related messages in this mailing list but nothing could
> help.
> 
>  Could anybody tell me if he could get this CS4237 chip working ? Only the
> CS4237B is in the list of Alsa-supported chipset so I'm wondering if this 
> is without hope.
> 
> P.S.
> 1) I already use the Alsa drivers for my GUS-PnP on my other computer
> with exactly the same linux configuration (kernel version, isapnp
> version...) without any problem.
> 2) the sound works without problem with the OSS-free drivers for CS4232,
> so I'm convinced  that my card *could* work...
> 
> 
> 
> 
> ------
> 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"


