On 23/08/07, Nate Lawson <[EMAIL PROTECTED]> wrote: > Dag-Erling Smørgrav wrote: > > Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > >> Log: > >> Style nits + more reliable Tj(max) detection + improved reporting of > >> critical temperature + sched_unbind() after rdmsr + initialize sc_dev. > > > > I should note that the driver currently only checks for (and reports) a > > critical temperature when you read the sysctl; if you want to use devd > > to react to a critical temperature, you need to set up a cron job to > > poll dev.cpu.N.temperature. Hopefully, a future version of the driver > > will install an interrupt handler and activate the temperature threshold > > interrupts. > > > > DES > > You could also create a polling thread that runs every 10 seconds. We > have that for acpi_thermal currently.
Actually, this is what coretemp(4) does in my cnst-sensors p4 branch, using a sensor_task, people are welcome to test it. ;) C. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
