mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
config: USB_CHARGING_FORCE must be enabled for all iPods
If not, these devices will charge very slowly (0.07A) when plugged into a wall plug, and will all discharge slowly when docked & playing music. Enabling this option (that is already enabled by default on some other devices like erosq and fiio m3k) make them pull between 0.20 and 0.30. They charge faster, just as fast as on Stock OS, and won't discharge when playing music while docked. Change-Id: I90a59caaca463354772b1869f7333d8efce4f117
This commit is contained in:
parent
022db8214c
commit
914760b54e
6 changed files with 6 additions and 1 deletions
|
|
@ -153,6 +153,7 @@
|
|||
/* define this if the unit can have USB charging disabled by user -
|
||||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
|
||||
|
||||
/* define current usage levels */
|
||||
#define CURRENT_NORMAL 100 /* MP3: ~10.5h out of 1100mAh battery */
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@
|
|||
/* define this if the unit can have USB charging disabled by user -
|
||||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
|
||||
|
||||
/* define current usage levels */
|
||||
#define CURRENT_NORMAL 69 /* ~10h (700mAh), see FS#9072 */
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@
|
|||
:Qa
|
||||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
|
||||
|
||||
/* Define Apple remote tuner */
|
||||
#define CONFIG_TUNER IPOD_REMOTE_TUNER
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@
|
|||
/* define this if the unit can have USB charging disabled by user -
|
||||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
|
||||
#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
|
||||
|
||||
/* Define Apple remote tuner */
|
||||
#define CONFIG_TUNER IPOD_REMOTE_TUNER
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@
|
|||
/* define this if the unit can have USB charging disabled by user -
|
||||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
|
||||
|
||||
#define CURRENT_NORMAL 32 /* MP3: ~9h playback out of 300mAh battery */
|
||||
#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@
|
|||
/* define this if the unit can have USB charging disabled by user -
|
||||
* if USB/MAIN power is discernable and hardware doesn't compel charging */
|
||||
#define HAVE_USB_CHARGING_ENABLE
|
||||
#define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE
|
||||
|
||||
/* define current usage levels */
|
||||
#define CURRENT_NORMAL 24 /* 30MHz clock, LCD off, accessory supply on */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue