Commit graph

51 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
713db304bc Disable backlight in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7016 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:42:44 +00:00
Jens Arnold
a8cadd8181 Iriver: atomic I/O port manipulation macros, to avoid interference between 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
2005-07-02 12:18:10 +00:00
Jens Arnold
78da1ff222 The last commit mixed up the arguments of cpu_boost(). Fixed that and 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
2005-06-20 19:10:47 +00:00
Miika Pekkarinen
387c4f2fe8 Added few #ifdef HAVE_ADJUSTABLE_CPU_FREQ.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6782 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 18:31:38 +00:00
Miika Pekkarinen
0cb7511643 Backlight dimming is now flicker free on all situations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6781 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 18:28:05 +00:00
Jens Arnold
61b9d34c7c Iriver: Backlight fading is now configurable. Added a function to stop the 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
2005-06-20 17:03:09 +00:00
Miika Pekkarinen
6b3a14a7fd Only stop backlight pwm timer if display is fully dimmed either
on or off.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6765 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 10:12:11 +00:00
Miika Pekkarinen
2bfd2585a9 Initial support for iriver backlight dimming. Unfortunately dimming
remote control's EL-backlight is not possible.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6747 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 12:53:57 +00:00
Jens Arnold
c3b1eceff1 Added dummy function and simulator stub.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 06:42:14 +00:00
Christian Gmeiner
7477c09b42 Remote LCD: added own backlight timeout stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6533 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 00:00:22 +00:00
Jens Arnold
2629071b25 More dead code...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6428 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 12:56:48 +00:00
Jörg Hohensohn
9418e92eea typo (ok, my commits get trivial)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6330 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 19:18:01 +00:00
Linus Nielsen Feltzing
19631f4552 iRiver: Independent backlight timers for the main and remote LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6303 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 16:16:26 +00:00
Christian Gmeiner
cf2b821a7a IRiver: added remote backlight handling into backlight thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6299 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 13:51:19 +00:00
Linus Nielsen Feltzing
f67bd4f2c8 Aligned thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5805 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:43:26 +00:00
Jean-Philippe Bernardy
5f91f4acff backlight driver for Gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5795 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 10:53:41 +00:00
Jörg Hohensohn
fee8617479 multiple choice configuration CONFIG_BACKLIGHT instead of HAVE_BACKLIGHT, allows better control of how to do this per model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5491 a1c6a512-1295-4272-9138-f99709370657
2004-12-18 10:29:47 +00:00
Jens Arnold
09280d0422 Player: initialize backlight control pin (for coldstart)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5444 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 00:15:40 +00:00
Linus Nielsen Feltzing
3ad0879f19 Correct polarity for the iRiver backlight pin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5432 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:24:32 +00:00
Jens Arnold
a1a08d0d5f Removed backlight handling remains for platforms with no backlight (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5236 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 19:56:27 +00:00
Linus Nielsen Feltzing
eb5463d158 Ported to iRiver H100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5209 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 08:38:51 +00:00
Jörg Hohensohn
76994fb50e no backlight for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5061 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:56:54 +00:00
Jens Arnold
2b0694c694 More const policeing step 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 05:58:46 +00:00
Linus Nielsen Feltzing
6c7011415b It turns out that the backlight port pin on the player can be set to an input (and pulled up externally) to shut off the backlight. That may save us a few picoamps :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4918 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 09:09:26 +00:00
Jörg Hohensohn
3dc1063dcc hope I killed that warning now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4288 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:55:02 +00:00
Jörg Hohensohn
73681ff4ef inconsistent argument type for backlight_set_timeout() fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:27:44 +00:00
Linus Nielsen Feltzing
bef7ab0c26 The code police strikes back
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4024 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 12:15:24 +00:00
Jörg Hohensohn
75bab49a54 set/clear port bits with atomic instructions instead of read-modify-write, saves time+space, allows port usage in ISR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4022 a1c6a512-1295-4272-9138-f99709370657
2003-11-06 01:34:50 +00:00
Daniel Stenberg
acbd9bd0c8 TP Diffenbach pointed out the risk here. Added a check for bad input values
here, and I also made the argument named 'index' and made it unsigned to
better match what it actually is used for.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3899 a1c6a512-1295-4272-9138-f99709370657
2003-07-28 09:08:49 +00:00
Björn Stenberg
86587527f5 Added caption backlight: Turns on backlight briefly at the start and end of each track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3585 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 09:17:34 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Uwe Freese
86ddabf75d added backlight_get_timeout and backlight_get_on_when_charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2994 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 22:01:27 +00:00
Linus Nielsen Feltzing
d3b92e9521 Now backlight really stays on when the charger is connected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2500 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 11:52:46 +00:00
Daniel Stenberg
ad19f6f912 fixed for player, removed dependency on CHARGER_CTRL
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2465 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 11:06:22 +00:00
Daniel Stenberg
b95fe1afc6 Mark A. Hillebrand's patch that offers a new setting that if enabled, keeps
the backlight on all the time while the charger is connected.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2464 a1c6a512-1295-4272-9138-f99709370657
2002-10-01 10:59:36 +00:00
Linus Nielsen Feltzing
51d9ae63ca Missing break in the SYS_USB_CONNECTED case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1944 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 09:36:49 +00:00
Linus Nielsen Feltzing
3ed34a6227 New backlight settings with always-off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1766 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 13:56:06 +00:00
Linus Nielsen Feltzing
29bd562211 backlight_init() no longer clears the ST bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1542 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 08:13:42 +00:00
Linus Nielsen Feltzing
aec0c643f5 The backlight now turns off in USB mode too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1491 a1c6a512-1295-4272-9138-f99709370657
2002-07-30 06:35:50 +00:00
Linus Nielsen Feltzing
c3674ef96a Killed a warning on Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1453 a1c6a512-1295-4272-9138-f99709370657
2002-07-26 14:30:48 +00:00
Linus Nielsen Feltzing
1cf053982e Now wakes up the backlight even after a power loss
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1448 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 22:04:03 +00:00
Linus Nielsen Feltzing
b70a046615 Backlight fix for Players by Grant Wier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1412 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 00:30:47 +00:00
Linus Nielsen Feltzing
76b4096be7 Added thread names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1357 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:19:49 +00:00
Linus Nielsen Feltzing
f90727b864 Now compiles on Player again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1317 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 08:03:55 +00:00
Linus Nielsen Feltzing
a8e6fbad3e Now enables the backlight even after a battery switch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1315 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 23:05:04 +00:00
Linus Nielsen Feltzing
c36919eca3 Increased thread stack size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1291 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 21:16:07 +00:00
Linus Nielsen Feltzing
5193368445 Better USB behaviour
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1263 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:14:16 +00:00
Linus Nielsen Feltzing
392f3853b1 Added USB insertion handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1259 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 23:01:10 +00:00
Björn Stenberg
f80d8a704d Moved settings.c/h to apps/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1215 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 00:20:00 +00:00
Linus Nielsen Feltzing
6139982672 non-RTC code wrote to PAIOR instead of PADR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1179 a1c6a512-1295-4272-9138-f99709370657
2002-06-25 11:15:33 +00:00