Roger E Critchlow Jr writes:
Greetings:

Continuing my tale of woe:

 > Toshiba Tecra 8100, ymfpci sound, RedHat 7.2 upgraded to
 > kernel-2.4.9-13
 > 
 > Abit BP0-6, ens1371 sound, RedHat 7.2 upgraded to kernel-2.4.9-13smp.

with alsa from the cvs repository

Because

 >  > $ aplay /usr/share/sounds/startup1.wav
 >  > Playing WAVE '/usr/share/sounds/startup1.wav' : Signed 16 bit Little Endian, Rate 
 >22050 Hz, Stereo
 >  > aplay: xrun:864: read/write error

failed on both machines, I thought I had a Redhat or kernel-2.4.9 or
operator problem that was common to both machines.  But the xrun from
aplay appears to be a red herring.  Other sounds pretend to play with
out generating errors.

The ens1371 finally started working last night.  I happened to try
another device on the card, thus:

    aplay -v -D hw:0,1 /usr/share/sounds/startup2.wav

this played audibly, and since then the default device works, too.  Go
figure.

On the Toshiba/ymf744/ymfpci machine, no such luck.

Suggestions from the list were:
    try the intel8x0 driver
        (doesn't load, no such device)
    try starting with nothing in modules.conf
        (loads fine, makes no sounds)

I've upgraded the kernel to 2.4.17 with patch jl13-ll, same results.

It seems like everytime I look there's something new in the output of
amixer or alsactl, and some things are not initialized as muted.  For
instance, there are these two controls:

        control.36 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Digital Capture Volume'
                value.0 16383
                value.1 16383
        }
        control.37 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 16383'
                iface MIXER
                name 'Digital Capture Volume'
                index 1
                value.0 16383
                value.1 16383
        }

which don't show up in alsamixer but do show up in mixers going
through the oss.  They initialized at max volume and have been there
ever since.

The other thing which puzzles me is the output of
/proc/asound/sndstat.  Right now it says:
------------------------------------------------------------------------
Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta10 emulation code)
Kernel: Linux elf2.elf.org 2.4.17-jl13-ll #2 Thu Jan 24 01:47:22 MST 2002 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
Yamaha DS-XG PCI (YMF744) at 0xcd104000, irq 11

Audio devices: NOT ENABLED IN CONFIG

Synth devices:
0: OPL3 FM

Midi devices:
0: MPU-401 (UART)

Timers:
7: system timer

Mixers:
0: mixer00
------------------------------------------------------------------------
Last night it listed the yamaha as an audio device.  I have no idea
what "CONFIG" this message refers to, how I would config a sound card
without audio, or why the contents of sndstat seem to randomly change.

Thanks again to those who have tried to help.  I've been trying to
make alsa-0.9.0 run on this machine for nearly a month, seeking help
for a week, and all I've heard from the speakers are an occasional
faint crackling when the driver loads, or a faint click when aplay
finishes a wave.  The alsa-driver-0.5.12a ymfpci driver works, the
ymfpci driver in the current 2.4.* kernel works, and the osslinux396a 
driver works.

But alsa-driver-0.9.0beta10 and subsequent cvs commits do compile, do
load without errors, do pretend to play sounds, do run the sequencer
interface, but do not make any audible sounds.

I'm happy to provide any information, to try any patches or
to attempt any experiments,

Patch to cvs/alsa-driver/Makefile appended which fixes the uninstall
target, though I'm not sure this is how you want to clean out the
kernel/sound directory.

-- rec --

--- Makefile~   Fri Jan  4 10:51:59 2002
+++ Makefile    Sat Jan 26 11:25:52 2002
@@ -126,7 +126,7 @@
 
 .PHONY: install-modules
 install-modules:
-       rm -f $(DESTDIR)$(moddir)/snd*.o $(DESTDIR)$(moddir)/persist.o 
$(DESTDIR)$(moddir)/isapnp.o
+       rm -rf $(DESTDIR)$(moddir)/*
        @for d in $(SUBDIRS); do if ! $(MAKE) -C $$d modules_install; then exit 1; fi; 
done
 ifeq ($(DESTDIR),)
        /sbin/depmod -a
@@ -176,7 +176,7 @@
 .PHONY: uninstall
 uninstall:
        rm -rf $(DESTDIR)$(prefix)/include/sound
-       rm -f $(DESTDIR)$(moddir)/snd*.o $(DESTDIR)$(moddir)/persist.o 
$(DESTDIR)$(moddir)/isapnp.o
+       rm -rf $(DESTDIR)$(moddir)/*
        rm -f $(DESTDIR)/sbin/init.d/alsasound
        rm -f $(DESTDIR)/etc/rc.d/init.d/alsasound
        rm -f $(DESTDIR)/etc/init.d/alsasound

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to