summaryrefslogtreecommitdiff
path: root/firmware/export/config/ipod4g.h
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-06-06 13:01:19 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-06-06 13:01:19 +0000
commit4a2cab6aa1008a4f5ac05dac44c99b7f1a05e8f4 (patch)
tree229c2d69c074b4fa5973ccc6050b7bba187a6d14 /firmware/export/config/ipod4g.h
parent32a2b3e3fa36767fdad90b565fc52a1050b39926 (diff)
downloadrockbox-4a2cab6aa1008a4f5ac05dac44c99b7f1a05e8f4.tar.gz
rockbox-4a2cab6aa1008a4f5ac05dac44c99b7f1a05e8f4.zip
USB charging support for iPods.
This adds proper full speed charging support for iPod 4G, Color, Mini 1G, Mini 2G, Nano 1G, and Video. Nano 2G already has support, so now all ipods charge (except 1G-3G whose hardware doesn't support USB charging). USB charging defaults to on, but will only charge at full speed from a USB host. To charge from an AC charger, you need to set the USB charging mode to "force". It may be possible to detect AC chargers in a future version, at least on some models. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/ipod4g.h')
-rw-r--r--firmware/export/config/ipod4g.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h
index b9251e72fe..2a08a710e7 100644
--- a/firmware/export/config/ipod4g.h
+++ b/firmware/export/config/ipod4g.h
@@ -146,6 +146,10 @@
146/* define this if the unit can be powered or charged via USB */ 146/* define this if the unit can be powered or charged via USB */
147#define HAVE_USB_POWER 147#define HAVE_USB_POWER
148 148
149/* define this if the unit can have USB charging disabled by user -
150 * if USB/MAIN power is discernable and hardware doesn't compel charging */
151#define HAVE_USB_CHARGING_ENABLE
152
149/* define current usage levels */ 153/* define current usage levels */
150#define CURRENT_NORMAL 100 /* MP3: ~10.5h out of 1100mAh battery */ 154#define CURRENT_NORMAL 100 /* MP3: ~10.5h out of 1100mAh battery */
151#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */ 155#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */