On Thu, Aug 7, 2008 at 11:29 AM, Takashi Iwai <tiwai@xxxxxxx> wrote: > How is the PCM status during hang? Check > /proc/asound/card0/pcm*/sub*/* files. I wrote a script that repeatedly dumps the contents of /proc/asound/card0/pcm0p/sub0/status. I started playback, and it shows this: ... closed closed closed state: OPEN trigger_time: 0.000000000 tstamp : 0.000000000 delay : 0 avail : 0 avail_max : 0 ----- hw_ptr : 0 appl_ptr : 0 state: OPEN trigger_time: 0.000000000 tstamp : 0.000000000 delay : 0 avail : 0 avail_max : 0 ----- hw_ptr : 0 appl_ptr : 0 state: XRUN trigger_time: 165.300191122 tstamp : 165.302136461 delay : 0 avail : 0 avail_max : 0 ----- hw_ptr : 0 appl_ptr : 17840 state: XRUN trigger_time: 165.300191122 tstamp : 165.304661787 delay : 0 avail : 0 avail_max : 0 ----- hw_ptr : 0 appl_ptr : 17840 state: XRUN trigger_time: 165.300191122 tstamp : 165.306860459 delay : 0 avail : 0 avail_max : 0 ----- hw_ptr : 0 appl_ptr : 17840 and so on. > Also, could you run with gdb and check at which code-path is it > stopped? Sorry, I don't use gdb that much. How can I do this? I don't think I have debug versions of alsa-lib or mplayer. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel