[ltp] Sound on a 600X

Robert Hajime Lanning linux-thinkpad@www.bm-soft.com
Mon, 6 Mar 2000 20:18:38 -0800 (PST)


I have been trying to get the sound working.

I am using the latest alsa drivers/libs/utils (0.5.5).

when I try to play something (mpg123 via OSS emu) it runs VERY slow
so all I get is pops and scratches from the speaker.

my modules.conf is:
# ALSA
alias char-major-116 snd
alias snd-card-0 snd-card-cs461x
post-install snd-card-cs461x /usr/local/sbin/alsasetmix

# OSS emulation for ALSA
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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

and the script /usr/local/sbin/alsasetmix is:
#! /bin/sh

exec < /dev/null > /dev/tty12 2> /dev/tty12
/usr/bin/amixer -c 0 set 'Input Gain' 100% unmute
/usr/bin/amixer -c 0 set 'Master Mono' 100% unmute
/usr/bin/amixer -c 0 set 'Master' 100% unmute
/usr/bin/amixer -c 0 set 'Aux' 0% mute
/usr/bin/amixer -c 0 set 'Video' 0% mute
/usr/bin/amixer -c 0 set 'CD' 100% unmute
/usr/bin/amixer -c 0 set 'Line' 0% mute
/usr/bin/amixer -c 0 set 'MIC' 0% mute
/usr/bin/amixer -c 0 set 'Phone' 0% mute
/usr/bin/amixer -c 0 set 'PC Speaker' 0% mute
/usr/bin/amixer -c 0 set 'PCM' 100% unmute

Any idea?

-- 
/* Robert Hajime Lanning                             lanning@lanning.cc
** Trade: Unix Systems Administrator (Senior level)
*/
#include <std_disclaimer.h>
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html