[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586386: linux-2.6: Please enable CONFIG_SND_PCM_XRUN_DEBUG



Source: linux-2.6
Severity: wishlist

While CONFIG_SND_PCM_XRUN_DEBUG is mostly used for debugging purposes,
it can also affect the behavior of snd_pcm_update_hw_ptr0() since commit
c87d973.  (See XRUN_DEBUG_JIFFIESCHECK in sound/core/pcm_lib.c.)

This has been used before to work around bugs in intel8x0[1] and
cmipci[2], which have now been (mostly) fixed.  However, my own sound
card will still not play correctly without this hack[3].  It would be
nice not to have to recompile the kernel just to enable this option.

Note that CONFIG_SND_PCM_XRUN_DEBUG itself only creates a procfile; no
other effects will be felt until specific values are written to that
procfile.  It can thus be safely enabled, and will only bloat up the
kernel a little bit.  (Then, people like me who need this hack can
manually write XRUN_DEBUG_JIFFIESCHECK to the procfile.)


[1] <http://lkml.org/lkml/2009/6/10/347>
[2] <https://bugzilla.redhat.com/show_bug.cgi?id=524385>
[3] <http://www.spinics.net/lists/alsa-devel/msg30229.html>


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.34 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: