1
0
mirror of https://github.com/systemd/systemd synced 2026-03-18 11:04:46 +01:00

Compare commits

...

6 Commits

Author SHA1 Message Date
Derek J. Clark
9573ad4e76 hwdb: Add missing vendor names for older AYANEO devices
Adds AYADEVICE and AYA NEO vendor names. Early founders editon and 2021 models used these DMI values instead of AYANEO
2026-01-06 13:49:40 +09:00
Derek J. Clark
8ea31c2307 hwdb: Add missing scancodes for Lenovo Legion devices
Adds missing scancodes for Lenovo Legion Go, Go S, and Go 2. When long
pressing the power button the device should issue a LEFTMETA + F16
combo. The LEFTMETA code fires properly, but the F16 is not mapped.

Go and Go S devices detect as AT Translated Set 2 Keyboard, while Go 2
detects as AT Raw Set 2 Keyboard, hence the multiple entries.

Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
2026-01-06 12:33:28 +09:00
Alexis-Emmanuel Haeringer
adfa4b6b74 man/kernel-install: /proc/cmdline is not used as a fallback in container 2026-01-06 08:49:32 +09:00
Yu Watanabe
9bad7610f8 man: fix typo 2026-01-06 08:48:05 +09:00
Yu Watanabe
423ba555ac pstore: fix typo 2026-01-06 08:45:22 +09:00
Yu Watanabe
776c3d7f90 import: update comment: implementor -> implementer
Both implementor and implementer are correct, but we use implementer at
other places.
2026-01-06 08:43:05 +09:00
5 changed files with 20 additions and 4 deletions

View File

@ -320,6 +320,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAYANEO:pnKUN:pvr*
# multi-scancode sequence. The specific preceding codes # multi-scancode sequence. The specific preceding codes
# depend on the model, but the final scancode is always the # depend on the model, but the final scancode is always the
# same. # same.
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnAYA NEO:*
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnAYADEVICE:*
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnAYANEO:* evdev:name:AT Translated Set 2 keyboard:dmi:*:svnAYANEO:*
KEYBOARD_KEY_66=f15 # LC (All models) KEYBOARD_KEY_66=f15 # LC (All models)
KEYBOARD_KEY_67=f16 # RC (All models) KEYBOARD_KEY_67=f16 # RC (All models)
@ -1175,6 +1177,19 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn21LG:pvr*
KEYBOARD_KEY_0a=!9 KEYBOARD_KEY_0a=!9
KEYBOARD_KEY_0b=!0 KEYBOARD_KEY_0b=!0
# Lenovo Legion Go & Go S
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnLENOVO:pn83E1:*
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnLENOVO:pn83L3:*
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnLENOVO:pn83N6:*
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnLENOVO:pn83Q2:*
evdev:name:AT Translated Set 2 keyboard:dmi:*:svnLENOVO:pn83Q3:*
KEYBOARD_KEY_67=f16 # Power button long press
# Lenovo Legion Go 2
evdev:name:AT Raw Set 2 keyboard:dmi:*:svnLENOVO:pn83N0:*
evdev:name:AT Raw Set 2 keyboard:dmi:*:svnLENOVO:pn83N1:*
KEYBOARD_KEY_20=f16 # Power button long press
########################################################### ###########################################################
# LG # LG
########################################################### ###########################################################

View File

@ -616,6 +616,7 @@
<term><filename>/proc/cmdline</filename></term> <term><filename>/proc/cmdline</filename></term>
<listitem> <listitem>
<para>Specifies the kernel command line to use. The first of the files that is found will be used. <para>Specifies the kernel command line to use. The first of the files that is found will be used.
When running in a container, <filename>/proc/cmdline</filename> is ignored.
<varname>$KERNEL_INSTALL_CONF_ROOT</varname> may be used to override the search path; see below for <varname>$KERNEL_INSTALL_CONF_ROOT</varname> may be used to override the search path; see below for
details.</para> details.</para>

View File

@ -722,7 +722,7 @@
<listitem><para>Show a list of candidate block devices this command may operate on. Specifically, <listitem><para>Show a list of candidate block devices this command may operate on. Specifically,
this enumerates block devices currently present that contain a LUKS superblock, and shows their this enumerates block devices currently present that contain a LUKS superblock, and shows their
device node paths along with any of their symlinks. The devices must implement the device node paths along with any of their symlinks. The devices must implement the
<option>hmac-secret</option> extension to be useable.</para> <option>hmac-secret</option> extension to be usable.</para>
<xi:include href="version-info.xml" xpointer="v257"/></listitem> <xi:include href="version-info.xml" xpointer="v257"/></listitem>
</varlistentry> </varlistentry>

View File

@ -156,7 +156,7 @@ void pull_job_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result) {
if (strcaseeq(scheme, "FILE") && result == CURLE_FILE_COULDNT_READ_FILE && j->on_not_found) { if (strcaseeq(scheme, "FILE") && result == CURLE_FILE_COULDNT_READ_FILE && j->on_not_found) {
_cleanup_free_ char *new_url = NULL; _cleanup_free_ char *new_url = NULL;
/* This resource wasn't found, but the implementor wants to maybe let us know a new URL, query for it. */ /* This resource wasn't found, but the implementer wants to maybe let us know a new URL, query for it. */
r = j->on_not_found(j, &new_url); r = j->on_not_found(j, &new_url);
if (r < 0) if (r < 0)
goto finish; goto finish;
@ -197,7 +197,7 @@ void pull_job_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result) {
if (status == 404 && j->on_not_found) { if (status == 404 && j->on_not_found) {
_cleanup_free_ char *new_url = NULL; _cleanup_free_ char *new_url = NULL;
/* This resource wasn't found, but the implementor wants to maybe let us know a new URL, query for it. */ /* This resource wasn't found, but the implementer wants to maybe let us know a new URL, query for it. */
r = j->on_not_found(j, &new_url); r = j->on_not_found(j, &new_url);
if (r < 0) if (r < 0)
goto finish; goto finish;

View File

@ -194,7 +194,7 @@ static int process_dmesg_files(PStoreList *list) {
* The dmesg- filename contains the backend-type and the Common Platform Error Record, CPER, * The dmesg- filename contains the backend-type and the Common Platform Error Record, CPER,
* record id, a 64-bit number. * record id, a 64-bit number.
* *
* Files are processed in reverse lexigraphical order so as to properly reconstruct original dmesg. */ * Files are processed in reverse lexicographical order so as to properly reconstruct original dmesg. */
for (size_t n = list->n_entries; n > 0; n--) { for (size_t n = list->n_entries; n > 0; n--) {
PStoreEntry *pe; PStoreEntry *pe;