Dominik Wenger
7135f2d9f4
make mrobe100 touchstrip driver less sensitive by checking for the finger bit. Also little cleanup in driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17810 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 20:19:27 +00:00
Mark Arigo
22e7bf32b8
My Devcon 2008 contribution: port for Philips GoGear HDD1630 (PP5022-based). Current status is that the bootloader works to load Rockbox, but dual boot does not work: it freezes after decrypting the OF. When Rockbox boots, it freezes somewhere between showing the logo and the main menu. And there's no driver for the touchpad. So lots of work left.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17809 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 18:40:25 +00:00
Rob Purchase
39aaa2f2b5
D2: Small optimisation to the PCM FIQ (only stack registers when necessary).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17806 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:39:03 +00:00
Rob Purchase
38b02f3d7a
D2: Make the nand driver's sanity checks a little more... sane. This should allow booting on a few older D2's.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17805 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 12:35:50 +00:00
Rob Purchase
ed95be983c
D2: Editing config.h wasn't enough to fully disable IRAM - also disable it in *.lds for a crash fix and further 100% increase in codec performance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17779 a1c6a512-1295-4272-9138-f99709370657
2008-06-24 07:38:35 +00:00
Rob Purchase
e7a31c16dc
Disable IRAM usage on TCC780x, giving at least a 2x speedup in codecs and elsewhere. To be re-instated only when the issue is fully understood.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17774 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 22:25:33 +00:00
Rob Purchase
3ca42e4aac
D2: Take notice of the hold button.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17773 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 21:38:11 +00:00
Rob Purchase
9aa7ceb0df
Fix the D2 click/popping every second. Lesson from PCM-driver 101: don't disable FIQs unless you really, really need to.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17765 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 18:23:56 +00:00
Jonathan Gordon
bdbdb97f19
FS#9051 - remove LCD margins... use viewports if you need them...
...
NOTE to WPS people....
%m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored.
Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected.
Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 13:20:35 +00:00
Rob Purchase
e62aa9e156
Oops, fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17754 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 19:01:44 +00:00
Rob Purchase
d6159ea7d7
Initial D2 sound playback support (known issues to follow on the CowonD2Info wiki page).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17753 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 18:48:22 +00:00
Marc Guay
b362b7f9ea
Hopefully update the keywords. Thanks bluebrother.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17744 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 16:07:59 +00:00
Marc Guay
1ccc3e72f0
Forgot the export/config file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17743 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:22:33 +00:00
Marc Guay
b93667b306
Add the Sansa c100 as a build target with basic drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17742 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:18:36 +00:00
Andree Buschmann
3d40144e34
Commit FS#9076, unification of PCF-initialization for iPod Video and nano. The nano's runtime will increase by about 45min.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17721 a1c6a512-1295-4272-9138-f99709370657
2008-06-14 22:22:51 +00:00
Jens Arnold
538a387cca
Blind-add some code from ipodlinux that hopefully fixes the colour problem on iPod Photo reported on the forums.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17715 a1c6a512-1295-4272-9138-f99709370657
2008-06-12 05:56:34 +00:00
Rob Purchase
0efad8d925
D2: Configure NAND GPIO lines /before/ attempting to use them. Should fix 16Gb support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17713 a1c6a512-1295-4272-9138-f99709370657
2008-06-10 18:03:13 +00:00
Rob Purchase
bca9703b83
D2: Fixes for 16Gb models with four NAND banks: update MAX_BANKS, configure the chip select GPIO as output and use a couple of #defines to tidy things up.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17705 a1c6a512-1295-4272-9138-f99709370657
2008-06-09 08:11:11 +00:00
Rob Purchase
51d6d4054f
Update the LV24020 FM driver so that it can be used on the D2. Register read/write and chip_id detection works now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17703 a1c6a512-1295-4272-9138-f99709370657
2008-06-07 19:23:57 +00:00
Frank Gevaerts
6d9f55efff
corrected sign of error return value
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17693 a1c6a512-1295-4272-9138-f99709370657
2008-06-05 15:49:35 +00:00
Frank Gevaerts
27ad822a44
add usb_allowed_current() function, so powermanagement code can know when it's allowed to charge from usb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17688 a1c6a512-1295-4272-9138-f99709370657
2008-06-04 18:55:58 +00:00
Michael Sevakis
fa5bd07f6b
Oops. Lost sync on a few instances and 'HI' registers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17684 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:19:32 +00:00
Michael Sevakis
191320cd0f
Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 05:08:24 +00:00
Michael Sevakis
606d9d0c83
Reinstate the awful ATA hack that has no proper reason to exist for iPod 5.5g 60GB and/or 80GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17682 a1c6a512-1295-4272-9138-f99709370657
2008-06-03 04:23:09 +00:00
Rob Purchase
3f7f5d7431
D2: Stop panic screen from crashing instantly (seems this has been broken for a while).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17670 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 11:30:24 +00:00
Michael Sevakis
023cd578fa
Commit FS#9024 - apply proper line-in gain for h10's radio by Przemyslaw Holubowski with one change: make "0x1e" "0x1f" since that's actually +12dB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17665 a1c6a512-1295-4272-9138-f99709370657
2008-05-31 08:31:46 +00:00
Karl Kurbjun
9ba4864d73
Simplify the button handling code on the Gigabeat F/X a bit for the side buttons. Plugins should be updated with this revision, or the buttons in plugins will not operate properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17659 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 22:22:44 +00:00
Jens Arnold
d52bea8a90
Fix FS #8840 for irivers by slowing down the driver some more. Signal quality is obviously varying a lot among the iriver remotes. Speed is now around halfway between pre-r16832 and r17006 when boosted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17657 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:41:47 +00:00
Michael Sevakis
c541e04632
Gigabeat F/X:
...
Allow chaning of touchpad sensitivity in the System settings menu. Some
units are dodgey at "Normal" senitivity and some at "High". "High" can make
some units difficult to navigate and may even require a settings reset so try
it and don't use "High" again if it doesn't work out :-). Defaults to "Normal"
which behaves like older builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17656 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 21:27:44 +00:00
Peter D'Hoye
f76122f0e7
Accept FS #9052 by Alexander Levin with a fix by me. Changes HAS_BUTTONBAR into HAVE_BUTTONBAR to bring it in line with the other defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17655 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 20:32:39 +00:00
Jonathan Gordon
43f0770943
move the HAS_BUTTONBAR define to the config-<target>.h files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17652 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 09:14:32 +00:00
Linus Nielsen Feltzing
07bfba21ae
Add the ADC_ACCESSORY channel on the ipod, to allow for accessory detection once we figure that out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17648 a1c6a512-1295-4272-9138-f99709370657
2008-05-29 06:12:08 +00:00
Michael Sevakis
0f7f5f2267
Fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17642 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:49:00 +00:00
Michael Sevakis
adf2e4c9a0
Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
2008-05-28 10:17:16 +00:00
Bertrik Sikken
705e703f45
Increased MAX_SYS_EVENTS from 10 to 16, since there are potentially more than 10 events that can registered. Should fix FS#9039 - *PANIC* event line full (reproduceable).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17632 a1c6a512-1295-4272-9138-f99709370657
2008-05-26 06:54:57 +00:00
Peter D'Hoye
825d89fe28
Accept FS #9021 by James Vasile and apply the fix to the other drivers that have the same issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17630 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 21:19:07 +00:00
Michael Sevakis
69f4ffe686
Fix a comment since it was very wrong.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17627 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 02:43:51 +00:00
Michael Sevakis
d892214d88
Gigabeat S: Add charge current and battery temp readout in power management and display in the battery screen. Thermistor data was obtained experimentally from one pulled off a dead board and appears basically correct when read back on a working device (which requires letting it settle to ambient temperature - a long wait so not easy to do). Sending me more thermistors would help improve accuracy *fingers crossed that it's close enough*. :-) This commit does NOT add charging but is a step towards implementing it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17626 a1c6a512-1295-4272-9138-f99709370657
2008-05-25 01:38:08 +00:00
Jens Arnold
4a6190dd13
Hopefully fix FS #8840 for iAudio M3, M5 and X5. Reduce greyscale update frequency on M3 in order to reduce CPU load (was >50% before, but this fix would have made it even worse).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17621 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:53:12 +00:00
Dave Chapman
5e9732367d
Make life easier for people working on new ports (audio drivers are normally one of the last things written), and revert r17511. Also take the opportunity to use more typical dummy values for VOLUME_MIN and VOLUME_MAX.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17620 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:03:15 +00:00
Rob Purchase
03de6c67ab
TCC78x NAND driver: Split the initial bank scan into two passes (appears to improve block translation reliability). Also some cleanups for readability, eg remove chip vs. bank ambiguity and remove leftover debug code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17598 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 21:07:49 +00:00
Michael Sevakis
804bb8e38d
Correct an oopsy when finishing off the MC13783 header. No wonder ADC readings seemed a wee odd.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17597 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 20:59:07 +00:00
Thom Johansen
c0f7eb9f9d
FS #8680 . MOD codec by Rainer Sinsch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 11:19:58 +00:00
Michael Sevakis
c78bb5a00e
Oops. Forgot to put the pmic thread stack size back to normal.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17594 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:54:02 +00:00
Michael Sevakis
a9c20f5789
Gigabeat S:
...
1) Rework event handling and static registration mechanism. No target-
specific code in mc13783 driver. GPIO event driver interfaces more
cleanly.
2) Somewhat related - enable thread priority for bootloader which is
desireable here (ffs is used for GPIO event enabling anyway and that
goes along with priority).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:42:11 +00:00
Mark Arigo
b4275d4941
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Karl Kurbjun
4c99f9a749
Contrast settings for the gigabeat F/X
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17590 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:50:48 +00:00
Karl Kurbjun
7a4d1609ee
Make some functions static, point to the wiki, and comit the code to invert the screen, but don't enable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17589 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:30:57 +00:00
Bertrik Sikken
869fbfc1f1
Made events table static and moved MAX_SYS_EVENTS from events.c to events.h to make it private.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17586 a1c6a512-1295-4272-9138-f99709370657
2008-05-20 19:20:28 +00:00
Michael Sevakis
cb1b388a57
Get a good start on cleaning up powermgmt.c
...
1) Consolidate charging types' code as much as possible at the moment.
2) Remove the iRiver code for the moment. It so happens that it isn't being
compiled anyway so it's just noise. Grab it out of the revision history
when needed again.
3) A small fix to CHARGING_CONTROL where changing of #defines somewhere in
earlier revisions actually ended up having it use the wrong battery filter
constant. A few state variables that were locals but stay in scope for
the life of the power thread get static storage to help separate algorithms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17580 a1c6a512-1295-4272-9138-f99709370657
2008-05-19 03:59:52 +00:00