From 80c2a07de03a37684f310cc3410dc817398923bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 23 Jan 2023 19:43:52 +0100 Subject: dell laptop mouse patch --- root/linux/i8042-x86ia64io.h.patch | 21 +++++++++++++++++++++ root/linux/upgrade.sh | 8 +------- 2 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 root/linux/i8042-x86ia64io.h.patch diff --git a/root/linux/i8042-x86ia64io.h.patch b/root/linux/i8042-x86ia64io.h.patch new file mode 100644 index 0000000..350172f --- /dev/null +++ b/root/linux/i8042-x86ia64io.h.patch @@ -0,0 +1,21 @@ +diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h +index 4b0201c..b5240b1 100644 +--- a/drivers/input/serio/i8042-x86ia64io.h ++++ b/drivers/input/serio/i8042-x86ia64io.h +@@ -146,6 +146,16 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { + }, + .driver_data = (void *)(SERIO_QUIRK_RESET_NEVER) + }, ++ /* ++ * Above issue also appears on Dell Latitude D630 ++ */ ++ { ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), ++ DMI_MATCH(DMI_PRODUCT_NAME, "Latitude D630"), ++ }, ++ .driver_data = (void *)(SERIO_QUIRK_RESET_NEVER) ++ }, + { + /* ASUS P65UP5 - AUX LOOP command does not raise AUX IRQ */ + .matches = { diff --git a/root/linux/upgrade.sh b/root/linux/upgrade.sh index 883d0d3..37408ec 100755 --- a/root/linux/upgrade.sh +++ b/root/linux/upgrade.sh @@ -5,13 +5,7 @@ k=`eselect kernel list | tail -n1 | cut -d\ -f6` eselect kernel set $k cd /usr/src/linux patch -p1 < $d/i8042-x86ia64io.h.patch -l=0 -for f in $d/linux.config.* -do - n=`cut -d. -f3 <<<$f` - [ $n -gt $l ] && l=$n -done -cp $d/linux.config.$l.* .config +cp $d/config .config make make modules make install -- cgit v1.2.3