Hi Randy,

On Thursday 06 Aug 2009 04:52:11 Randy Dunlap wrote:
> +void hda_power_on(void)
> +{
> +       FILE *file;
> +
> +       file = fopen("/sys/module/snd_hda_intel/parameters/power_save",
> "w"); +       if (!file)
> +               return;
> +       fprintf(file,"1");
> +       fclose(file);
> +       if (access("/dev/dsp", F_OK))
> +               return;
> +       file = fopen("/dev/dsp", "w");
> +       if (file) {
> +               fprintf(file,"1");
> +               fclose(file);
> +       }
> +}
> +

What is the "/dev/dsp" stuff for ?
Does that too save power ?

Ritesh
-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Discuss mailing list
[email protected]
http://lists.lesswatts.org/listinfo/discuss

Reply via email to