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

Re: snd-cs4236 and Thinkpad 600E



On Sun, 13 Mar 2005 01:20:08 +0100, Antonio-Blasco Bonito wrote:
> % modprobe --ignore-install snd-cs4236 isapnp=0 index=0 port=0x530
> cport=0x538 fm_port=0x388 irq=5 dma1=1 dma2=0


Do you want to automate this?  Do you have alsa-base installed?

If so then the way to add options to modules is to find the line for
snd-cs4236 in /etc/modprobe.d/alsa-base:

    install snd-cs4236 modprobe --ignore-install snd-cs4236 &&
        /lib/alsa/modprobe-post-install snd-cs4236

and add the required options there, e.g.:

    install snd-cs4236 modprobe --ignore-install snd-cs4236 dma1=1
         dma2=0 && /lib/alsa/modprobe-post-install snd-cs4236

The procedure is slightly different if you are running a 2.4 kernel.  Then
you have to edit /etc/modutils/alsa-base and add a line like this:

    options snd-cs4236 dma1=1 dma2=0

-- 
Thomas Hood



Reply to: