Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio

From: VDR User
Date: Thu Mar 11 2010 - 14:24:15 EST


On Thu, Mar 11, 2010 at 10:32 AM, Jaroslav Kysela <perex@xxxxxxxx> wrote:
>>>> [pid 22651] ioctl(21, 0x80044121, 0xb439d2cc) = -1 EPIPE (Broken pipe)
>>>> pcm_hw.c: snd_pcm_hw_delay() SNDRV_PCM_IOCTL_DELAY failed.
>>>
>>> -EPIPE means underrun condition.
>>>
>>> Try 'echo 101 > /proc/asound/card0/pcm0p/xrun_debug' and send dmesg
>>> output
>>> to check if the ring buffer pointer in the hda-intel driver does not
>>> return
>>> wrong values. Replace card0 and pcm0p with right identifiers (look to
>>> 'aplay
>>> -l' for right numbers).
>>>
>>> More info: http://www.alsa-project.org/main/index.php/XRUN_Debug
>>
>> Hi, thanks for your further reply.  However, I don't see
>> "CONFIG_SND_PCM_XRUN_DEBUG" anywhere in the kernel config (both in
>> menuconfig or .config).
>
> All these parameters should be set: CONFIG_SND_PCM_XRUN_DEBUG,
> CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG . I updated wiki.

Ok, I have now compiled the alsa snapshot with the following:

./configure --with-cards=hda-intel
--with-card-options=hda-hwdep,hda-reconfig,hda-codec-realtek,hda-codec-nvhdmi,hda-generic,pcm-xrun-debug
--with-debug=verbose --enable-verbose-procfs --with-isapnp=no
--with-sequencer=no --with-oss=no --with-pcm-oss-plugins=no

Attached are samples of my dmesg and /var/log/syslog files. Hopefully
there is some useful information there?

Best regards,
Derek

Attachment: dmesg
Description: Binary data

Attachment: syslog
Description: Binary data