[ltp] kernel 2.6.0-test1 + alsa sound tp 600e

Michael Hagemann linux-thinkpad@linux-thinkpad.org
Thu, 24 Jul 2003 00:40:47 +0200


On Tue, 22 Jul 2003 17:19:17 +0200 (DFT) Fekete Gabor wrote:

> On Tue, 22 Jul 2003, Michael Hagemann wrote:
> 
> > I actually use the alsa driver (as yet only old kernel).  Has better
> > startup scripts and standby works flawlessly.  Don't have it here at
> > the moment, so I'll have to take a look at my configuration later...
> 
> ok. i'm waiting for it... :)

All right, here it is.  I'm using debian, so all the init.d stuff etc. is
more or less debian.  I remember fiddling a bit with that, especially to
get suspend going (all the sound-producing processes are kill
-STOPped...), but basically with this in your modules.conf
(/etc/modutils/alsa for debian) everything should be alright:

# ------------------------------------------------------------ #

# ALSA portion
alias   char-major-116  snd
alias   snd-card-0      snd-cs4236

# module options should go here
options snd-cs4236 \
        index=0 id=CardZero enable=1 \
        cport=0x538 port=0x530 fm_port=0x388 sb_port=0x220 \
        irq=5 dma1=1 dma2=0 isapnp=0 \
        mpu_port=0x330 mpu_irq=9

# 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

post-install    snd-cs4236      /usr/sbin/alsactl restore
pre-remove      snd-cs4236      /usr/sbin/alsactl store

# ------------------------------------------------------------ #

The irq and dma settings are not fixed AFAIK, so you might need ps2 to
tell you the correct configuration...

This is alsa-0.9.1, so the driver name might be different, too.


hth,
michael