Op 25 nov 2008, om 21:06 heeft David Brownell het volgende geschreven:
On Tuesday 25 November 2008, Koen Kooi wrote:How about a standard LED driver (optionally with a brightness control) and the newish "backlight" trigger?Does the backlight trigger hook into the backlight class?It doesn't seem to call backlight_device_register(), though I don't know why not. It just looks like it hooks into the same notification events the backlight class does. If you think that's trouble, it would probably be a good thing to bring that up with the author of that new trigger code (drivers/leds/ledtrig-backlight.c) ... it's very new, and I'd expect such userspace interface goofs still ought to be fixable.
Our mails on this subject crossed eachother :)Short recap: the backlight trigger is usefull for turnign on/off e.g. status leds at the same the the backlight goes on/off, but shouldn't be (ab)used for backlight control. Mark Brown in that thread [1] does raise an interesting use-case, since we are in the same boat. A solution is needed, but I guess the wolfson people can work it out :)
[1] http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-10/threads.html#02359
Attachment:
PGP.sig
Description: This is a digitally signed message part