1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware
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
..
asm Fix YUV generic C performance function on 24-bit framebuffer 2014-11-10 20:30:16 +01:00
common Limit "struct dircache_runinfo" to file scope 2015-01-01 13:51:08 +01:00
decompressor
drivers iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
export iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
include Improve core_alloc() / buflib_alloc() documentation 2015-01-02 18:51:15 +01:00
kernel Remove I/O priority. It is harmful when used with the new file code. 2014-08-30 14:01:21 -04:00
libc mktime(): Remove redundant assignment of 'result' 2015-01-04 17:37:35 +01:00
target iBasso DX50/DX90: User selectable USB mode. 2015-02-02 22:43:46 +01:00
test Limit more variables to file scope 2015-01-11 21:40:51 +01:00
usbstack Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
bidi.c
buflib.c buflib: Switch from term "cookie" to "metadata" 2015-01-02 19:26:03 +01:00
COPYING
core_alloc.c Make a few local variables static 2015-01-11 18:02:43 +01:00
debug.c
eeprom_settings.c
enc_base.c
events.c Make thirty functions static to reduce binary size 2015-01-05 18:44:36 +01:00
firmware.make Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00
font.c
font_cache.c
general.c
hangul.c
ifp_usb_serial.c Make thirty functions static to reduce binary size 2015-01-05 18:44:36 +01:00
load_code.c
logf.c Make a few local variables static 2015-01-11 18:02:43 +01:00
lru.c
panic.c panicf doesn't return so why not tell GCC and $AVE : 2014-08-25 13:55:16 -04:00
pcm.c
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c
powermgmt.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
profile.c
README
rolo.c
rom.lds
screendump.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
scroll_engine.c
sdmmc.c
sound.c
SOURCES iBasso DX50/DX90: User selectable freq scaling governor. 2015-02-02 21:58:25 +01:00
storage.c Remove I/O priority. It is harmful when used with the new file code. 2014-08-30 14:01:21 -04:00
system.c
timer.c
tuner.c
usb.c usb: finally get rid of USE_ROCKBOX_USB in Sansa bootloader, use bootloader usb 2015-01-08 22:30:22 +01:00

See docs/README