View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#791
Originally Posted by Mentalist Traceur View Post
I'm fiddling with those now... As far as I can tell the file you referred to is always at 0 and never effects anything if changed.

However, I'll try it with the device in my at-boot console and see what happens.(You might be thinking of "led_current" in the same directories - only problem is they're already set to 50 once the driver loads, and changing them doesn't turn the keyboard leds on/off, just changes their brightness.)

- Edit -

You were correct sir! Thank you!

- Edit 2 -

But this means that at some point after early boot, something else takes over keyboard LED on-ness control, since during normal operation, dbrightness is at -1, brightness is at 0, and no amount of echoing higher values into it changes that as far as I can tell.
Don't mess with the *current files! The 50 there are a sane value, and you may KILL YOUR LEDS by setting it to unrasonable values. dbrightness is an absolute nonsense only existing in powerkernel and to all my knowledge causing more problems than good. it's the brightness files that control kbd backlight, and yes they are overridden by mce which controls them every few seconds and every keypress and touchscreen event usually. pro-tip: add a "sleep 5" to the "for x in 1 2 3 4 5 6...." cmd's head, when entering it via device kbd. Or simply use remote ssh to enter the comd. You'll see it works - for a while (max 30s iirc), until mce resets it anyway
btw brightness goes as high as 255 iirc, and it's safe to use that value for brightness, but never for current!
Rationale: current sets the current the LP553 chip drives thru the LED, while brightness creates a on/off PWM dimming based on that current. Please read http://wiki.maemo.org/LED_patterns#Low_Level rsp the whole page.

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-07-02 at 11:43.
 

The Following 3 Users Say Thank You to joerg_rw For This Useful Post: