Daniel Ankers
82f9056988
Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:06:41 +00:00
Jens Arnold
3a37f46fc9
Fix CONFIG_BACKLIGHT warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Jonathan Gordon
9a6f419775
CONFIG_CHARGING
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 05:32:06 +00:00
Miika Pekkarinen
73cd9f3b63
Turn backlight ON at boot unless bootloader has already done that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11992 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 20:26:23 +00:00
Steve Gotthardt
93b047fffe
Updated buttonlights for the Gigabeat port. Added LCD controller off and on for extra power savings - thanks to Greg White. Incorporated feedback from Gary Allen. Added 'battery charging' mode: shows leds during charging. Added 'follow' mode that turns off leds when backlight goes off. Flicker mode and new solid mode only show during disk access. Access settings from Info/debug menu for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11945 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 08:53:36 +00:00
Steve Gotthardt
b3a0bcd6f3
Added minimal changes to allow Gigabeat and other ports with settable backlights to fade. Use define: HAVE_BACKLIGHT_SET_FADING (as opposed to the PWM).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11897 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 09:28:43 +00:00
Michael Sevakis
4b902679cc
Convert queues to use intptr_t for event data and return values as most of the time pointer are not passed and it should make some things a bit cleaner.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 16:50:07 +00:00
Miika Pekkarinen
1ff7652adf
And this too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11667 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:21:11 +00:00
Jens Arnold
780f79e7a4
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Michael Sevakis
270cb0b681
Fix sim error(s) (as usual).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11503 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 19:03:02 +00:00
Michael Sevakis
58825f6e73
Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 18:47:41 +00:00
Michael Sevakis
cf59a4fc1d
H300/X5: Moved backlight brightness code to target tree. Created __backlight_set_brightness in backlight-(target).c. backlight_set_brightness range clamps and calls the backlight driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11488 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 01:25:52 +00:00
Tomasz Malesinski
6e992abf36
Target tree support for Iriver iFP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 22:58:35 +00:00
Steve Bavin
021413ad5e
Don't overflow the backlight event queue with on messages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11420 a1c6a512-1295-4272-9138-f99709370657
2006-11-03 09:46:26 +00:00
Jonathan Gordon
139f9f28e9
move the iriver h1x0/h3x0 targets to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11392 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 08:56:06 +00:00
Barry Wardell
d4945dc0d0
Move all iPod targets into the target tree. FS#5890
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:58:51 +00:00
Steve Bavin
d49c810ec9
Add CPU boost tracker to see where boosts are coming from
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:07:03 +00:00
Peter D'Hoye
a659571d51
Get rid of build warnings of x5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10963 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 20:32:20 +00:00
Miika Pekkarinen
a85044bf9e
New scheduler, with priorities for swcodec platforms. Frequent task
...
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 16:18:11 +00:00
Michael Sevakis
3d2e10bcbd
Added remote backlight on hold option to players with remote hold switch. Disabled IRQs while reading pcf50606 ADC. This seems to have stopped buttons becoming unresponsive when using remote. Maybe fixes other button glitches as well?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10911 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 02:00:40 +00:00
Jens Arnold
7d8c5aaf6a
Make backlight fading work again on PP targets. The PP timer cannot handle a (real) cycle count of 1, the minimum is 2. This is now checked in timer_register() and timer_set_period().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10849 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 22:03:14 +00:00
Hristo Kovachev
d39b79737f
Patch #5223 by Jonathan Gordon: Turn on the main screen's backlight when using the iriver NON-LCD remote (set the remote backlight to off if you don't want it)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10574 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 07:06:53 +00:00
Rani Hod
c9f59e6f75
Accepted FS #5772 by Michael Sevakis
...
1. X5 lcd sleep
2. #define HAVE_LCD_ENABLE
3. add "backlight (on hold switch)" setting, adapted from FS #5735
Note that the while(1) yield ==> asm("halt") part is NOT commited here,
I prefer it would be discussed separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:03:56 +00:00
Linus Nielsen Feltzing
d17d08c268
LCD remote support for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10352 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 12:41:13 +00:00
Linus Nielsen Feltzing
38719f87cb
Remote backlight is in the target tree for X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10351 a1c6a512-1295-4272-9138-f99709370657
2006-07-28 11:06:28 +00:00
Linus Nielsen Feltzing
f18f9a8061
Patch FS#5712 by Michael Sevakis - X5 Backlight brightness improvement/fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10322 a1c6a512-1295-4272-9138-f99709370657
2006-07-25 15:21:31 +00:00
Rani Hod
24a4bb3d22
double fault.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10305 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 22:39:06 +00:00
Rani Hod
94e297f930
oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10304 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 22:26:30 +00:00
Rani Hod
c657763a23
Accepted FS #5474 by yours truly.
...
Save your settings; CONFIG_BLOCK_VERSION is increased.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10303 a1c6a512-1295-4272-9138-f99709370657
2006-07-23 22:18:32 +00:00
Jens Arnold
0dd1f8ec11
Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Peter D'Hoye
45975987b2
code police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9996 a1c6a512-1295-4272-9138-f99709370657
2006-05-27 09:27:22 +00:00
Peter D'Hoye
171b5ff207
H300: add a small delay between lcd enable and backlight on. Avoids a flash at backlight on when using dark backgrounds. (fix for bug 4764)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9815 a1c6a512-1295-4272-9138-f99709370657
2006-04-26 19:26:01 +00:00
Hristo Kovachev
8c15138008
Patch #4934 by Ralf Herz: Fixes
...
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
2006-04-01 12:20:23 +00:00
Jens Arnold
e9da65356d
Ooops, iPod 3G used lcd_enable() to switch backlight. Blind fix, needs testing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9379 a1c6a512-1295-4272-9138-f99709370657
2006-03-31 07:53:01 +00:00
Hristo Kovachev
a70c6b9b1e
Patch #4913 by David Rothenberger with some changes by me: add only backlight on first keypress to the lcd remotes, too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 19:16:45 +00:00
Björn Stenberg
e8a0990a51
Dummy is_backlight_on() for bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9232 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 14:18:22 +00:00
Björn Stenberg
da5fb18bca
New option: First keypress enables backlight only. Patch #2920 by Nicolas Pennequin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:47:24 +00:00
Linus Nielsen Feltzing
930e315c64
Me silly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9189 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 15:17:17 +00:00
Linus Nielsen Feltzing
7d3e202293
Even more simulator fixes for backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9188 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 15:04:46 +00:00
Linus Nielsen Feltzing
9a6997753d
Fix simulator backlight for X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9186 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 14:33:07 +00:00
Linus Nielsen Feltzing
13618007b3
Backlight for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9185 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 14:17:45 +00:00
Thom Johansen
3c7278f405
Reworked backlight fading by GPIO based PWM to work for other targets
...
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
2006-03-19 17:42:58 +00:00
Brandon Low
5650b70517
Fix some problems with using USB_POWERED as a charging state separate from charger_inserted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9109 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 01:01:03 +00:00
Jens Arnold
707ca4fe9e
Fix red bootbox build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9097 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:01:45 +00:00
Brandon Low
2457de11b6
Use plugged backlight timeout when usb powered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9086 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 09:07:51 +00:00
Dave Chapman
fb4e384367
More iPod 3G work from Seven Le Mesle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Dave Chapman
8b1297a0b6
Patch #1435744 from Andrew Scott - initial iPod Mini support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 15:01:25 +00:00
Dave Chapman
987879b958
Further iPod 3G work from Seven Le Mesle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:34:49 +00:00
Hristo Kovachev
4926682378
Patch #1404233 by Peter D'Hoye: H300 brightness bugfix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8387 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 13:10:15 +00:00
Linus Nielsen Feltzing
b3a9ad8590
The Code Police struck again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8352 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 14:45:03 +00:00