Thread (30 messages) 30 messages, 10 authors, 2006-02-18

Re: Re: [PATCH, RFC] [1/3] Generic in-kernel AC status

From: Gabor Gombas <hidden>
Date: 2006-02-10 13:13:46
Also in: linux-acpi, lkml

On Fri, Feb 10, 2006 at 01:21:31PM +0100, Pavel Machek wrote:
Still "set current brightness" operation makes a lot of sense.
Yes, but userspace already knows if you are on AC power or not,
therefore it can decide what "current" means. If this is the only reason
then adding a new kernel infrastructure is overkill.

Also, doing things differently when on AC power smells like a policy
decision, and AFAIK policy handling is not wanted in the kernel.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences,
     Laboratory of Parallel and Distributed Systems
     Address   : H-1132 Budapest Victor Hugo u. 18-22. Hungary
     Phone/Fax : +36 1 329-78-64 (secretary)
     W3        : http://www.lpds.sztaki.hu
     ---------------------------------------------------------

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help