Commit Graph

34 Commits

Author SHA1 Message Date
Mike Blumenkrantz d517d37535 backlight no longer attempts to apply settings for dummy devices
SVN revision: 82626
2013-01-11 10:51:24 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Miculcy Brian d0c143b615 No backlight dimming when in presentation mode. Backlight fade time only applies to dimming - undimming is fixed 0.5 .
SVN revision: 82348
2013-01-07 14:28:26 +00:00
Cedric BAIL 5af50c40da e: remove some warning when compiling on FreeBSD.
Patch by Maxime Villard <rustyBSD@gmx.fr>.


SVN revision: 81772
2012-12-28 00:27:41 +00:00
Mike Blumenkrantz ae7ca9105f Hi,
here is a patch.

 1. free() already null-checks the passed argument, so it is not
    necessary to do 'if(x) free(x)'.

 2. Moved some '{free(x); x = NULL}' to E_FREE.

 3. In e_start_main.c, 'buf' is allocated with the size of the
    two arguments + '=', so we don't need to check for lenght;
    we should use sprintf().

 thanks
Maxime Villard


SVN revision: 81364
2012-12-19 14:20:34 +00:00
Carsten Haitzler f0c9f5121c lots of buglet-fixing. this does:
1. make idle fade timer work at all (dodnt work before)
2. fixes backlight status on e restart
3. fixes setting bl level on start
4. improves the compositor fade in/out effect by ALSO fading backlight
in and out... oh so much smoother now
5. fixes label in ui to be seconds, not minutes.
6. in order to make this all work - it adds a special screensaver
event inside of e that the screensaver subsystem generates based on
the real x one.



SVN revision: 80538
2012-12-09 06:27:42 +00:00
Mike Blumenkrantz 65a08d98fe add E_EVENT_BACKLIGHT_CHANGE
SVN revision: 79238
2012-11-13 17:36:51 +00:00
Carsten Haitzler 53ad992c31 pointed out by Igor Murzov - fixed backlight thing, gadcon is cleaner.
SVN revision: 77980
2012-10-15 07:05:00 +00:00
Carsten Haitzler 6669ca71a3 provide a way to select backlight device or output and then use it.
SVN revision: 76709
2012-09-16 10:43:17 +00:00
Carsten Haitzler bd1e81be80 umm lets use xrandr first/ it SHOULD be better than going to /sys as a
primary backlight control.



SVN revision: 75288
2012-08-15 09:31:10 +00:00
Mike Blumenkrantz 3e3a13657f prefer eeze backlight setting over randr: more accurate
supposedly fixes ticket #1015 (yakov ping me if this is somehow not fixing it)


SVN revision: 73526
2012-07-10 12:29:51 +00:00
Mike Blumenkrantz 386ab914b9 display current backlight mode in backlight settings
SVN revision: 72852
2012-06-26 07:14:27 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler ba74a617ba backlight - eina log bitching when no bl exists, fix.
SVN revision: 68209
2012-02-21 08:19:37 +00:00
Carsten Haitzler aaf80033e5 add hibernate now action
fix backlight to not reset to default on restarts.



SVN revision: 67544
2012-01-26 06:21:21 +00:00
Mike Blumenkrantz 294a0fbed2 add a slider for backlight dimming on a timer in dpms controls
as I have no devices which contain a controllable backlight, someone else will have to test/fix this


SVN revision: 67487
2012-01-24 10:01:28 +00:00
Carsten Haitzler 238d7ae904 who broke backlight? FIX!
SVN revision: 67293
2012-01-18 15:27:10 +00:00
Mike Blumenkrantz de639bccff attempt at new backlight device preference logic
SVN revision: 66959
2012-01-07 15:12:50 +00:00
Mike Blumenkrantz 1b4bf7e573 maybe prevent a leak but probably not
SVN revision: 66492
2011-12-24 07:44:07 +00:00
Mike Blumenkrantz c2e454d4f7 support led class of backlights
SVN revision: 66491
2011-12-24 07:29:21 +00:00
Mike Blumenkrantz 9f70d6d9da +ecore_x_randr_output_backlight_available() from Term <term@twistedpath.org>
also corresponding e17 usage


SVN revision: 65837
2011-12-03 04:24:02 +00:00
Mike Blumenkrantz db88f8f57d backlight internals now use eeze
this probably breaks some stuff, mail me some good debug info


SVN revision: 64512
2011-10-29 18:45:43 +00:00
Carsten Haitzler 8b15afb842 debug printf--
SVN revision: 64504
2011-10-29 06:58:50 +00:00
Carsten Haitzler 5ed77cf412 make backlight code a bit more generic with a list of sysfs files to
look at to get backlight working.



SVN revision: 64503
2011-10-29 04:36:32 +00:00
Carsten Haitzler 7ab4814e02 how did a duplicate dim mode get in?
SVN revision: 62661
2011-08-21 15:09:48 +00:00
Carsten Haitzler 24888fe946 add api to detect backlight availability
SVN revision: 62444
2011-08-14 14:35:41 +00:00
Michael BOUCHAUD 1dcc71463a e: revert unnecessary patch
SVN revision: 62303
2011-08-10 16:34:55 +00:00
Cedric BAIL 7db542166e e: some people have been hurt by this default value.
SVN revision: 62294
2011-08-10 13:02:09 +00:00
Christopher Michael 0041fa1542 E: Be quiet backlight !! :)
SVN revision: 62120
2011-08-05 01:59:47 +00:00
Carsten Haitzler ad7ad9a092 fix up wheel issue with bl module
should make bl work on archos on anchient kernel now... missed support
code from e_backlight.c



SVN revision: 61277
2011-07-12 10:12:59 +00:00
Christopher Michael 4c7efd4469 E: Backlight: Add UNUSED where missing.
SVN revision: 60487
2011-06-19 15:25:58 +00:00
Carsten Haitzler 411f75319d backlight support for non randr (go right to /sys via suid root tool).
test keybindings too and make brightness be 0->100 to avoid float
parsing issues



SVN revision: 60350
2011-06-15 14:18:23 +00:00
Gustavo Sverzut Barbieri fee122d19d properly wrap hal stuff inside HAVE_HAL.
SPANK SPANK SPANK raster... he also left lots of trailing whitespace there :-/



SVN revision: 60248
2011-06-12 22:41:09 +00:00
Carsten Haitzler 26a35cdf01 backlight config tab, module, slider and core in. somehow doesnt work
with hal atm even tho i think i sent the right dbus req. hmmm. get
response.. of 0 for getting bl. for xrandr it works.



SVN revision: 60242
2011-06-12 15:05:22 +00:00