rockbox/firmware/target/hosted
Udo Schläpfer 95fdad5e28 iBasso DX50/DX90: User selectable USB mode.
Depends on http://gerrit.rockbox.org/r/#/c/1043/.

This patch adds a new setting in Settings -> General -> System: USB Mode.

Usable in Quickscreen and Shortcuts.

Possible settings are:
- Mass Storage: The default, on USB connect export the internal and external
drives as usual. Rockbox will exit gracefully in this case, since the internal
drive (/mnt/sdcard) is exported as mass storage device and Android prevents
Rockbox from continued execution.
- Charge Only: USB charge only, do not export the internal and external drives.
This will not close Rockbox.
- ADB: Enable the Android Debug Bridge. This will not close Rockbox.

Charge only and ADB are actually the same, since it is not yet established if
charge only is doable without adb and major hooks into Android.

German translation provided.

This may be genric for Android based devices but is only enabled
for iBasso Devices. Other maintainers may choose do adopt this.

Change-Id: I616247c29946c6595ebcf8f0c14b2410c9f0498b
2015-02-02 22:43:46 +01:00
..
android iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
ibasso iBasso DX50/DX90: User selectable USB mode. 2015-02-02 22:43:46 +01:00
maemo maemo: Clean up unused variables 2015-01-11 17:45:56 +01:00
samsungypr ypr0/ypr1: GPIO handling API refactoring 2015-01-29 20:28:59 +01:00
sdl maemo port: Fix startup crash exposed by audio thread refactoring 2014-12-20 02:23:15 +01:00
cpufreq-linux.c CPUFreq scaling governor interface for Linux/Android hosted devices. 2015-01-30 20:15:58 +01:00
cpufreq-linux.h CPUFreq scaling governor interface for Linux/Android hosted devices. 2015-01-30 20:15:58 +01:00
cpuinfo-linux.c iBasso DX50/DX90: CPU info enhancements. 2015-01-30 20:15:21 +01:00
cpuinfo-linux.h iBasso DX50/DX90: CPU info enhancements. 2015-01-30 20:15:21 +01:00
debug-hosted.c Include stdlib.h for atexit(). 2012-01-25 22:49:19 +01:00
filesystem-app.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
filesystem-app.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
filesystem-hosted.h Hopefully fix most of the errors and warnings from the last push 2014-08-29 23:36:11 -04:00
filesystem-unix.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
filesystem-unix.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
filesystem-win32.c Fix syntax error (missing semicolon) 2015-01-03 15:02:23 +01:00
filesystem-win32.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
kernel-unix.c Do not include kernel.h in system.h. 2014-01-05 19:35:23 +01:00
kernel-unix.h android/ypr0: Merge kernel-*.c to generic kernel-unix.c. 2012-01-21 18:39:19 +01:00
lc-unix.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
pcm-alsa.c Tweak some PCM drivers for less typecasting with the data pointer. 2012-03-04 08:52:50 -05:00
rtc.c Return -1 for not implemented RTC functions. 2011-03-08 21:36:47 +00:00
system-hosted.h Add normal alloca() definition and implement a strdupa and friends 2014-08-29 22:06:59 -04:00