Quantcast
Viewing all articles
Browse latest Browse all 2849

Hardware • Re: Asus laptop: random keyboard problem

Hello,

According to the dmidecode output:

Code:

# dmidecode[..]System InformationManufacturer: ASUSTeK COMPUTER INC.Product Name: Vivobook_ASUSLaptop X1704VA_X1704VA[..]
your notebook is exactly identified in the patch as in the previous thread, if I read correctly:So, patching your kernel might solve the issue.

You might recompile the kernel after patching it [2]. The patch (I named "X1704VAP.patch" below) is:

Code:

Reported-by: Lamome Julien <julien.lamome@wanadoo.fr>Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078696Closes: https://lore.kernel.org/all/1226760b-4699-4529-bf57-6423938157a3@wanadoo.fr/Cc: stable@vger.kernel.orgSigned-off-by: Hans de Goede <hdegoede@redhat.com>--- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+)diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.cindex dfe108e2ccde..8e672790ac51 100644--- a/drivers/acpi/resource.c+++ b/drivers/acpi/resource.c@@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"), }, },+{+/* Asus Vivobook X1704VAP */+.matches = {+DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),+DMI_MATCH(DMI_BOARD_NAME, "X1704VAP"),+},+}, { /* Asus ExpertBook B1402CBA */ .matches = {-- 2.46.0
You can use the following commands (replace linux-6.1.119 with the kernel version whose sources are downloaded):

Code:

$ sudo apt install packaging-dev$ apt source linux$ sudo apt build-dep linux$ cd linux-6.1.119/$ quilt import ../X1704VAP.patch$ quilt push$ dch -i "local rebuild for X1704VAP keyboard patching"$ dpkg-buildpackage -B -uc -us
Rebuilding the kernel will require some time (probably many hours, depending on your hardware capability) and enough disk space (probably many gigabytes).

Previous command will create debian packages for the rebuilt unsigned kernel. You are mainly interested in a sub-version of linux-image-$(uname -r).deb

If you are booting Debian with secure boot, you will need create and register a MOK (machine owner key) into the UEFI NVRAM and then sign the unsigned kernel image and rebuild the kernel package (containing the signed kernel image):Then, you need to install the debian package containing the rebuilt signed kernel, using dpkg.

Hope this helps.

--
EDIT Fri Dec 13 18:14:23 CET 2024:

According to the Debian Bug Tracking System:the patch should be already included in kernel (upstream version) 6.1.15 and next versions. So, the Debian packages linux-image-6.1.0-27-amd64 and subsequent linux-image-6.1.0-28-amd64 (currently in debian-proposed-updates) should already include the patch.

What is the version you are currently using ? You can check with the command:

Code:

uname -a
--
[1] https://lore.kernel.org/linux-acpi/2024 ... edhat.com/
[2] https://www.debian.org/doc/manuals/main ... ld.en.html

Statistics: Posted by Aki — 2024-12-13 17:07



Viewing all articles
Browse latest Browse all 2849

Trending Articles