Re: [ALSA] ALSA Power Management, Drivers behaving unexpectedly after suspend/resume cycle

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

 



On Fri, 2007-05-25 at 18:24 +0530, Nobin Mathew wrote:
> after resume when i do playback i am getting same number of DMA
> interrupt  as in the working case (after reboot).
> 

So, does aplay keeps playing until the end of your file or does it stop
after a short time due to no periods being transmitted to the codec (io
error) ? If it keeps playing then check the codec driver, it's possible
it hasn't resumed fully. 

> I am using aplay (/usr/share/sounds/alsa/Side_Right.wav)
> 
> But i am not getting any sound (3 underruns), my codec register
> contents and controller register contents are same.
> 

Codec drivers cache registers for faster IO, best make sure the cache is
refreshed at resume.

Also, what happens when you kill aplay and restart it after resume ?
Does audio play or does it still underrun with no audio ? If audio
works, then this suggests something in your resume path is missing.

Fwiw, I would expect to sometimes see an underrun at resume due to
resume being a busy period for most systems. 

Liam

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux