Systemd/src
Paul Cercueil 6fe95d3020 sd-boot: Work around malformed CR key code
When a key is pressed, the EFI firmware gives us a 64-bit word that
contains the modifier key code in the upper 32 bits, the scan code in
the middle 16 bits, and a unicode character in the low 16 bits.

Some bogus EFI firmwares will put the unicode character in the scan code
area, for instance on the EZpad mini 4s tablet.

Others will even put the unicode character in both the scan code and
unicode areas. This is the case for instance on the Teclast X98+ II
tablet.

Add workarounds for these corner cases, only for the carriage return key
right now. Some more workarounds may be needed, e.g. for volume keys,
but I cannot test it.

Partially fixes #8466.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-06-15 08:05:57 +02:00
..
ac-power
activate
analyze core: create socket service instances with the correct name from the start 2020-06-10 09:45:55 +02:00
ask-password
backlight
basic efi: Skip parsing SystemdOptions if there's an error getting it. 2020-06-14 10:51:01 +02:00
binfmt binfmt: also unregister binfmt entries from unit 2020-04-23 17:14:45 +02:00
boot sd-boot: Work around malformed CR key code 2020-06-15 08:05:57 +02:00
busctl busctl: drop unneeded param 2020-05-26 09:13:39 +02:00
cgls
cgroups-agent
cgtop
core efi: Cache contents of EFI variable SystemdOptions 2020-06-13 14:46:57 +02:00
coredump conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
cryptsetup cryptsetup: pass selected mode to crypt_load() when doing LUKS 2020-06-09 14:24:21 +02:00
debug-generator
delta
detect-virt
dissect dissect: support single-filesystem verity images with external verity hash 2020-06-09 12:19:21 +01:00
environment-d-generator sd-path: rename the two functions 2020-03-27 20:12:44 +01:00
escape
firstboot firstboot: Add --kernel-command-line option 2020-05-27 18:54:26 +02:00
fsck
fstab-generator tree-wide: use DISABLE_WARNING_FORMAT_NONLITERAL where appropriate 2020-05-25 18:25:05 +02:00
fuzz core: remove support for ".include" stanza 2020-06-03 18:26:12 +02:00
getty-generator
gpt-auto-generator dissect: support single-filesystem verity images with external verity hash 2020-06-09 12:19:21 +01:00
hibernate-resume
home homed help --uid short option 2020-06-07 12:38:46 +02:00
hostname hostnamed: call our destructor _destroy(), not _clear() 2020-05-18 21:12:37 +02:00
hwdb
id128
import tree-wide: Replace assert() by assert_se() when there is side effect 2020-05-10 09:23:12 +02:00
initctl tree-wide: use structured initialization at various places 2020-04-24 07:44:42 +02:00
journal journal: drop the assert-only variable completely 2020-06-11 10:22:09 +02:00
journal-remote conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
kernel-install kernel-install: extend --help 2020-06-05 16:34:05 +02:00
libsystemd Merge pull request #16124 from ssahani/dhcpv6-duid 2020-06-11 12:03:07 +02:00
libsystemd-network network: DHCP6 - introduce DHCP6 DUID to string 2020-06-10 19:17:28 +02:00
libudev tree-wide: port to fd_wait_for_event() 2020-06-10 20:06:10 +02:00
locale tree-wide: use DISABLE_WARNING_FORMAT_NONLITERAL where appropriate 2020-05-25 18:25:05 +02:00
login login: filenames in /run/systemd/users are uids 2020-06-12 19:37:52 +02:00
machine machine: switch to BusLocator-oriented helpers 2020-05-07 08:46:43 -07:00
machine-id-setup
modules-load
mount mount-tool: Replace fstype_is_{network,api_vfs} with fstype_is_blockdev_backed 2020-06-08 19:36:42 +02:00
network networkd: Add missing match_wlan_iftype check to network_verify 2020-06-14 10:47:37 +02:00
notify Introduce sd_notify_barrier 2020-05-01 03:22:47 +05:30
nspawn Merge pull request #16118 from poettering/inaccessible-fixlets 2020-06-10 10:23:13 +02:00
nss-myhostname tree-wide: use "hostname" spelling everywhere 2020-04-21 16:58:04 +02:00
nss-mymachines nss-mymachines: switch to BusLocator-oriented helpers 2020-05-07 08:46:44 -07:00
nss-resolve nss-resolve: switch to BusLocator-oriented helpers 2020-05-07 08:46:44 -07:00
nss-systemd nss-systemd: don't synthesize root/nobody when iterating 2020-04-23 23:07:08 +02:00
partition conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
path sd-path: drop "-dir" and "-path" suffixes from path enums 2020-05-28 23:54:35 +02:00
portable dissect: support single-filesystem verity images with external verity hash 2020-06-09 12:19:21 +01:00
pstore Merge pull request #16057 from keszybz/resolvectl-sorted-no-nta 2020-06-04 11:30:14 +09:00
quotacheck
random-seed
rc-local-generator
remount-fs
reply-password
resolve resolved: Log the feature level we're downgrading from as well 2020-06-13 14:48:40 +02:00
rfkill
run run: when waiting for unit, also check if no job is pending anymore 2020-05-27 15:01:07 +02:00
run-generator
shared sleep-config: modernize destructors 2020-06-11 10:33:57 +02:00
shutdown shutdown: fix spacing in shutdown error message 2020-05-05 10:23:47 +02:00
sleep sleep: pass error we see to log function 2020-06-11 10:35:04 +02:00
socket-proxy socket-proxy: Support exit-on-idle 2020-05-06 13:58:57 +02:00
stdio-bridge tree-wide: check POLLNVAL everywhere 2020-06-10 08:57:31 +02:00
sulogin-shell
sysctl journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable 2020-05-19 15:26:51 +02:00
system-update-generator
systemctl Improve message for scheduled shutdown or reboot 2020-06-14 10:43:06 +02:00
systemd sd-network: Introduce APIs to get DHCP6 DUID 2020-06-10 19:21:21 +02:00
sysusers fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label. 2020-05-27 18:54:25 +02:00
sysv-generator Merge pull request #15226 from benzea/benzea/xdg-autostart-generator 2020-05-27 18:41:01 +02:00
test Merge pull request #15940 from keszybz/names-set-optimization 2020-06-10 18:52:08 +02:00
time-wait-sync
timedate macro: introduce DISABLE_WARNING_TYPE_LIMITS and make use of it everywhere 2020-05-25 18:25:09 +02:00
timesync conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
tmpfiles Merge pull request #15910 from poettering/tmpfiles-pstore-tweak 2020-05-26 21:59:13 +02:00
tty-ask-password-agent tree-wide: check POLLNVAL everywhere 2020-06-10 08:57:31 +02:00
udev tree-wide: port to fd_wait_for_event() 2020-06-10 20:06:10 +02:00
update-done
update-utmp Remove unneded {}s 2020-04-13 09:31:49 +02:00
user-sessions
userdb tree-wide: port to fd_wait_for_event() 2020-06-10 20:06:10 +02:00
vconsole
veritysetup
version tree-wide: spellcheck using codespell 2020-04-16 18:00:40 +02:00
volatile-root tree-wide: add size limits for tmpfs mounts 2020-05-13 00:37:18 +02:00
xdg-autostart-generator conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00