From 4a2cab6aa1008a4f5ac05dac44c99b7f1a05e8f4 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Sun, 6 Jun 2010 13:01:19 +0000 Subject: 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 --- firmware/export/config/ipodmini1g.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/config/ipodmini1g.h') diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h index 2f261a8886..81529a5de5 100644 --- a/firmware/export/config/ipodmini1g.h +++ b/firmware/export/config/ipodmini1g.h @@ -143,6 +143,11 @@ /* define this if the unit can be powered or charged via USB */ #define HAVE_USB_POWER +/* define this if the unit can have USB charging disabled by user - +:Qa + * if USB/MAIN power is discernable and hardware doesn't compel charging */ +#define HAVE_USB_CHARGING_ENABLE + /* Define this if you have a PortalPlayer PP5020 */ #define CONFIG_CPU PP5020 -- cgit