Re: [patch] added brightness feature to lcd class.

From
Pavel Machek <hidden>
Date
2009-11-09 20:15:55
Also in
lkml
Reply to
InKi Dae, 2009-11-09
On Tue 2009-11-10 00:37:59, InKi Dae wrote:
are you saying me that user shouldn't know if it is TFT-LCD or AMOLD?
I agree your saying.
Parse error.
if lcd class has brightness feature then sysfs file for controlling
brightness will be placed
in /sys/class/lcd/*/brightness.
it would be a problem because the path is no sysfs you expected.

how about that symbolic link file is created by lcd class for user?
like this,
/sys/class/lcd/*/brightness -> /sys/class/backlight/*/brightness
The symlink would have to be backwards, but yes, that would be better
than nothing. (But I still don't see why we should make it
complex. Just pretend it is backlight.)
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Thread (14 messages) 14 messages, 5 authors, last reply 2009-11-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help