Re: 2.6: drivers/input/power.c is never built

From: Oliver Neukum
Date: Fri Feb 18 2005 - 16:24:19 EST


Am Freitag, 18. Februar 2005 21:40 schrieb Vojtech Pavlik:

> I wouldn't want to pass all the battery info (UPSes can be even more
> complex, able to switch on/off individual sockets, etc) through input,
> just the basic events:
>
> AC power on/off
> battery full/normal/low/critical/(fail)
>
> Then the other power-related events
>
> Lid open/closed
> Power button
> Sleep button

What is the benefit of splitting the flow of information so?

> I think that's all you need to trigger actions. You don't need the exact
> percentage of the battery, and you don't need the exact AC voltage at
> input.

That is very debateable. I might want a quiet mode and would be
interested in notifications about thermal data and fan status.

Regards
Oliver
-
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/