rockbox/bootloader
Aidan MacDonald 83c2398384 x1000: Fix USB connection problems in bootloader
This problem actually had nothing to do with USB boot; it's
because the cable is plugged in when the USB mode menu item
is selected. The USB thread detected the select button press
and went into charge-only mode (as it usually does when you
hold down a key in Rockbox). This is fixed by having the USB
thread ignore most keys in the bootloader.

USB connect events are delivered via the button queue, and
there were also cases where the connection could be missed
if the event happened within another UI screen. This should
also be fixed.

Change-Id: I077d705a6ac845c8713219eee45d26aa6addfa61
2022-01-02 20:11:03 +00:00
..
bootloader.make bootloader: Work around linker wonkiness that broke PP bootloader builds. 2020-10-13 19:02:27 -04:00
common.c bootloader: nuke a long-unused (and broken) code block 2021-08-22 07:49:06 -04:00
common.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
creativezvm.c h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
fat32format.c mi4: replace chksum_crc32 with crc_32r 2021-06-21 09:36:54 +00:00
format.c ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
format.h ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
gigabeat-s.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
gigabeat.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
iaudio_coldfire.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
imx233.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
ipod.c Bugfix Backlight_init should be called after lcd_init 2020-11-13 13:57:39 -05:00
ipod6g.c Fix more warnings. 2020-10-13 15:48:31 -04:00
ipodnano2g.c Bugfix Backlight_init should be called after lcd_init 2020-11-13 13:57:39 -05:00
iriver_h1x0.c h1x0/h300: change when the hold switch and failsafe are used 2020-11-15 11:01:53 +00:00
iriver_h300.c h1x0/h300: change when the hold switch and failsafe are used 2020-11-15 11:01:53 +00:00
lyre_proto1.c Bootloaders need the reacharound to get at the internal goods 2014-08-08 02:28:11 -04:00
main-e200r-installer.c mi4: replace chksum_crc32 with crc_32r 2021-06-21 09:36:54 +00:00
main-pp.c Sansa E200v1 Bootloader ensure USB unplug is detected 2021-10-04 16:42:36 -04:00
main-ppsansawipe.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
Makefile [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
meizu_m3.c h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
meizu_m6sl.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
meizu_m6sp.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
mini2440.c h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
mpio_hd200_hd300.c Fix red/yellow round #2 2015-01-12 13:25:14 +01:00
mrobe500.c mrobe500 bootloader fix 2020-10-13 21:33:55 -04:00
nwz_linux.c remove inaccurate comment 2017-09-18 09:30:33 +02:00
ondavx747.c ondavx747: Fix bootloader build 2020-09-03 20:26:23 +00:00
rk27xx.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
rocker_linux.c Rename symbols of FiiO M3K Linux-based port 2021-02-27 23:53:28 +00:00
samsung_yps3.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sansa_as3525.c Fix AMSv2 variant 1 detection if rockbox loaded from SD card 2016-04-22 20:43:45 +00:00
sansaconnect.c Sansa Connect: Power off LCD to save power 2021-07-05 15:19:52 +02:00
sansaview.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
show_logo.c Fix up the bootloaders 2014-08-28 10:44:22 -04:00
snprintf.c ClipPlus BOOTLOADER DONT FIT! 2020-10-23 20:38:59 -04:00
SOURCES Remove the (very) incomplete port for the Tatung TPJ-1102 2021-08-14 16:29:39 -04:00
telechips.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
x1000.c x1000: Fix USB connection problems in bootloader 2022-01-02 20:11:03 +00:00
xduoox3.c xduoox3: Further bootloader improvements 2021-08-26 11:59:01 -04:00