Skip to contentSkip to conversation

Recent code changes for HD-audio on HG repo

DISCUSSION Takashi Iwai 1 participant 1 message Aug 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

right now I committed a series of patches for HD-audio driver to HG repository. There are two big changes:

- The suspend/resume code is rewritten

Now the driver uses cached register values to restore the last
status. It's much cleaner than the previous code, and should work better. But, I couldn't test it on all existing laptops. So, please test and report any positive/negative feedbacks.

- New POWER_SAVE kconfig

The driver has POWER_SAVE confiugration. When enabled (it's so if
you build from alsa-driver tree), the driver turns off the codec and the controller chips when not used, and turn on again dynamically on demand. Good for laptops, good for mother earth! :)

The feature can be enabled/diabled even on the fly via "power_save" module option of snd-hda-intel. For disabling it, write 0 to /sys/modules/snd_hda_intel/parameters/power_save for disabling it, or pass power_save=0 in modprobe option (or its configuration).

Again, please give any positive/negative feedbacks, as I couldn't test many devices.

thanks,

Takashi