Thread (10 messages) 10 messages, 4 authors, 2006-03-08

Re: RFC: Backlight Class sysfs attribute behaviour

From: Andrew Zabolotny <hidden>
Date: 2006-03-06 21:50:18
Also in: lkml

On Mon, 06 Mar 2006 08:45:28 +0000
Richard Purdie [off-list ref] wrote:
* the user supplied power sysfs attribute
* the user supplied brightness sysfs attribute
* the current FB blanking state
* any other driver specific factors
As far I see the only real concern here is the console blanking. So why
not make it just another device state flag, which doesn't influence the
'power' attribute and which isn't visible from user space (what for?).
And the 'real' power state will be computed as "blank && power"
attributes. The entire logic could be hidden in backlight.c so that no
driver will have to be modified for this. Maybe a 'hw_power' or such
would be needed to see the 'real' hardware state (and possibly
modify, if you really really want to).

Is there any need for a broader-range solution here?

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