Hi;

I am new to ALSA (well, sound in general), and am having a little trouble getting 
aplay (and arecord) working with my (new) M Audio Audiophile 2496 card.

I've built the ALSA driver, lib, and util packages for the 0.9.0beta12 version on a 
RedHat 6.2 based Alpha machine using gcc 2.95.3.  I also built the envy24control 
program from the alsa-tools package.  The kernel sources are RedHat's 2.2.19-6.2.16 
(my own .config, though).

The card appears to be working - the analog input and output seem to work (I can play 
CDs "by hand" using them), and envy24control program seems to work fine, as does 
amixer and alsamixer.  However, aplay says:

[root@lorien /root]# aplay junk.mp3 
Playing raw data 'junk.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
ALSA lib pcm_hw.c:248:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: Cannot 
allocate memory
aplay: set_params:767: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  U8
SUBFORMAT:  STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 1000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 4000
TICK_TIME: 976

The sources show me this happens for an ioctl failure, but I am not sure what this 
really means.  Any ideas?  I get similar output when trying to play .au files with 
aplay.

FWIW, xmms also reports ioctl failures and refuses to play.  Presumably this is 
related to the aplay failure.

Any help you can give is much appreciated.

Thanks in advance,
Craig

[root@lorien /root]# lsmod
Module                  Size  Used by
snd-mixer-oss          13392   0  (autoclean)
snd-ice1712            54416   1 
snd-pcm                73472   0  [snd-ice1712]
snd-timer              15104   0  [snd-pcm]
snd-cs8427              5520   0  [snd-ice1712]
snd-mpu401-uart         5136   0  [snd-ice1712]
snd-rawmidi            18896   0  [snd-mpu401-uart]
snd-seq-device          6912   0  [snd-rawmidi]
snd-i2c                 3808   0  [snd-ice1712 snd-cs8427]
snd-ac97-codec         31360   0  [snd-ice1712]
snd                    48208   4  [snd-mixer-oss snd-ice1712 snd-pcm snd-timer 
snd-cs8427 snd-mpu401-uart snd-rawmidi snd-seq-device snd-i2c snd-ac97-codec]
soundcore               4368   3  [snd]


[root@lorien /root]# grep CONFIG_SOUND /usr/src/linux/.config
CONFIG_SOUND=m
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
CONFIG_SOUND_OSS=m
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_GUS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_MAUI is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_SOFTOSS is not set
# CONFIG_SOUND_YM3812 is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_NM256 is not set
# CONFIG_SOUND_YMFPCI is not set


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

Reply via email to