Re: Allow userspace do something special on overtemp

From: Pavel Machek
Date: Thu Aug 12 2004 - 02:37:34 EST


Hi!

> > This patch cleans up thermal.c a bit, and adds possibility to react to
> > critical overtemp: it tries to call /sbin/overtemp, and only if that
> > fails calls /sbin/poweroff.
> >
> > Could it be applied?
>
> Why invent Yet-Another-Call-To-Userland-Interface when either
> hotplug/dbus, netlink or an ACPI event will do?
>
> The argument "well what if hotplug of acpid don't know what to do" is,
> IMO, bogus since:
>
> * Obviously systems today are functioning

Yes, kernel is calling /sbin/poweroff, which everyone has. Switching
to hotplug/dbus would immediately break those systems.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/