Skip to contentSkip to conversation

power management in alsa

DISCUSSION Andi Kleen 3 participants 4 messages Jul 25, 2007 – Jul 26, 2007

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

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

#1 lore raw

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

#2 lore raw

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
#3 lore raw

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