Commit graph

2221 commits

Author SHA1 Message Date
Jack Halpin
016153a0b9 SansaAMSv2: Add support for uSD cards to sd-as3525v2.c and activate hotswap and multidrive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25245 a1c6a512-1295-4272-9138-f99709370657
2010-03-18 13:25:13 +00:00
Rafaël Carré
fce5cc8e74 Clip+: correct usb product id
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25244 a1c6a512-1295-4272-9138-f99709370657
2010-03-18 10:29:17 +00:00
Rafaël Carré
eec03f5f29 Fuze: correct usb pid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25232 a1c6a512-1295-4272-9138-f99709370657
2010-03-17 09:05:49 +00:00
Thomas Martitz
b5b2a03ee2 A tiny bit more Sansa Fuze v2 work.
- buttonlight works
 - backlight turns on (quite weak though and no brightness adjustment/backlight off functional)
 - don't share drivers with e200v2/fuzev1 for now as it's not entirely clear how dbop plays into this
 - deactivte scrollwheel as it's messing up the timer setup in kernel-as3525.c indicating the dbop input reading doesn't work well
 - still no working bootloader/no lcd or buttons

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25225 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 22:38:57 +00:00
Michael Giacomelli
f28a1ea111 Add basic runtime estimation for the c200v2 (taken from Clipv1) and e200v2 (taken from fuzev1).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25223 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 18:06:21 +00:00
Michael Giacomelli
589abcd416 Disable runtime estimation altogether when there is no runtime current defined. It doens't work and people somehow got confused by seeing obviously wrong values. Now it will just return -1 if you try to estimate runtime without having the current defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25222 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 17:13:25 +00:00
Michael Giacomelli
3b5418e814 Forgot the #
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25221 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 16:15:02 +00:00
Michael Giacomelli
74bd14fa72 Remove some old archos code that caused runtime estimation to be off on AMS players while not actually working on Archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25220 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 16:03:48 +00:00
Rafaël Carré
04937cb207 Clipv1 & m200v4 : reduce plugin buffer size to strict minimum
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25219 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 15:57:44 +00:00
Rafaël Carré
d0ea5673ea as3525v2 has twice the as3525v1 IRAM (verified on Clip+)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25207 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 19:11:22 +00:00
Rafaël Carré
ba68f2dedd sd-as3525v2: add card hotswap to sd_thread
Clip+: add (disabled) configuration for µSD slot

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25194 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 02:36:16 +00:00
Rafaël Carré
a8ef7e5757 Clipv2: enable FM so testers can confirm if it's detected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25192 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 01:22:41 +00:00
Rafaël Carré
6159278e0d Clip+: si4702 FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25190 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 00:36:13 +00:00
Amaury Pouly
c7517f5662 Add experimental support for isochronous transfers in the usb ARC driver. There are several details to tweaks however.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25130 a1c6a512-1295-4272-9138-f99709370657
2010-03-12 10:59:34 +00:00
Michael Sparmann
62c011c8fb Even more Nano2G FTL speedup. Now 8% faster than disk mode, 10% slower than the OFW. 4.5MB/s sustained (contiguous) write, 6.0MB/s read for me now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25109 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 00:59:17 +00:00
Michael Sparmann
0be28e819f Disable HID on Nano2G for now - it's causing some instability that needs to be debugged
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25104 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:20:48 +00:00
Michael Sparmann
32ffcfa495 Some Nano2G define corrections / updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25103 a1c6a512-1295-4272-9138-f99709370657
2010-03-10 03:19:56 +00:00
Rafaël Carré
4f63db9de0 Sansa Clip: reduce current consumption for more correct battery life estimation after r25030
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25049 a1c6a512-1295-4272-9138-f99709370657
2010-03-07 02:42:31 +00:00
Thomas Martitz
a62eced78a Add a few warning comments about the INIT_ATTR stuff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25024 a1c6a512-1295-4272-9138-f99709370657
2010-03-04 17:44:57 +00:00
Rafaël Carré
b678be335a AS3525v2: disable cpu frequency changes
CGU_PROC looks different from as3525v1 and there have been reports of
Clip+ becoming warm when boosted

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25020 a1c6a512-1295-4272-9138-f99709370657
2010-03-04 00:37:41 +00:00
Thomas Martitz
9b810734f8 Really fix bootloaders now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25017 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 23:52:36 +00:00
Thomas Martitz
1410624bcd Fix reds. Don't use the init section in the bootloader. It's not useful there anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25014 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 23:31:20 +00:00
Thomas Martitz
f8edc32589 FS#10756 - Free unused init code
Introduce a new .init section for initialisation code, so that it can be copied to an area which is later overwritten before calling. The stack/bss can then overwrite that code, effectively freeing the code size that the initialisation routines need. Gives a few kB ram usage back.
Only implemented for PP and as3525 so far. More targets could be added, as well as more functions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25013 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 23:20:32 +00:00
Peter D'Hoye
e479853f15 Enable recording histogram for h100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25012 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 23:05:36 +00:00
Peter D'Hoye
be90f74e89 Histogram display on recording screen. Based on the work of Jvo Studer in FS #5021 but reduced and reworked since the recording screen code changed quite a bit since his patch. For now enabled on iriver h1x0 and h3x0 only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25007 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 22:16:08 +00:00
Jonathan Gordon
f37b5078f6 undo that last undo, make the font loader more forgiving to user errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24994 a1c6a512-1295-4272-9138-f99709370657
2010-03-03 00:53:07 +00:00
Jonathan Gordon
9e611b1b00 revert r24989 ad r24990 which are cuasing segfaults... they were working fine for me though :( (stupid font stuff is cursed!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24993 a1c6a512-1295-4272-9138-f99709370657
2010-03-02 21:47:35 +00:00
Jonathan Gordon
34f51ccb04 * Make the user font count more sane
* font 2-9 in the skins will always be user fonts in the skins
* init the skinfonts array so it doesnt think id 'x' is used already
* make the parser work with FONT_UI untill the very end, even on remote fonts


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24989 a1c6a512-1295-4272-9138-f99709370657
2010-03-02 08:24:50 +00:00
Szymon Dziok
f67e3559c6 Packard Bell Vibe 500: clean up the power off, enable poweroff while charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24987 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 22:24:17 +00:00
Bertrik Sikken
34d36fcad8 Sansa c200: allow 16 steps of backlight brightness (just like the OF)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24984 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 20:58:00 +00:00
Thomas Martitz
3b52937c8a Revert r24958. It didn't fix anything (in fact, the problem described didn't exist). Increase MAXFONTS by 1 to allow for remote screen targets to load fonts 2-9.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24983 a1c6a512-1295-4272-9138-f99709370657
2010-03-01 15:16:05 +00:00
Jonathan Gordon
8717c1eaa1 redo r24943. the font mappings are not needed once the skin is finished parsing so using the skin buffer there is a waste and overcomplicates things.
Also that commit breaks plain %pb so make sure you dont use %pb inside a viewport with a font number > 1


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24957 a1c6a512-1295-4272-9138-f99709370657
2010-02-28 08:36:13 +00:00
Thomas Martitz
0094b0500c Add Sansa Fuzev2 to the target tree. Bootloader builds, but is completely untested.
Compilation shows a warning for the first argument of the lcd_bitmap() call in show_logo().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24911 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 13:26:46 +00:00
Rafaël Carré
0880349fa8 as3525v2: use iram (might need to be disabled for clipv2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24857 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:02:15 +00:00
Rafaël Carré
bb3a8291f2 Fix model number for Clipv2 & Clip+ (same than in scramble.c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24850 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 07:31:40 +00:00
Rafaël Carré
31eda59720 as3525v2: build normal firmware properly (Clipv2/+)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:58 +00:00
Szymon Dziok
8ecced28cb Packard Bell Vibe 500: Enable recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24805 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 12:29:14 +00:00
Andree Buschmann
a20d3fa3a4 Allow batteries with higher capacity for iPod Mini1G, Mini2G and Video (FS#8973).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24732 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 20:46:22 +00:00
Szymon Dziok
d3d29edbf3 Packard Bell Vibe 500: add RTC alarm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24728 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 18:42:19 +00:00
Szymon Dziok
b4e1cae3d6 Packard Bell Vibe 500: Full RTC support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24726 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 18:18:20 +00:00
Michael Sparmann
8f33879fed Enable iPod Nano 2G boosting (without undervolting for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24721 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:54:48 +00:00
Andree Buschmann
909e4c6c06 Add iPod 3G and iPod Color/Photo (FS#9072) current consumption and battery discharge curves to allow reasonable runtime estimation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24709 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 22:53:54 +00:00
Teruaki Kawashima
d50c78c238 * surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in struct scrollinfo in scroll_engine.h.
* remove function prototypes which are not actualy defined.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24693 a1c6a512-1295-4272-9138-f99709370657
2010-02-16 11:59:37 +00:00
Amaury Pouly
26c0e753d1 Rewrite dircache generation to take advantage for the FAT code. Reduce RAM usage by ~30Kb and binsize by at least several hundreds bytes. Also remove the directory depth limit of dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24657 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 19:09:52 +00:00
Jonathan Gordon
1c2aa35371 FS#10984 - multifont! 2 major additions:
1) seperate UI font for the remote and main displays
2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins.

Code should always use FONT_UI+screen_number to get the correct user font


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 06:26:16 +00:00
Szymon Dziok
f8287b0e9f Packard Bell Vibe 500: correct main keymaps, enable full keyboard editing, enable morse input.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24600 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 20:04:09 +00:00
Amaury Pouly
e5caf93e23 Commit FS#10889: detect file handles leaks in plugins and automatically close them on exit and warn the user.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24598 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 19:15:37 +00:00
Frank Gevaerts
43264a946f New plugin: FFT, A frequency analyzer plugin
There is some more work needed:
- Keymaps are definitely not perfect, touchscreen targets are disabled due to no keymap
- There is no manual yet

Author: Delyan Kratunov 
Flyspray: FS#10065



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24587 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 19:44:11 +00:00
Szymon Dziok
f47b706225 Packard Bell Vibe 500: Enable ATA DMA as in r24405.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24585 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 18:54:51 +00:00
Torne Wuff
c447eb90cb Enable charging monitoring for the Nano 1G.
The code for this was already present as it seems to behave the same as the Video, but CONFIG_CHARGING had not been set, probably for lack of testing. It has now been tested.

This allows the WPS/status bar to correctly display the charging status, and also fixes various bugs:
FS#6891 iPod Nano Charger Support
FS#6940 Nano Car Adapter Mode enabled
FS#10591 iPod nano reboots on idle poweroff when plugged in


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24581 a1c6a512-1295-4272-9138-f99709370657
2010-02-10 13:39:48 +00:00