[ltp] Getting sound to work with ALSA on Thinkpad 600 using redhat 7.1

Brad Langhorst linux-thinkpad@www.bm-soft.com
Tue, 29 May 2001 11:00:35 -0400


> Then i putted the following in the /etc/modules.conf
>
> alias char-major-116 snd
> alias snd-card-0 snd-card-cs4232
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-3 snd-pcm1-oss
> alias sound-service-0-12 snd-pcm1-oss
> options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666
> snd_device_alias sound snd-card-cs4236
> options snd-card-cs4236 snd_port=0x530 snd_cport=0x538 snd_mpu_port=-1
> snd_f
I'm assuming this got truncated in your mail client... 
if not you need to fix it.  Make sure you are specifying the IRQ your 
soundcard is actually configured to use.  You can check this in windows' 
device manager if you still have it installed.

Here is mine... (tp 770)

alias char-major-116 snd
alias char-major-14 soundcore

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 snd-card-0 snd-card-dummy
#alias snd-card-1 snd-card-serial
#alias snd-card-2 snd-card-share
#alias snd-card-3 snd-card-virmidi

alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
 
alias sound snd-card-0
alias snd-card-0 snd-card-cs4236
 
alias snd-minor-oss-0 snd-card-cs4236
alias snd-minor-oss-1 snd-opl3
alias snd-minor-oss-3 snd-pcm-oss
 
# (If you are using the original alsasound script, then do an 
"/usr/sbin/alsactl restore" here instead.)
#
# ALSA native device support
#
# group 29 is "audio"
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 
snd_device_gid=0 snd_device_uid=0
#
options snd-card-cs4236 snd_index=0 snd_id=cs4237 snd_port=0x530 
snd_cport=0x538 snd_mpu_port=0x330 snd_fm_port=0x388 snd_sb_port=0x220 
snd_irq=5 snd_dma1=1 snd_dma2=0 snd_mpu_irq=9 #snd_dma1_size=xxx 
snd_dma2_size=xxx


> And finally i activated the sound server and reboot.

no need to reboot... just do
/etc/init.d/alsa restart
(or wherever the initscript is)

> The ERROR MESSAGE i get when i'm shutting down is that linux can't find the
> cs423x device and the is saying it can be invalid IRQ parameters or imode
> or something (it all flashes by very quickly so i can't be specific) maybe
> the error messages get logged in a file or something, i dunno?!

You should find them in /var/log/messages 
or maybe one of the other files in /var/log (depends on how redhat has set up 
the logging daemon)


You should have a look at Thomas Hood's excellent page
http://panopticon.csustan.edu/thood/tp600lnx.htm
some of the stuff won't apply to you (debian not redhat) but I expect it will 
be very helpful to you.

brad


----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html