This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11101 - user selectable USB cable bevaviour
|
DetailsAdded new menu item under Settings.General.System, to select whether USB cable connection enters charging mode by default, or data transfer mode.
By default, the option is set to "No". Meaning, in order to have RB enter charging mode, a specific button should be pressed by the user. If the option is set to "Yes", USB connection causes RB to enter charging mode, unless the specified button is pressed, causing RB to switch into data xfer mode. |
This task depends upon
"usb charging mode" does not at all imply what the setting does, and "usb_charging_by_default" seems to imply that if it's set to false, the device will not charge.
These settings and variable names seem to imply that rockbox will not charge while connected in MSC mode, which is plainly not the case. Also, some players (such as the Ondio) can run on USB power but can not charge from USB, so for these the entire "charge" wording is even more wrong.
The patch also misses the necessary changes to the manual.
How do I change the manual..? there was no reference to doing so in RB's development guide :(
For the setting string, it's a bit more difficult to fit in a yes/no thing. I'd really prefer something like "USB default connection mode: Power only/Full connection" (or "MSC", or something like that). I don't know if that's easy to do in the settings code.
For the manual, I guess http://www.rockbox.org/wiki/ManualHowto might be useful. If you can't manage it, feel free to join us on irc to ask for help, or at least provide the text the manual should have here
I'll get that fixed, update the manual and repost the patch.
maybe?
Make it about the presentation of storage, rather than about power/charging.
If you guys wish, we could have a vote among all rockbox devs to decide the best phrasing, but I think that right now the interface describes exactly what the option does (regardless of actual functionality).
This menu option causes rockbox to switch the two possible modes of handling USB connections, that's it. and that's why it's called the way it is.
Moreover, since the complete description is found in the manual, I don't see the point in contemplating other possible ways to phrase this in the GUI... the current phrasing is close enough, and anyone interested should read the manual to fully understand it.