aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-07-14 23:16:00 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-07-14 23:16:00 +0200
commit805152f39f74846f5b07f681b55e3356907bd428 (patch)
tree90c5348aab77e8e37e67339252a6f61385f6dba2
parent4d58658f0f89ceab9ed06b0640a0be6e3f64d639 (diff)
downloadkernel-fsync-805152f39f74846f5b07f681b55e3356907bd428.tar.gz
kernel-fsync-805152f39f74846f5b07f681b55e3356907bd428.zip
kernel 6.9.8 correct asus dmi check
-rw-r--r--SOURCES/0001-add-support-for-ally-x-mcu-switch.patch11
-rw-r--r--SOURCES/asus-linux.patch4
-rw-r--r--SPECS/kernel.spec5
3 files changed, 11 insertions, 9 deletions
diff --git a/SOURCES/0001-add-support-for-ally-x-mcu-switch.patch b/SOURCES/0001-add-support-for-ally-x-mcu-switch.patch
index 266d639..bffa8c5 100644
--- a/SOURCES/0001-add-support-for-ally-x-mcu-switch.patch
+++ b/SOURCES/0001-add-support-for-ally-x-mcu-switch.patch
@@ -1,14 +1,14 @@
-From d821616f57bc2d47bdef54edf43a6bd63249c4ef Mon Sep 17 00:00:00 2001
+From 79d958eccfa4a1cfbb552032e9542f03333005e7 Mon Sep 17 00:00:00 2001
From: antheas <antheas@users.noreply.github.com>
-Date: Tue, 9 Jul 2024 13:10:31 +0300
-Subject: [PATCH 1/2] add support for ally x mcu switch
+Date: Mon, 15 Jul 2024 00:00:45 +0300
+Subject: [PATCH] add ally x dmi quirk for controller suspend
---
drivers/platform/x86/asus-wmi.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
-index 3f9b6285c..16c8745e1 100644
+index 3f9b6285c9a6..8e362726b703 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -4645,8 +4645,10 @@ static int asus_wmi_add(struct platform_device *pdev)
@@ -20,10 +20,9 @@ index 3f9b6285c..16c8745e1 100644
+ asus->ally_mcu_usb_switch =
+ acpi_has_method(NULL, ASUS_USB0_PWR_EC0_CSEE) &&
+ (dmi_match(DMI_BOARD_NAME, "RC71L") ||
-+ dmi_match(DMI_BOARD_NAME, "RC72L"));
++ dmi_match(DMI_BOARD_NAME, "RC72LA"));
if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MINI_LED_MODE))
asus->mini_led_dev_id = ASUS_WMI_DEVID_MINI_LED_MODE;
--
2.45.2
-
diff --git a/SOURCES/asus-linux.patch b/SOURCES/asus-linux.patch
index 1a363a6..461ab82 100644
--- a/SOURCES/asus-linux.patch
+++ b/SOURCES/asus-linux.patch
@@ -963,7 +963,7 @@ and this affected the reconnection.
Through trial it is found that the minimum time required is approx 1200ms
to allow a proper disconnect and disable, and the same amount of time on
resume is required to prevent a rapid disconnect/reconnect happening on
-seemingly random occasions. To be more than safe the time is now 2500ms
+seemingly random occasions. To be safe the time is now 1500ms for msleep.
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Luke D. Jones <luke@ljones.dev>
@@ -980,7 +980,7 @@ index 976e26c82f80..ab98f91e573c 100644
#define ASUS_USB0_PWR_EC0_CSEE "\\_SB.PCI0.SBRG.EC0.CSEE"
/* 300ms so far seems to produce a reliable result on AC and battery */
-#define ASUS_USB0_PWR_EC0_CSEE_WAIT 300
-+#define ASUS_USB0_PWR_EC0_CSEE_WAIT 2500
++#define ASUS_USB0_PWR_EC0_CSEE_WAIT 1500
static const char * const ashs_ids[] = { "ATK4001", "ATK4002", NULL };
diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec
index 07b2052..ec452e2 100644
--- a/SPECS/kernel.spec
+++ b/SPECS/kernel.spec
@@ -169,7 +169,7 @@ Summary: The Linux kernel
# This is needed to do merge window version magic
%define patchlevel 9
# This allows pkg_release to have configurable %%{?dist} tag
-%define specrelease 203%{?buildid}%{?dist}
+%define specrelease 204%{?buildid}%{?dist}
# This defines the kabi tarball version
%define kabiversion 6.9.8
@@ -4117,6 +4117,9 @@ fi\
#
#
%changelog
+* Sun Jul 14 2024 Jan200101 <sentrycraft123@gmail.com> - 6.9.8-204.fsync.1
+- kernel-fsync v6.9.8 ally dmi quirk update
+
* Sun Jul 14 2024 Jan200101 <sentrycraft123@gmail.com> - 6.9.8-203.fsync.1
- kernel-fsync v6.9.8 increase asus internal usb delay