summaryrefslogtreecommitdiff
path: root/firmware/backlight.c (follow)
Commit message (Collapse)AuthorAge
* Patch #4934 by Ralf Herz: FixesHristo Kovachev2006-04-01
| | | | | | | | 1) Backlight stays on when set to always off (at least on the iPods (signed/unsigned problem)) 2) Buttons not working when the backlight is set to always off and turned on the "first keypress enables backlight only" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9396 a1c6a512-1295-4272-9138-f99709370657
* Ooops, iPod 3G used lcd_enable() to switch backlight. Blind fix, needs testing.Jens Arnold2006-03-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9379 a1c6a512-1295-4272-9138-f99709370657
* Patch #4913 by David Rothenberger with some changes by me: add only ↵Hristo Kovachev2006-03-25
| | | | | | backlight on first keypress to the lcd remotes, too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
* Dummy is_backlight_on() for bootloaderBjörn Stenberg2006-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9232 a1c6a512-1295-4272-9138-f99709370657
* New option: First keypress enables backlight only. Patch #2920 by Nicolas ↵Björn Stenberg2006-03-24
| | | | | | Pennequin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
* Me sillyLinus Nielsen Feltzing2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9189 a1c6a512-1295-4272-9138-f99709370657
* Even more simulator fixes for backlightLinus Nielsen Feltzing2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9188 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator backlight for X5Linus Nielsen Feltzing2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9186 a1c6a512-1295-4272-9138-f99709370657
* Backlight for iAudio X5Linus Nielsen Feltzing2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9185 a1c6a512-1295-4272-9138-f99709370657
* Reworked backlight fading by GPIO based PWM to work for other targetsThom Johansen2006-03-19
| | | | | | | | | | than H1x0. iPod Nano and 5G backlight fading is enabled. To try for your device, just define HAVE_BACKLIGHT_PWM_FADING in the relevant config-xxxx.h file. NOTE: Will break your settings, so save a config file first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9121 a1c6a512-1295-4272-9138-f99709370657
* Fix some problems with using USB_POWERED as a charging state separate from ↵Brandon Low2006-03-19
| | | | | | charger_inserted git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9109 a1c6a512-1295-4272-9138-f99709370657
* Fix red bootbox build.Jens Arnold2006-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9097 a1c6a512-1295-4272-9138-f99709370657
* Use plugged backlight timeout when usb poweredBrandon Low2006-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9086 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G work from Seven Le MesleDave Chapman2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
* Patch #1435744 from Andrew Scott - initial iPod Mini supportDave Chapman2006-02-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
* Further iPod 3G work from Seven Le MesleDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
* Patch #1404233 by Peter D'Hoye: H300 brightness bugfixHristo Kovachev2006-01-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8387 a1c6a512-1295-4272-9138-f99709370657
* The Code Police struck againLinus Nielsen Feltzing2006-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8352 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman2006-01-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
* Oops:) Make the brightness setting purely numericalHristo Kovachev2005-12-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8281 a1c6a512-1295-4272-9138-f99709370657
* Patch No 1387627 by Peter D'Hoye: Backlight Brightness setting for H300Hristo Kovachev2005-12-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8280 a1c6a512-1295-4272-9138-f99709370657
* patch #1385256 by Hristo Kovachev - Turn off H300 LCD while backlight is offLinus Nielsen Feltzing2005-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8268 a1c6a512-1295-4272-9138-f99709370657
* Replaced the booolean 'Backlight On When Plugged' setting with a complete ↵Jens Arnold2005-11-23
| | | | | | alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
* Fix iriver bootloader builds.Jens Arnold2005-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8038 a1c6a512-1295-4272-9138-f99709370657
* Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold2005-11-21
| | | | | | Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
* Always turn on the backlight in the H300 boot loaderLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7919 a1c6a512-1295-4272-9138-f99709370657
* Reverted erroneous commitLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up bootloader linker control file and added the H300 targetLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
* H300 backlightLinus Nielsen Feltzing2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7885 a1c6a512-1295-4272-9138-f99709370657
* iPod: Add backlight functions for NanoDave Chapman2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7853 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress iPod portDave Chapman2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: New timer handling on CPU frequency change, adjusting the ↵Jens Arnold2005-10-03
| | | | | | prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
* iriver: Always turn on the backlight in backlight_init()Linus Nielsen Feltzing2005-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7330 a1c6a512-1295-4272-9138-f99709370657
* Backlight dimming: Don't unboost the CPU from within the isr.Jens Arnold2005-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7310 a1c6a512-1295-4272-9138-f99709370657
* Backlight dimming: Protect from extraneous calls with the same target value. ↵Jens Arnold2005-08-11
| | | | | | This led to very short boost/unboost sequences for every button event before, one trigger for the volume lag bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7309 a1c6a512-1295-4272-9138-f99709370657
* Moved implementation of user timer to the firmware layer, implemented it for ↵Jens Arnold2005-07-26
| | | | | | iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
* Disable backlight in the bootloaderLinus Nielsen Feltzing2005-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7016 a1c6a512-1295-4272-9138-f99709370657
* Iriver: atomic I/O port manipulation macros, to avoid interference between ↵Jens Arnold2005-07-02
| | | | | | normal and interrupt code. Todo: all other places that do port manipulation on ports which may also be changed from an intterupt should use that as well. It even decreases binary size a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6985 a1c6a512-1295-4272-9138-f99709370657
* The last commit mixed up the arguments of cpu_boost(). Fixed that and ↵Jens Arnold2005-06-20
| | | | | | removed the #ifdefs again, added #define cpui_boost(on_off) for fixed frequency platforms instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6783 a1c6a512-1295-4272-9138-f99709370657
* Added few #ifdef HAVE_ADJUSTABLE_CPU_FREQ.Miika Pekkarinen2005-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6782 a1c6a512-1295-4272-9138-f99709370657
* Backlight dimming is now flicker free on all situations.Miika Pekkarinen2005-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6781 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Backlight fading is now configurable. Added a function to stop the ↵Jens Arnold2005-06-20
| | | | | | backlight from using timer1, freeing it for usage in plugins. Grouped together some related settings functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6779 a1c6a512-1295-4272-9138-f99709370657
* Only stop backlight pwm timer if display is fully dimmed eitherMiika Pekkarinen2005-06-19
| | | | | | | on or off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6765 a1c6a512-1295-4272-9138-f99709370657
* Initial support for iriver backlight dimming. Unfortunately dimmingMiika Pekkarinen2005-06-18
| | | | | | | remote control's EL-backlight is not possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6747 a1c6a512-1295-4272-9138-f99709370657
* Added dummy function and simulator stub.Jens Arnold2005-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
* Remote LCD: added own backlight timeout stuffChristian Gmeiner2005-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6533 a1c6a512-1295-4272-9138-f99709370657
* More dead code...Jens Arnold2005-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6428 a1c6a512-1295-4272-9138-f99709370657
* typo (ok, my commits get trivial)Jörg Hohensohn2005-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6330 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Independent backlight timers for the main and remote LCDLinus Nielsen Feltzing2005-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6303 a1c6a512-1295-4272-9138-f99709370657
* IRiver: added remote backlight handling into backlight threadChristian Gmeiner2005-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6299 a1c6a512-1295-4272-9138-f99709370657