I'm no expert, but I have the same chip in my Turtle Beach Malibu.  For this 
driver to work you need to specify some options in the /etc/modules.conf 
file.

In Debian, you're going to want to go into /etc/alsa/modutils/ and edit one of 
the files in there (probably one called '1.0').  You should tack on something 
like:

-----snip------
alias snd-card-0 snd-cs4236
alias snd-slot-0 snd-card-0

options snd-cs4236 port=0x0534 cport=0x120 mpu_port=0x0330 fm_port=-1 irq=5 
mpu_irq=9 dma1=1 dma2=0
-----snip------

and then run 'update-modules' as root to have /etc/modules.conf recompiled 
from its source text files (that are scattered all about /etc/; note, this is 
not compiling in the C language sense).  Read UPDATE-MODULES(8) for more on 
what this is doing.

Some ALSA docs on "The module options for snd-cs4236" can be found here:
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Turtle+Beach&card=Malibu&chip=&module=cs4236

HTH.
chris.

On Friday 09 April 2004 22:23, Ken Walker wrote:
> I have a debian unstable install and I haven't managed to get sound
> working. I have been reading things I have found on google and in various
> documents, but the fact is I am lost.  I can't tell where the problem is.
>
> If i use Knoppix 3.3, it runs and sound works.  Looking at the Knoppix
> settings, it says the sound card is a CS4236B1WSS/SB using ad1848 driver.
>
> The computer is a dell gx1.  Their website tells me that the on board sound
> "card" uses a Crystal Semiconductor CS4236 chip.
>
> Using the script found at:
> http://alsa.opensrc.org/index.php?page=aadebug
>
> I produced this output:
>
>
> full:/home/ken/scripts# ./aadebug
> ALSA Audio Debug v0.0.7 - Sat Apr 10 00:42:05 UTC 2004
> http://alsa.opensrc.org/?aadebug
>
> Kernel ----------------------------------------------------
> Linux full 2.6.4-1-686 #1 Sat Mar 13 19:25:38 EST 2004 i686 GNU/Linux
>
> Loaded Modules --------------------------------------------
> snd_seq_oss            34880  0
> snd_seq_midi            8416  0
> snd_seq_midi_event      7680  2 snd_seq_oss,snd_seq_midi
> snd_opl3_synth         16228  0
> snd_seq_instr           9344  1 snd_opl3_synth
> snd_seq_midi_emul       7968  1 snd_opl3_synth
> snd_ainstr_fm           2752  1 snd_opl3_synth
> snd_seq                55568  8
> snd_seq_oss,snd_seq_midi,snd_seq_midi_event,snd_opl3_synth,snd_seq_instr,sn
>d_seq_midi_emul snd_mixer_oss          20064  0
> snd_cs4236             17412  0
> snd_opl3_lib           11008  2 snd_opl3_synth,snd_cs4236
> snd_hwdep               9440  1 snd_opl3_lib
> snd_cs4236_lib         16864  1 snd_cs4236
> snd_mpu401_uart         7840  1 snd_cs4236
> snd_rawmidi            24928  2 snd_seq_midi,snd_mpu401_uart
> snd_seq_device          8072  6
> snd_seq_oss,snd_seq_midi,snd_opl3_synth,snd_seq,snd_opl3_lib,snd_rawmidi
> snd_cs4231_lib         27552  2 snd_cs4236,snd_cs4236_lib
> snd_pcm               101316  2 snd_cs4236_lib,snd_cs4231_lib
> snd_timer              25956  4 snd_seq,snd_opl3_lib,snd_cs4231_lib,snd_pcm
> snd_page_alloc         12228  2 snd_cs4231_lib,snd_pcm
> snd                    55556  17
> snd_seq_oss,snd_seq_midi,snd_seq_midi_event,snd_opl3_synth,snd_seq_instr,sn
>d_seq,snd_mixer_oss,snd_cs4236,snd_opl3_lib,snd_hwdep,snd_cs4236_lib,snd_mpu
>401_uart,snd_rawmidi,snd_seq_device,snd_cs4231_lib,snd_pcm,snd_timer
>
> Modules Conf ----------------------------------------------
> alias char-major-116 snd
> alias char-major-14 soundcore
> options snd major=116 cards_limit=4
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> alias /dev/dsp* snd-pcm-oss
> alias snd-card-0 snd-cs4236
> alias snd-slot-0 snd-card-0
> alias sound-slot-0 snd-slot-0
> ### update-modules: start processing /etc/modutils/sndconfig
> alias sound-slot-0 adlib_card
> post-install sound-slot-0 /bin/aumix -f /etc/.aumixrc -L >/dev/null 2>&1 ||
> : pre-remove sound-slot-0 /bin/aumix -f /etc/.aumixrc -S >/dev/null 2>&1 ||
> : options sound dmabuf=1
> ### update-modules: end processing /etc/modutils/sndconfig
>
> Proc Asound -----------------------------------------------
> Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05
> 15:41:49 2004 UTC).
> Compiled on Mar 13 2004 for kernel 2.6.4-1-686.
> 0 [CS4236B        ]: CS4236B - CS4236B
>                      CS4236B at 0x534, irq 5, dma 1&3
>   0: [0- 0]: ctl
>   8: [0- 0]: raw midi
>   4: [0- 0]: hardware dependent
>  16: [0- 0]: digital audio playback
>  24: [0- 0]: digital audio capture
>   1:       : sequencer
>  33:       : timer
> 00-00: OPL3 FM
> 00-00: CS4231 : CS4236B : playback 1 : capture 1
>
> Dev Snd ---------------------------------------------------
> controlC0  hwC3D1    midiC1D6  midiC3D7  pcmC1D0c  pcmC2D0p  pcmC3D1c
> controlC1  hwC3D2    midiC1D7  pcmC0D0c  pcmC1D0p  pcmC2D1c  pcmC3D1p
> controlC2  hwC3D3    midiC2D0  pcmC0D0p  pcmC1D1c  pcmC2D1p  pcmC3D2c
> controlC3  midiC0D0  midiC2D1  pcmC0D1c  pcmC1D1p  pcmC2D2c  pcmC3D2p
> hwC0D0     midiC0D1  midiC2D2  pcmC0D1p  pcmC1D2c  pcmC2D2p  pcmC3D3c
> hwC0D1     midiC0D2  midiC2D3  pcmC0D2c  pcmC1D2p  pcmC2D3c  pcmC3D3p
> hwC0D2     midiC0D3  midiC2D4  pcmC0D2p  pcmC1D3c  pcmC2D3p  pcmC3D4c
> hwC0D3     midiC0D4  midiC2D5  pcmC0D3c  pcmC1D3p  pcmC2D4c  pcmC3D4p
> hwC1D0     midiC0D5  midiC2D6  pcmC0D3p  pcmC1D4c  pcmC2D4p  pcmC3D5c
> hwC1D1     midiC0D6  midiC2D7  pcmC0D4c  pcmC1D4p  pcmC2D5c  pcmC3D5p
> hwC1D2     midiC0D7  midiC3D0  pcmC0D4p  pcmC1D5c  pcmC2D5p  pcmC3D6c
> hwC1D3     midiC1D0  midiC3D1  pcmC0D5c  pcmC1D5p  pcmC2D6c  pcmC3D6p
> hwC2D0     midiC1D1  midiC3D2  pcmC0D5p  pcmC1D6c  pcmC2D6p  pcmC3D7c
> hwC2D1     midiC1D2  midiC3D3  pcmC0D6c  pcmC1D6p  pcmC2D7c  pcmC3D7p
> hwC2D2     midiC1D3  midiC3D4  pcmC0D6p  pcmC1D7c  pcmC2D7p  seq
> hwC2D3     midiC1D4  midiC3D5  pcmC0D7c  pcmC1D7p  pcmC3D0c  timer
> hwC3D0     midiC1D5  midiC3D6  pcmC0D7p  pcmC2D0c  pcmC3D0p
>
> CPU -------------------------------------------------------
> model name      : Pentium III (Katmai)
> cpu MHz         : 498.583
>
> RAM -------------------------------------------------------
> MemTotal:       386528 kB
> SwapTotal:      498004 kB
>
> Hardware --------------------------------------------------
> 00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
> (rev 03)
>
>
> I also tried this to see if OSS modules are installed:
>
> full:/home/ken/scripts# lsmod | awk '$1~/oss/ || NR==1'
> Module                  Size  Used by
> snd_seq_oss            34880  0
> snd_mixer_oss          20064  0
>
> As to permissions, I have this:
>
> full:/home/ken/scripts# ls /dev/snd -l
> total 0
> crwxrwxr-x    1 root     audio    116,   0 Mar 29 19:26 controlC0
> crwxrwxr-x    1 root     audio    116,  32 Mar 29 19:26 controlC1
> crwxrwxr-x    1 root     audio    116,  64 Mar 29 19:26 controlC2
> crwxrwxr-x    1 root     audio    116,  96 Mar 29 19:26 controlC3
> crwxrwxr-x    1 root     audio    116,   4 Mar 29 19:26 hwC0D0
> crwxrwxr-x    1 root     audio    116,   5 Mar 29 19:26 hwC0D1
> crwxrwxr-x    1 root     audio    116,   6 Mar 29 19:26 hwC0D2
> crwxrwxr-x    1 root     audio    116,   7 Mar 29 19:26 hwC0D3
> crwxrwxr-x    1 root     audio    116,  36 Mar 29 19:26 hwC1D0
> crwxrwxr-x    1 root     audio    116,  37 Mar 29 19:26 hwC1D1
> crwxrwxr-x    1 root     audio    116,  38 Mar 29 19:26 hwC1D2
> crwxrwxr-x    1 root     audio    116,  39 Mar 29 19:26 hwC1D3
> crwxrwxr-x    1 root     audio    116,  68 Mar 29 19:26 hwC2D0
> crwxrwxr-x    1 root     audio    116,  69 Mar 29 19:26 hwC2D1
> crwxrwxr-x    1 root     audio    116,  70 Mar 29 19:26 hwC2D2
> crwxrwxr-x    1 root     audio    116,  71 Mar 29 19:26 hwC2D3
> crwxrwxr-x    1 root     audio    116, 100 Mar 29 19:26 hwC3D0
> crwxrwxr-x    1 root     audio    116, 101 Mar 29 19:26 hwC3D1
> crwxrwxr-x    1 root     audio    116, 102 Mar 29 19:26 hwC3D2
> crwxrwxr-x    1 root     audio    116, 103 Mar 29 19:26 hwC3D3
> crwxrwxr-x    1 root     audio    116,   8 Mar 29 19:26 midiC0D0
> crwxrwxr-x    1 root     audio    116,   9 Mar 29 19:26 midiC0D1
> crwxrwxr-x    1 root     audio    116,  10 Mar 29 19:26 midiC0D2
> crwxrwxr-x    1 root     audio    116,  11 Mar 29 19:26 midiC0D3
> crwxrwxr-x    1 root     audio    116,  12 Mar 29 19:26 midiC0D4
> crwxrwxr-x    1 root     audio    116,  13 Mar 29 19:26 midiC0D5
> crwxrwxr-x    1 root     audio    116,  14 Mar 29 19:26 midiC0D6
> crwxrwxr-x    1 root     audio    116,  15 Mar 29 19:26 midiC0D7
> crwxrwxr-x    1 root     audio    116,  40 Mar 29 19:26 midiC1D0
> crwxrwxr-x    1 root     audio    116,  41 Mar 29 19:26 midiC1D1
> crwxrwxr-x    1 root     audio    116,  42 Mar 29 19:26 midiC1D2
> crwxrwxr-x    1 root     audio    116,  43 Mar 29 19:26 midiC1D3
> crwxrwxr-x    1 root     audio    116,  44 Mar 29 19:26 midiC1D4
> crwxrwxr-x    1 root     audio    116,  45 Mar 29 19:26 midiC1D5
> crwxrwxr-x    1 root     audio    116,  46 Mar 29 19:26 midiC1D6
> crwxrwxr-x    1 root     audio    116,  47 Mar 29 19:26 midiC1D7
> crwxrwxr-x    1 root     audio    116,  72 Mar 29 19:26 midiC2D0
> crwxrwxr-x    1 root     audio    116,  73 Mar 29 19:26 midiC2D1
> crwxrwxr-x    1 root     audio    116,  74 Mar 29 19:26 midiC2D2
> crwxrwxr-x    1 root     audio    116,  75 Mar 29 19:26 midiC2D3
> crwxrwxr-x    1 root     audio    116,  76 Mar 29 19:26 midiC2D4
> crwxrwxr-x    1 root     audio    116,  77 Mar 29 19:26 midiC2D5
> crwxrwxr-x    1 root     audio    116,  78 Mar 29 19:26 midiC2D6
> crwxrwxr-x    1 root     audio    116,  79 Mar 29 19:26 midiC2D7
> crwxrwxr-x    1 root     audio    116, 104 Mar 29 19:26 midiC3D0
> crwxrwxr-x    1 root     audio    116, 105 Mar 29 19:26 midiC3D1
> crwxrwxr-x    1 root     audio    116, 106 Mar 29 19:26 midiC3D2
> crwxrwxr-x    1 root     audio    116, 107 Mar 29 19:26 midiC3D3
> crwxrwxr-x    1 root     audio    116, 108 Mar 29 19:26 midiC3D4
> crwxrwxr-x    1 root     audio    116, 109 Mar 29 19:26 midiC3D5
> crwxrwxr-x    1 root     audio    116, 110 Mar 29 19:26 midiC3D6
> crwxrwxr-x    1 root     audio    116, 111 Mar 29 19:26 midiC3D7
> crwxrwxr-x    1 root     audio    116,  24 Mar 29 19:26 pcmC0D0c
> crwxrwxr-x    1 root     audio    116,  16 Mar 29 19:26 pcmC0D0p
> crwxrwxr-x    1 root     audio    116,  25 Mar 29 19:26 pcmC0D1c
> crwxrwxr-x    1 root     audio    116,  17 Mar 29 19:26 pcmC0D1p
> crwxrwxr-x    1 root     audio    116,  26 Mar 29 19:26 pcmC0D2c
> crwxrwxr-x    1 root     audio    116,  18 Mar 29 19:26 pcmC0D2p
> crwxrwxr-x    1 root     audio    116,  27 Mar 29 19:26 pcmC0D3c
> crwxrwxr-x    1 root     audio    116,  19 Mar 29 19:26 pcmC0D3p
> crwxrwxr-x    1 root     audio    116,  28 Mar 29 19:26 pcmC0D4c
> crwxrwxr-x    1 root     audio    116,  20 Mar 29 19:26 pcmC0D4p
> crwxrwxr-x    1 root     audio    116,  29 Mar 29 19:26 pcmC0D5c
> crwxrwxr-x    1 root     audio    116,  21 Mar 29 19:26 pcmC0D5p
> crwxrwxr-x    1 root     audio    116,  30 Mar 29 19:26 pcmC0D6c
> crwxrwxr-x    1 root     audio    116,  22 Mar 29 19:26 pcmC0D6p
> crwxrwxr-x    1 root     audio    116,  31 Mar 29 19:26 pcmC0D7c
> crwxrwxr-x    1 root     audio    116,  23 Mar 29 19:26 pcmC0D7p
> crwxrwxr-x    1 root     audio    116,  56 Mar 29 19:26 pcmC1D0c
> crwxrwxr-x    1 root     audio    116,  48 Mar 29 19:26 pcmC1D0p
> crwxrwxr-x    1 root     audio    116,  57 Mar 29 19:26 pcmC1D1c
> crwxrwxr-x    1 root     audio    116,  49 Mar 29 19:26 pcmC1D1p
> crwxrwxr-x    1 root     audio    116,  58 Mar 29 19:26 pcmC1D2c
> crwxrwxr-x    1 root     audio    116,  50 Mar 29 19:26 pcmC1D2p
> crwxrwxr-x    1 root     audio    116,  59 Mar 29 19:26 pcmC1D3c
> crwxrwxr-x    1 root     audio    116,  51 Mar 29 19:26 pcmC1D3p
> crwxrwxr-x    1 root     audio    116,  60 Mar 29 19:26 pcmC1D4c
> crwxrwxr-x    1 root     audio    116,  52 Mar 29 19:26 pcmC1D4p
> crwxrwxr-x    1 root     audio    116,  61 Mar 29 19:26 pcmC1D5c
> crwxrwxr-x    1 root     audio    116,  53 Mar 29 19:26 pcmC1D5p
> crwxrwxr-x    1 root     audio    116,  62 Mar 29 19:26 pcmC1D6c
> crwxrwxr-x    1 root     audio    116,  54 Mar 29 19:26 pcmC1D6p
> crwxrwxr-x    1 root     audio    116,  63 Mar 29 19:26 pcmC1D7c
> crwxrwxr-x    1 root     audio    116,  55 Mar 29 19:26 pcmC1D7p
> crwxrwxr-x    1 root     audio    116,  88 Mar 29 19:26 pcmC2D0c
> crwxrwxr-x    1 root     audio    116,  80 Mar 29 19:26 pcmC2D0p
> crwxrwxr-x    1 root     audio    116,  89 Mar 29 19:26 pcmC2D1c
> crwxrwxr-x    1 root     audio    116,  81 Mar 29 19:26 pcmC2D1p
> crwxrwxr-x    1 root     audio    116,  90 Mar 29 19:26 pcmC2D2c
> crwxrwxr-x    1 root     audio    116,  82 Mar 29 19:26 pcmC2D2p
> crwxrwxr-x    1 root     audio    116,  91 Mar 29 19:26 pcmC2D3c
> crwxrwxr-x    1 root     audio    116,  83 Mar 29 19:26 pcmC2D3p
> crwxrwxr-x    1 root     audio    116,  92 Mar 29 19:26 pcmC2D4c
> crwxrwxr-x    1 root     audio    116,  84 Mar 29 19:26 pcmC2D4p
> crwxrwxr-x    1 root     audio    116,  93 Mar 29 19:26 pcmC2D5c
> crwxrwxr-x    1 root     audio    116,  85 Mar 29 19:26 pcmC2D5p
> crwxrwxr-x    1 root     audio    116,  94 Mar 29 19:26 pcmC2D6c
> crwxrwxr-x    1 root     audio    116,  86 Mar 29 19:26 pcmC2D6p
> crwxrwxr-x    1 root     audio    116,  95 Mar 29 19:26 pcmC2D7c
> crwxrwxr-x    1 root     audio    116,  87 Mar 29 19:26 pcmC2D7p
> crwxrwxr-x    1 root     audio    116, 120 Mar 29 19:26 pcmC3D0c
> crwxrwxr-x    1 root     audio    116, 112 Mar 29 19:26 pcmC3D0p
> crwxrwxr-x    1 root     audio    116, 121 Mar 29 19:26 pcmC3D1c
> crwxrwxr-x    1 root     audio    116, 113 Mar 29 19:26 pcmC3D1p
> crwxrwxr-x    1 root     audio    116, 122 Mar 29 19:26 pcmC3D2c
> crwxrwxr-x    1 root     audio    116, 114 Mar 29 19:26 pcmC3D2p
> crwxrwxr-x    1 root     audio    116, 123 Mar 29 19:26 pcmC3D3c
> crwxrwxr-x    1 root     audio    116, 115 Mar 29 19:26 pcmC3D3p
> crwxrwxr-x    1 root     audio    116, 124 Mar 29 19:26 pcmC3D4c
> crwxrwxr-x    1 root     audio    116, 116 Mar 29 19:26 pcmC3D4p
> crwxrwxr-x    1 root     audio    116, 125 Mar 29 19:26 pcmC3D5c
> crwxrwxr-x    1 root     audio    116, 117 Mar 29 19:26 pcmC3D5p
> crwxrwxr-x    1 root     audio    116, 126 Mar 29 19:26 pcmC3D6c
> crwxrwxr-x    1 root     audio    116, 118 Mar 29 19:26 pcmC3D6p
> crwxrwxr-x    1 root     audio    116, 127 Mar 29 19:26 pcmC3D7c
> crwxrwxr-x    1 root     audio    116, 119 Mar 29 19:26 pcmC3D7p
> crwxrwxr-x    1 root     audio    116,   1 Mar 29 19:26 seq
> crwxrwxr-x    1 root     audio    116,  33 Mar 29 19:26 timer
>
>
> And then there is this information:
>
> full:/home/ken/scripts# cat /proc/asound/cards
> 0 [CS4236B        ]: CS4236B - CS4236B
>                      CS4236B at 0x534, irq 5, dma 1&3
> full:/home/ken/scripts#   cat /proc/asound/devices
>   0: [0- 0]: ctl
>   8: [0- 0]: raw midi
>   4: [0- 0]: hardware dependent
>  16: [0- 0]: digital audio playback
>  24: [0- 0]: digital audio capture
>   1:       : sequencer
>  33:       : timer
>
> My apologies if the all the stuff here is wasted.
>
> Do I need to compile a different kernel?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to