Re: [PATCH][RFC] Re: cpufreq: allow user to specify voltage

Pavel Machek (pavel@suse.cz)
Thu, 6 Mar 2003 21:42:30 +0100


Hi!

> And for powernow-k7.c , the file
>
> /sys/devices/sys/cpu0/scaling_setvoltage
>
> should show the current voltage for the current speed (scaling_setspeed).
> "echoing" a different value (must be lower than the current voltage) changes
> the voltage for this frequency only. However, this override is "static" so
> that if you switch to a different frequency in the meantime but get back to
> the one you wanted to override the voltage setting for, the new
> user-specified value is remembered.
>
> This is untested (don't have a powernow-k7-capable notebook), so handle with
> care.

Thanx, it works. I'd drop "can't set higher voltage" limitation
[hardware protects you, anyway, and if you make it so low your system
is unstable you can no longer fix it without reboot], but that's
minor.
Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/