summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-01-23 19:43:52 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-01-23 19:43:52 +0100
commit80c2a07de03a37684f310cc3410dc817398923bd (patch)
tree73fad24778244c097f63dc6cac2b59e04d5e2276
parentlinux upgrade scripts and config (diff)
downloadn-80c2a07de03a37684f310cc3410dc817398923bd.tar
n-80c2a07de03a37684f310cc3410dc817398923bd.tar.gz
n-80c2a07de03a37684f310cc3410dc817398923bd.tar.bz2
n-80c2a07de03a37684f310cc3410dc817398923bd.tar.lz
n-80c2a07de03a37684f310cc3410dc817398923bd.tar.xz
n-80c2a07de03a37684f310cc3410dc817398923bd.tar.zst
n-80c2a07de03a37684f310cc3410dc817398923bd.zip
-rw-r--r--root/linux/i8042-x86ia64io.h.patch21
-rwxr-xr-xroot/linux/upgrade.sh8
2 files changed, 22 insertions, 7 deletions
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