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

Re: snd-cs4236 and Thinkpad 600E



I have alsa running on my Thinkpad 600E.  Note that I am running kernel
version 2.6.8.1 -- if you are running 2.4.x, these may not be exactly
correct, but will be similar.  Any 2.6.x series kernels will be very
similar.  Also note that I have been having trouble with sound on any
kernel more recent than 2.6.8.1.  I rather suspect that there is
something in my config that is screwy, and it probably won't matter to
you.  YMMV.

With that said,

1) Make sure that you have the snd-cs4236 driver available.
2) Then make sure that you have the following lines in
your /etc/modprobe.d/alsa file:
######################
# Make sure alsa knows what your card is
alias snd-card-0 snd-cs4236

# Make sure that it knows how to configure it.  This is the default
# configuration.  This may need to be changed.  Also, this is really
# only one line.
options snd-cs4236 index=0 id=CARD_0 port=0x530 cport=0x538
sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0 enable=1
######################

3) Finally, run /sbin/update-modules

HTH,
Ian

On Thu, 2005-03-10 at 18:15 +0100, Antonio-Blasco Bonito wrote:
> I looked around a lot and tried many times before sending this request.
> Could somebody help me to make this alsa driver working on my old but 
> still effective IBM Thinkpad 600E?
> 
> I've successfully installed Debian Testing (sarge) with kernel 2.6.8 
> from the RC2 Installer cdrom.
> 
> % uname -a
> Linux airone 2.6.8 #1 Wed Mar 9 18:33:58 CET 2005 i686 GNU/Linux
> 
> Everything it's OK but the sound. The only way to get it working is with 
> the OSS driver...
> 
> % modprobe cs4232
> % lsmod | head
> Module                  Size  Used by
> cs4232                  7396  0
> ad1848                 33692  1 cs4232
> uart401                11716  1 cs4232
> sound                  84300  3 cs4232,ad1848,uart401
> soundcore              10336  1 sound
> ipv6                  264644  8
> ds                     18756  4
> appletalk              36628  20
> lp                     11176  0
> 
> But I would like to use alsa since it's much better...
> The alsaconf utility knows about the wrong recognition problem with 
> cs46xx driver and suggests to use cs4236 but then,  probing the card, 
> none is found.
> 
> Having discovered the ports and interrupt values with lspnp (see below), 
> I tried manual installation:
> 
> % modprobe snd-cs4236 isapnp=0 index=0 port=0x530 cport=0x538 
> fm_port=0x388 irq=5 dma1=1 dma2=0
> 
> FATAL: Error inserting snd_cs4236 
> (/lib/modules/2.6.8/kernel/sound/isa/cs423x/snd-cs4236.ko): No such device
> FATAL: Error running install command for snd_cs4236
> 
> Many modules get installed but not the actual driver:
> 
> % lsmod | grep snd
> snd_opl3_lib           10656  0
> snd_hwdep               9412  1 snd_opl3_lib
> snd_cs4236_lib         16896  0
> snd_mpu401_uart         7968  0
> snd_rawmidi            25124  1 snd_mpu401_uart
> snd_seq_device          8200  2 snd_opl3_lib,snd_rawmidi
> snd_cs4231_lib         27744  1 snd_cs4236_lib
> snd_pcm_oss            55080  0
> snd_mixer_oss          20096  1 snd_pcm_oss
> snd_pcm                98728  3 snd_cs4236_lib,snd_cs4231_lib,snd_pcm_oss
> snd_timer              25668  3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
> snd                    57156  11 
> snd_opl3_lib,snd_hwdep,snd_cs4236_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_cs4231_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore              10336  1 snd
> snd_page_alloc         11752  2 snd_cs4231_lib,snd_pcm
> 
> Having found a suggestion about removing ISAPNP support from the kernel, 
> I've also tried configuring and compiling the kernel in that way: same 
> results :-(
> 
> Here follows some useful info about the recognized hardware:
> 
> % lspnp
> 00 PNP0000 AT programmable interrupt controller
> 01 PNP0200 AT DMA controller
> 02 PNP0100 AT system timer
> 03 PNP0b00 AT real-time clock
> 04 PNP0800 AT-style speaker sound
> 05 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
> 06 IBM3780 PS/2 TrackPoint
> 07 PNP0c04 Math coprocessor
> 08 PNP0700 PC standard floppy disk controller
> 09 PNP0a03 PCI bus
> 0a PNP0c02 Motherboard resources
> 0b PNP0400 Standard LPT printer port
> 0d PNP0501 16550A-compatible COM port
> 0e CSC0100 multimedia controller: audio
> 0f CSC0110 multimedia controller: audio
> 10 CSC0101 multimedia controller: audio
> 11 CSC0103 multimedia controller: audio
> 12 IBM3765 multimedia controller: audio
> 13 IBM0071 IBM Thinkpad infrared port
> 14 PNP0e03 Intel 82365-compatible CardBus controller
> 17 PNP0680 Standard bus mastering IDE hard disk controller
> 19 PNP0680 Standard bus mastering IDE hard disk controller
> 1b PNP0c02 Motherboard resources
> 
> % lspnp -v 0e 0f 10 11
> 0e CSC0100 multimedia controller: audio
>         io 0x0530-0x0537
>         io 0x0388-0x038b
>         io 0x0220-0x0233
>         irq 5
>         dma 1
>         dma 0
> 0f CSC0110 multimedia controller: audio
>         io 0x0538-0x053f
> 10 CSC0101 multimedia controller: audio
>         io 0x0200-0x0207
> 11 CSC0103 multimedia controller: audio
>         io disabled
>         irq disabled
> 
> % lspci
> 0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host 
> bridge (rev 03)
> 0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP 
> bridge (rev 03)
> 0000:00:02.0 CardBus bridge: Texas Instruments PCI1251A
> 0000:00:02.1 CardBus bridge: Texas Instruments PCI1251A
> 0000:00:06.0 Multimedia audio controller: Cirrus Logic CS 4610/11 
> [CrystalClear SoundFusion Audio Accelerator] (rev 01)
> 0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
> 0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
> 0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
> 0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
> 0000:01:00.0 VGA compatible controller: Neomagic Corporation NM2200 
> [MagicGraph 256AV] (rev 12)
> 0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL-8139/8139C/8139C+ (rev 10)
> 
> % lspci -v
> 0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host 
> bridge (rev 03)
>         Flags: bus master, medium devsel, latency 64
>         Memory at 40000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: [a0] AGP version 1.0
> 
> 0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP 
> bridge (rev 03) (prog-if 00 [Normal decode])
>         Flags: bus master, 66MHz, medium devsel, latency 168
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
>         I/O behind bridge: 0000d000-0000dfff
>         Memory behind bridge: 70000000-dfffffff
>         Prefetchable memory behind bridge: e0000000-f7ffffff
> 
> 0000:00:02.0 CardBus bridge: Texas Instruments PCI1251A
>         Subsystem: IBM: Unknown device 00eb
>         Flags: bus master, medium devsel, latency 168, IRQ 11
>         Memory at 50102000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
>         Memory window 0: 10000000-103ff000 (prefetchable)
>         Memory window 1: 10400000-107ff000
>         I/O window 0: 00004000-000040ff
>         I/O window 1: 00004400-000044ff
>         16-bit legacy interface ports at 0001
> 
> 0000:00:02.1 CardBus bridge: Texas Instruments PCI1251A
>         Subsystem: IBM: Unknown device 00eb
>         Flags: bus master, medium devsel, latency 168, IRQ 11
>         Memory at 50101000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
>         Memory window 0: 10800000-10bff000 (prefetchable)
>         Memory window 1: 10c00000-10fff000
>         I/O window 0: 00004800-000048ff
>         I/O window 1: 00004c00-00004cff
>         16-bit legacy interface ports at 0001
> 
> 0000:00:06.0 Multimedia audio controller: Cirrus Logic CS 4610/11 
> [CrystalClear SoundFusion Audio Accelerator] (rev 01)
>         Subsystem: IBM CS4610 SoundFusion Audio Accelerator
>         Flags: bus master, medium devsel, latency 32, IRQ 11
>         Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
>         Memory at 50000000 (32-bit, non-prefetchable) [size=1M]
> 
> 0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
>         Flags: bus master, medium devsel, latency 0
> 
> 0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) 
> (prog-if 80 [Master])
>         Flags: bus master, medium devsel, latency 48
>         I/O ports at fcf0 [size=16]
> 
> 0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 
> 01) (prog-if 00 [UHCI])
>         Flags: bus master, medium devsel, latency 48, IRQ 11
>         I/O ports at 8400 [size=32]
> 
> 0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
>         Flags: medium devsel, IRQ 9
> 
> 0000:01:00.0 VGA compatible controller: Neomagic Corporation NM2200 
> [MagicGraph 256AV] (rev 12) (prog-if 00 [VGA])
>         Subsystem: IBM ThinkPad 570
>         Flags: bus master, medium devsel, latency 128, IRQ 11
>         Memory at e0000000 (32-bit, prefetchable) [size=16M]
>         Memory at 70000000 (32-bit, non-prefetchable) [size=4M]
>         Memory at 70400000 (32-bit, non-prefetchable) [size=1M]
>         Capabilities: [dc] Power Management version 1
> 
> 0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL-8139/8139C/8139C+ (rev 10)
>         Subsystem: Realtek Semiconductor Co., Ltd.: Unknown device 8138
>         Flags: bus master, medium devsel, latency 64, IRQ 11
>         I/O ports at 4000 [size=256]
>         Memory at 10400000 (32-bit, non-prefetchable) [size=512]
>         Capabilities: [50] Power Management version 2
> 
>  
> 
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Web Marketing: impara tutti i segreti del Posizionamento sui Motori di
> * Ricerca, Pubblicita' on-line, Email Marketing - clicca qui
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3213&d=10-3
> 
> 



Reply to: