1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Udo Schläpfer 2015-01-21 20:51:36 +01:00
parent 040306a716
commit 95fdad5e28
7 changed files with 178 additions and 2 deletions

View file

@ -13075,3 +13075,83 @@
ibassodx90: "Freq Scaling Governor"
</voice>
</phrase>
<phrase>
id: LANG_IBASSO_USB_MODE
desc: in Settings -> General -> System -> USB Mode
user: core
<source>
*: none
ibassodx50: "USB Mode"
ibassodx90: "USB Mode"
</source>
<dest>
*: none
ibassodx50: "USB Modus"
ibassodx90: "USB Modus"
</dest>
<voice>
*: none
ibassodx50: "USB Modus"
ibassodx90: "USB Modus"
</voice>
</phrase>
<phrase>
id: LANG_IBASSO_USB_MODE_MASS_STORAGE
desc: in Settings -> General -> System -> USB Mode: Mass Storage
user: core
<source>
*: none
ibassodx50: "Mass Storage"
ibassodx90: "Mass Storage"
</source>
<dest>
*: none
ibassodx50: "Massenspeicher"
ibassodx90: "Massenspeicher"
</dest>
<voice>
*: none
ibassodx50: "Massenspeicher"
ibassodx90: "Massenspeicher"
</voice>
</phrase>
<phrase>
id: LANG_IBASSO_USB_MODE_CHARGE
desc: in Settings -> General -> System -> USB Mode: Charge Only
user: core
<source>
*: none
ibassodx50: "Charge Only"
ibassodx90: "Charge Only"
</source>
<dest>
*: none
ibassodx50: "Nur laden"
ibassodx90: "Nur laden"
</dest>
<voice>
*: none
ibassodx50: "Nur laden"
ibassodx90: "Nur laden"
</voice>
</phrase>
<phrase>
id: LANG_IBASSO_USB_MODE_ADB
desc: in Settings -> General -> System -> USB Mode: Android Debug Bridge
user: core
<source>
*: none
ibassodx50: "Android Debug Bridge"
ibassodx90: "Android Debug Bridge"
</source>
<dest>
*: none
ibassodx50: "Android Debug Bridge"
ibassodx90: "Android Debug Bridge"
</dest>
<voice>
*: none
ibassodx50: "Android Debug Bridge"
ibassodx90: "Android Debug Bridge"
</voice>
</phrase>