On Thu, 16 Jun 2011 13:46:22 +0200 Mathieu Taillefumier <mathieu.taillefum...@free.fr> said:
correct. just manual controls. there is a special dim mode specifically for this (so you go into dim mode then back out to your previous brightness level, while in dim mode changin level doesnt change it (just the desired level for normal mode) until u go back to normal mode. but yes - no api to do this. to do an idle dimming you'll need to use the screensaver extension and detect idle time via that api in ecore_x (and i need to check - you may need to extend the api). > Hei Carsten, > > I was unable to find anything in the code for changing the backlight > automatically after some inactivity (Normal -> idle (free to set it in > the dialog box) -> sleep (after 3 min)). > > I am already preparing a patch for it which is using your interface (I > already wrote it actually but it needs more testing) > > Mathieu > > On Wed, 15 Jun 2011 23:00:43 -0300 Gustavo Sverzut Barbieri > > <barbi...@profusion.mobi> said: > > > >> On Wed, Jun 15, 2011 at 9:34 PM, Carsten Haitzler<ras...@rasterman.com> > >> wrote: > >>> i added backlight control support in e17 now. load the backlight module > >>> and add the backlight control gadget, bind some keys to changing > >>> backlight etc. as you see fit. the actual backlight control and config is > >>> in e17 proper, with module just offering the popup slider gadget > >> > >> Great, but problems and questions: > >> > >> - Problems: > >> - Shelf gadget -> right click -> Remove -> Crash. Removal works > >> from Shelf contents dialog. > > > > found it. fixed. > > > >> - ACPI (hardware switches) -> every time I choose "Backlight Min", > >> "Backlight Max", "Backlight Set" + parameters or similar I end with > >> "Backlight Set" and empty parameters. Doesn't matter if I switch > >> immediately to another list item or if I click "Apply" or even close > >> the dialog, it always fail. > > > > works fine in keybindings dialog - acpi bindings seems to have some bug. > > nothing to do with backlight though - you'll probably find it a general bug > > in the acpi bindings dialog. > > > >> - using "Backlight set" with empty parameter seems to crash. I > >> couldn't reproduce this lots of time, but happened once when i tried > >> the above problem... so maybe it was the empty parameter, maybe it was > >> some corrupted memory from the dialog itself. > > > > hmm. it does require a param. i can protect against null params.. > > > >> - Questions: > >> - How do I refer to the "Dim backlight" and "Normal backlight" > >> selection from Power Management? Are they the "Dim" and "Undim" > >> actions? > > > > yes. dim backlight == backlight level in dim mode. dim action == go into dim > > mode. undim == go back to normal mode. > > > >> - why is the slider soooooooo tall (large in height)? Usually > >> backlights have so few levels it's weird to see such a big range to > >> choose... that changes so few times (16 levels here, 0-15). > > > > just happened to make it that big. didnt look bad to me. > > > >> - Plans to support leds (keyboard backlight)? It's basically the > >> same sysfs interface, but under /sys/class/leds (here it's > >> /sys/class/leds/smc::kbd_backlight/) > > > > zero plans to support those. just addressing the important issue of screen > > brightness. keyboard backlights i'll have to leave to another adventurous > > soul. it wasnt on the todo list for e17 release. > > > >> -- > >> Gustavo Sverzut Barbieri > >> http://profusion.mobi embedded systems > >> -------------------------------------- > >> MSN: barbi...@gmail.com > >> Skype: gsbarbieri > >> Mobile: +55 (19) 9225-2202 > >> > > > > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel