power management in alsa
Hallo,
I noticed ALSA hda seems to only change PCI power management states of the sound devices on suspend/resume. Is there a reason the device cannot be automatically suspended when nobody has sound opened?
-Andi
At Wed, 25 Jul 2007 14:36:58 +0200,
Quoted 7 lines · Andi Kleen
Hallo,
I noticed ALSA hda seems to only change PCI power management states of the sound devices on suspend/resume. Is there a reason the device cannot be automatically suspended when nobody has sound opened?
I made once the automatic power-control patch for hd-audio, but it was possibly racy and a bit messy implementation, so I abandoned it. Since then, no one has worked on this issue.
Takashi
Hi!
Quoted 7 lines
Quoted 3 lines
I noticed ALSA hda seems to only change PCI power management states of the sound devices on suspend/resume. Is there a reason the device cannot be automatically suspended when nobody has sound opened?
I made once the automatic power-control patch for hd-audio, but it was possibly racy and a bit messy implementation, so I abandoned it. Since then, no one has worked on this issue.
IIRC that patch saved .3W, which is quite significant -- about half of spinning harddrive. I'd say it is worth the effort.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
At Wed, 25 Jul 2007 18:41:50 +0000,
Quoted 7 lines · Pavel Machek
Hi!
Quoted 4 lines
Quoted 3 lines
I noticed ALSA hda seems to only change PCI power management states of the sound devices on suspend/resume. Is there a reason the device cannot be automatically suspended when nobody has sound opened?
Quoted 6 lines
Quoted 3 lines
I made once the automatic power-control patch for hd-audio, but it was possibly racy and a bit messy implementation, so I abandoned it. Since then, no one has worked on this issue.
IIRC that patch saved .3W, which is quite significant -- about half of spinning harddrive. I'd say it is worth the effort.
OK, then I'll take a look again (and try reimplementing a bit better :)
thanks,
Takashi