usb: remove "Ask" USB Mode (FS#13317)

USB ask mode is basically a footgun: it can't work on native targets
and doesn't work reliably on hosted ones, and it continually produces
a slow trickle of problems. FS#13317 gives a rundown of the issues.
Removing the setting seems like the best solution for now, since a fix
would be pretty involved.

This partially reverts 60f581e8f5. The USB Mode setting is left in
place so the option can be added back later in a non-buggy way.

Change-Id: Ie01b28dd2ed95a31b509a7834d85bac8eb866098
This commit is contained in:
Aidan MacDonald 2022-05-25 00:43:19 +01:00 committed by Solomon Peachy
parent 6cdd142d5c
commit 7e0492444c
5 changed files with 17 additions and 41 deletions

View file

@ -848,16 +848,13 @@ properly.}
\opt{usb_power}{
\section{USB Charging}
Whenever your \dap{} is connected to USB, it will automatically charge.
However, depending on the \config{usb\_mode} setting, the \dap{} may also
enter mass storage mode or prompt the user for what action to take.
When the \dap{} is configured to enter mass storage mode or automatically
charge, you may trigger the opposite behavior by holding down any button
while plugging it in. Your \dap{} must already be in Rockbox for this to
function.
Your \dap{} will automatically charge when connected to USB. By default
Rockbox will connect in mass storage mode to transfer files, but you can
prevent this by holding down any button while plugging in the USB cable,
or by changing the \setting{USB Mode} setting to \setting{Charge Only}.
\nopt{fuzeplus}{
\note{Be aware that this button may still perform its normal function, so
it is recommended to use a button without harmful side effects, such as
\note{Be aware that holding a button may still perform its normal function,
so it is recommended to use a button without harmful side effects, such as
\ActionStdUsbCharge{}.}
}
}