Commit graph

42 commits

Author SHA1 Message Date
Uwe Freese
5e44a56b65 disable charge control for FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3239 a1c6a512-1295-4272-9138-f99709370657
2003-02-12 22:21:07 +00:00
Uwe Freese
4bc287d34a battery level 100% when trickle chg, only 1% per minute change allowed, ignore 25 min. after charge start/stop, get rid of old lazyness table (I hope this makes the battery display less confusing to the user, charging algo. is not affected\!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3017 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 18:55:50 +00:00
Uwe Freese
c83374b69f show charge_state in debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3001 a1c6a512-1295-4272-9138-f99709370657
2002-12-15 18:10:19 +00:00
Uwe Freese
5f02797b2e added trickle charge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2982 a1c6a512-1295-4272-9138-f99709370657
2002-12-14 12:10:29 +00:00
Björn Stenberg
b17fe5a727 Added recalculation of free disk space. Press PLAY in Debug->Disk Info->Free to run it. Takes ~30 sec on my 40GB Toshiba.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2968 a1c6a512-1295-4272-9138-f99709370657
2002-12-09 15:39:32 +00:00
Linus Nielsen Feltzing
d29248d992 More fine-tuned buffer handling, and better debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2948 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 14:11:48 +00:00
Linus Nielsen Feltzing
b8ff5f8971 Added MP3 buffer margin setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2939 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 13:09:51 +00:00
Björn Stenberg
b070dd55be Added disk spinup clocking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2927 a1c6a512-1295-4272-9138-f99709370657
2002-12-04 14:58:48 +00:00
Björn Stenberg
040816d173 Fixed build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2914 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:33:20 +00:00
Björn Stenberg
f09c5f4c63 Finally, merged the improved power code from Uwe Freese:
- The battery level (percentage) is more realistic and considers if the charger is on.
- It considers the "lazyness" a battery shows when the charging has just turned on or off (see below). But this is not perfect by now.
- The battery level is good enough to estimate the remaining running time and the remaining charging time. And so the info screen now shows this info.
- The maximum time of a charging cycle is now dynamically calculated out of the battery level (percentage) and is not a fixed value.
- A minimum of 60 minutes is waited after a charging cycle stops before another one starts.
- Added another screen in the battery debug screen (press down three times).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2913 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:18:51 +00:00
Björn Stenberg
45d32cec5b Added 'Disk info' to debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2908 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 13:12:55 +00:00
Björn Stenberg
ae22de285e Added two simple battery runtime meters (current + top). 'Current' resets automatically when the charger cable is connected, or manually by pressing PLAY in the viewer. We are now officially out of RTC space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2897 a1c6a512-1295-4272-9138-f99709370657
2002-12-02 16:07:56 +00:00
Linus Nielsen Feltzing
fd0cc3b2b1 Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 12:09:15 +00:00
Linus Nielsen Feltzing
875bf5ef01 Player build broke
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2647 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 08:08:35 +00:00
Linus Nielsen Feltzing
bf303de4dd More debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2632 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 07:23:18 +00:00
Linus Nielsen Feltzing
46a94bea27 More well-behaved debug screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2625 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 14:25:25 +00:00
Linus Nielsen Feltzing
2f74eaae81 Added dbg_mpeg_thread()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2624 a1c6a512-1295-4272-9138-f99709370657
2002-10-14 14:13:48 +00:00
Björn Stenberg
4d55c2f4b7 Partition debug screen added, and jumped to when no fat32 partition is found at boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2558 a1c6a512-1295-4272-9138-f99709370657
2002-10-10 12:01:58 +00:00
Linus Nielsen Feltzing
07083fbc83 More HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2540 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 06:36:32 +00:00
Linus Nielsen Feltzing
1e972b53e5 Even more HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2528 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 12:08:30 +00:00
Linus Nielsen Feltzing
3cfc6ec252 More HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2526 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 11:15:00 +00:00
Linus Nielsen Feltzing
91b26f269a New debug screen - HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2525 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 10:52:46 +00:00
Björn Stenberg
b1b8bd4dd1 Moved on_screen, f2_screen, f3_screen and handle_usb (renamed usb_screen) to a new file: screens.c.
typedef Menu replaced with a bool.
All code now calls usb_screen() for usb handling.
Nearly all code now deals with USB connect/disconnect properly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2401 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 17:22:12 +00:00
Linus Nielsen Feltzing
446828b2fb Removed the LEFT key from dbg_ports() to be able to debug the analog key levels even for the LEFT key
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1980 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 10:06:33 +00:00
Daniel Stenberg
ab9a94e289 a menu warning fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1955 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 13:04:16 +00:00
Linus Nielsen Feltzing
d7c85e434b Removed the secret features in dbg_ports()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1952 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:55:17 +00:00
Daniel Stenberg
cd8a9a043f Menu for menu functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1950 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:47:59 +00:00
Daniel Stenberg
b285076925 Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.

Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Markus Braun
a0300f5d7e corrected lcd margins for debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1831 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 22:13:20 +00:00
Heikki Hannikainen
3c10db57c6 Use same updated method for delta calculation as powermgmt.c uses (maybe
it should go into a function after all).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1817 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 13:38:14 +00:00
Heikki Hannikainen
bd32dee3b9 Use correct offset (0x14 instead of 0x18) when clearing the RTC user RAM space
when F2 is pressed in RTC RAM viewer.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1815 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 08:43:03 +00:00
Linus Nielsen Feltzing
41977da3d5 New MAS debug menu for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1728 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 08:04:42 +00:00
Heikki Hannikainen
9872b66cd1 Use average of two samples at both ends of the range for calculating smoother delta values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1716 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 16:06:29 +00:00
Heikki Hannikainen
cccb8d0a64 Sync the charger debug view of deltas with the charger code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1683 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 12:21:22 +00:00
Björn Stenberg
fe97b578eb Added another LEFT exit. Split some long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1659 a1c6a512-1295-4272-9138-f99709370657
2002-08-10 08:57:47 +00:00
Robert Hak
50fc3ce551 added BUTTON_LEFT as an exit to a few entrys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1658 a1c6a512-1295-4272-9138-f99709370657
2002-08-10 08:52:11 +00:00
Björn Stenberg
b47e64ed6a Changed #ifdef from ARCHOS_RECORDER to HAVE_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1625 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 20:44:25 +00:00
Heikki Hannikainen
6eb4254dfa Added battery charger for the recorder and a power management debugger.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1547 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 10:52:51 +00:00
Linus Nielsen Feltzing
d9e13762e6 Better MAS debug for Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1421 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 15:14:02 +00:00
Linus Nielsen Feltzing
c132c48677 Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:39:17 +00:00
Linus Nielsen Feltzing
7fef58a87a Added OS debug menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1359 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:25:45 +00:00
Björn Stenberg
803f47b8af Forgot to add debug_menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1348 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 11:23:24 +00:00