Roger E Critchlow Jr writes: >[ ... ] > > If I try to play a wave file, I get: > > $ 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 > > I've run out of ideas, any suggestions?
Absent any guidance, I tried installing the alsa cvs on a different machine with a different sound card. I must be doing something very dumb, because I get the exact same xrun error. 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. In both cases, compile and install alsa-driver, alsa-libs, and alsa-utils from the current cvs distribution, run snddevices, modify /etc/modules.conf, install /etc/init.d/alsasound, chkconfig alsasound on, reboot, alsasound starts okay, /var/log/messages says it starts okay, /sbin/lsmod shows the driver is loaded and active, /proc/asound/cards lists the card, /proc/asound/sndstat lists the card and its capabilities, alsamixer finds the card and allows me to unmute and raise volume, but no sound (*with two exceptions) and > $ 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 One exception is that unmuting the only IEC958 channel on the ens1371 puts a hiss on the speakers and the very start of startup1.wave when its played. The other exception is that the ymfpci can feed the internal speakers back into the internal microphone with appropriate mixer settings. So what's wrong with this picture? -- rec -- Patch to alsa-driver/INSTALL to bring cvs compile instructions up to date with the cvscompile script and to remove the last of the obsolesced snd-card-foo references: ------------------------------------------------------------------------ diff -c alsa-driver/INSTALL~ alsa-driver/INSTALL *** alsa-driver/INSTALL~ Sat Dec 22 13:00:21 2001 --- alsa-driver/INSTALL Sat Jan 19 23:24:21 2002 *************** *** 80,86 **** For compilation you can use these commands: ! make -C utils update-deps aclocal autoconf ./configure --- 80,86 ---- For compilation you can use these commands: ! make all-deps aclocal autoconf ./configure *************** *** 285,291 **** snd_port - port # for SB DSP 4.x chip (0x220,0x240,0x260) snd_mpu_port - port # for MPU-401 UART (0x300,0x330), -1 = disable snd_awe_port - base port # for EMU8000 synthesizer (0x620,0x640,0x660) ! (snd-card-sbawe module only) snd_irq - IRQ # for SB DSP 4.x chip (5,7,9,10) snd_dma8 - 8-bit DMA # for SB DSP 4.x chip (0,1,3) snd_dma16 - 16-bit DMA # for SB DSP 4.x chip (5,6,7) --- 285,291 ---- snd_port - port # for SB DSP 4.x chip (0x220,0x240,0x260) snd_mpu_port - port # for MPU-401 UART (0x300,0x330), -1 = disable snd_awe_port - base port # for EMU8000 synthesizer (0x620,0x640,0x660) ! (snd-sbawe module only) snd_irq - IRQ # for SB DSP 4.x chip (5,7,9,10) snd_dma8 - 8-bit DMA # for SB DSP 4.x chip (0,1,3) snd_dma16 - 16-bit DMA # for SB DSP 4.x chip (5,6,7) *************** *** 828,835 **** ----- /etc/modules.conf # ALSA portion ! alias snd-card-0 snd-card-interwave ! alias snd-card-1 snd-card-ens1371 # OSS/Free portion alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 --- 828,835 ---- ----- /etc/modules.conf # ALSA portion ! alias snd-card-0 snd-interwave ! alias snd-card-1 snd-ens1371 # OSS/Free portion alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 *************** *** 868,875 **** # ALSA native device support alias char-major-116 snd options snd snd_major=116 snd_cards_limit=1 ! alias snd-card-0 snd-card-interwave ! options snd-card-interwave snd_index=0 snd_id="GusPnP" # OSS/Free setup alias char-major-14 soundcore --- 868,875 ---- # ALSA native device support alias char-major-116 snd options snd snd_major=116 snd_cards_limit=1 ! alias snd-card-0 snd-interwave ! options snd-interwave snd_index=0 snd_id="GusPnP" # OSS/Free setup alias char-major-14 soundcore _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user