From: Pavel M. <pa...@uc...> - 2009-11-09 20:16:12
|
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 |