[ltp] tp 600E + sound: HELP!!!

davide linux-thinkpad@linux-thinkpad.org
Thu, 17 Jun 2004 13:25:42 +0200


Hi everyone
I'm trying to get sound work with an old thinkpad 600e type 2645-3A0.
I've got a fat16 partition with win95 on it (the sound works with this)
then I've got a slackware 9.1 and a red hat 9b. both the linux systems
can't get sound working.
Win95 is setted like this:
Crystal PnP Audio System CODEC i/o= 0x530, 0x388 and 0x220 irq=9 dma=3,1
Crystal PnP Audio System Control Registers i/o=0x538
Crystal PnP Audio System joystick i/o=0x200
Crystal PnP Audio System MPU-401 Compatible i/o=0x300 irq=5
Crystal SoundFusion(tm) PCI Audio Accelerator irq=11 iomem=50100000,
50000000
Crystal SoundFusion(tm) Virtual MPU-401 i/o0x330

the thinkpad configuration prog in win95 doesn't find a file it needs
and crashes, so I've installed ps2.exe under dos. ps2 ? audio returns:

enable
address   530
irq       9
SBaddress 220
dma       1 3

ps2 ? audioctrl returns:

enable
address 538

I'm running a 2.4.26 kernel on slack and default (vmlinuz-2.4.20-20.9)
on red hat. lspci returns:

...
00:06.0 Multimedia Audio Controller: Cirrus Logic CS 4610/11
[CrystalClear Soundfusion Audio Accelerator] (rev 01)
...

the kernel tryes to make a pnp initialization but it doesn't find any
pnp device (isa or pci). It seems the kernel can only find the pci 
accelerator (as win95 call it) and it can only insmod the gameport 
(cs461x + gameport).
I tried with OSS modules in many ways but the kernel always writes in 
/var/log/messages and in dmesg: no init_module found.
I tried a softboot with loadlin whithout success.
I tried using alsa and reading the documentation I found this:

# An other Example: IBM ThinkPad 600E with an CS423x emulated by an
CS4610/11
# In this case, the native PCI Sound is expected to not work, but some chips
# like the CS4610/11 have a very good emulation for older ISA non-PNP cards
# like the CS423x family. The CS4610/11 e.g. has an good emulation of the
# CS4231/2 cards and the CS4239 card, the snd-card-cs4236 e.g. supports the
# CS4239 emulation of the CS4610/11 in the IBM ThinkPad 600E:
#
# alias snd-card-0         snd-card-cs4236
# options snd-card-cs4236 index=0 snd_port=0x530 snd_cport=0x538
snd_irq=5 snd_dma1=1 snd_dma2=0 snd_isapnp=0
#
# You MUST suppy all required snd_port, snd_irq and snd_dma parameter AND
# the snd_isapnp=0 option to the snd-card if the card is not shown by
pnpdump,
# otherwise the ALSA driver will try to do PnP and will not find your card.
#
# This is an example of an post-install you may want use:
#
# post-install snd amixer set Master 100% unmute;amixer set PCM 100%
unmute; amixer set Aux,1 100% unmute
# (Aux,1 is the CDROM line-in in this ThinkPad 600E)
#
# For more info about the powerful amixer look into "man amixer".
#
# This will open your mixer channels in case you did not store a mixer setup
# for your card in /etc/asound.conf and you will have a default
configuration.
# To test your new setup, do:
#
# depmod -a
# rcalsasound restart
#
# If the modules were loaded, you can check them with lsmod.
#
# Open and unmute the mixer channels, e.g. with alsamixer, gamix or your
# OSS mixer (alsamixer: unmute the Master and PCM channels with ",." and
# raise them with the up/down-arrow keys, man alsamixer explains all the
keys)
#
# To play a sound sample run:
#
# aplay /usr/share/sounds/alsa/whistle.au
#
# For a list of supported soundcards look into
# /usr/share/doc/packages/alsa/cards.txt
# and browse the other files there and www.alsa-project.org
# for more information.

so my /etc/modules.conf is

      # ALSA portion
          alias char-major-116 snd
          alias snd-card-0 snd-cs4236
          options snd-cs4236 isapnp=0 index=0 cport=0x538 port=0x530
mpu_port=0x300 mpu_irq=7 sb_port=0x220 fm_port=0x388 irq=9 dma1=3 dma2=1
      # OSS/Free portion
#        alias char-major-14 soundcore
#        alias sound-slot-0 snd-card-0

      # card #1
          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/mixer snd-mixer-oss
          alias /dev/dsp snd-pcm-oss
          alias /dev/midi snd-seq-oss

typing modprobe snd-cs4236 I get a kernel panic (how can I write the 
otput of a kernel panic to a file? "2>error.txt" doesn't work).

In the web I found many people who got sound working on a tp 600e. Why I 
can't? Where am I wrong?
Thanks to all