Sound problems...
Andrew S. Townley
linux-thinkpad@www.bm-soft.com
Fri, 09 Apr 1999 16:13:14 +0000
Bill,
Thanks for the reply. I tried all your suggestions, but still no go. I
didn't have the channels muted before and had used amixer, alsamixer and
aplay. Nothing seems to work. If I boost the volume on all the
channels but the mic and crank the TP volume switch to 5, I can hear
static, but nothing else. If I try and play sounds, it acts like it is
playing and I hear static, but no sounds. It also just sits there until
I kill it with Ctrl-C.
Why I had actually put the alias for sound in was so it would load the
right stuff automatically using the RH sound script.
Anyway, it isn't critical, but it is annoying. I've burnt enough time
on it for this week, though. Thanks again. If you think of anything
else, let me know. Oh, I was wondering if you knew of a good way to
completely un-install the alsa stuff? It looks like it is pretty
invasive. Every time I try and get the "normal" sound stuff to work, I
find another thing that has been touched by the alsa install. Oh,
well. One more thing to look into later. :)
ast
Bill Mair wrote:
>
> Andrew S. Townley wrote:
>
> > Here's the conf.modules file:
> > =============================
> >
> > alias sound snd-card-0
> >
> > # --- BEGIN: Generated by ALSACONF, do not edit. ---
> > alias char-major-116 snd
> > alias char-major-14 snd
> > alias snd-card-0 snd-card-cs4236
> > alias sound-slot-0 snd-card-0
> > alias sound-service-0-3 snd-pcm1-oss
> > alias sound-service-0-12 snd-pcm1-oss#
>
> Hopefully the # at the end of the above line is not really there.
You're right. It isn't.
>
> > 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=1 snd_id=CARD_1 snd_port=0x530
> > snd_cport=0x538 snd_mpu_port=0x330 snd_fm_port=0x388 snd_jport=0x200
> > snd_irq=5 snd_mpu_irq=11 snd_dma1=0 snd_dma2=1
> > # --- END: Generated by ALSACONF, do not edit. ---
>
> As far as I can see it should work, but Iīve disabled the Joystick
> (snd_jport=-1) and the
> FM synth (snd_mpu_port=-1, not required snd_mpu_irq).
>
> Use amixer (or xamixer as I suggest on my pages) and make sure that all of
> the required
> audio levels are set as required, and that the channels are not muted. I
> actually had
> ALSA working for a whole day without any sound because I forgot to unmute the
>
> channels.
>
> If you are sure that this is all OK then try aplay against an .au or similar
> audio file
> and see what happens. The biggest problem with ALSA is that various progs
> require
> a "--with-alsa" when you call ./configure to enable their (if any) ALSA
> support.
>
> When everything is as you want it the issue the "alsactl store" to save the
> current
> audio setting into /etc/asound.conf.
>
> Oh another thing you could try:
> 1. remove the "alias sound snd-card-0" entry (Donīt just comment it out:
> see /etc/rc.d/rc.sysinit)
> 2. change the alias sound-s* entries to snd-s*
> [ RH looks for "alias sound" in conf.modules. (Better would be "alias
> sound " note the trailing blank ) ]
> 3. add the following two lines to /etc/rc.d/rc.local:
> modprobe snd-card-0
> alsactl restore
>
> I do it this way because ALSA didnīt seem to be initalizing correctly when
> being started from
> /etc/rc.d/rc.sysinit.
>
> Bill.