Hi!

I recently upgraded my kernel to 2.2.20 and decided to upgrade my ALSA driver too. I 
downloaded 0.9.0rc1.

I have a SB16 PnP. My first problems were with the compilation. It ended with 
unresolved symbols in snd.o (vsnprintf) and snd-opl3-lib.o (snd_hwdep_new). 

The first error occured in alsa-kernel/core/misc.c in snd_verbose_printk, 
snd_verbose_printd, and snd_printd. They seemed like logging statements so as a 
quick-and-dirty solution I commented them out.

The second error occured in alsa-kernel/drivers/opl3_lib.c in  snd_opl3_hwdep_new. I 
resolved this error with adding snd-hwdep.o at the line

obj-$(CONFIG_SND_SB16) += snd-pcm.o snd-timer.o snd.o snd-rawmidi.o

in alsa-kernel/core/Makefile.

After these changes the driver compiled ok and loaded without errors. The sound card 
was detected. But when I try  to test it with aplay I receive the following error:

ALSA lib pcm_hw.c:252:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: C
annot allocate memory
aplay: set_params:787: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  MU_LAW
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: 10000

What does this error mean?

Chavdar Botev



See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
 

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

Reply via email to