From 805152f39f74846f5b07f681b55e3356907bd428 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Sun, 14 Jul 2024 23:16:00 +0200 Subject: kernel 6.9.8 correct asus dmi check --- SOURCES/0001-add-support-for-ally-x-mcu-switch.patch | 11 +++++------ SOURCES/asus-linux.patch | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'SOURCES') 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 -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 Signed-off-by: Luke D. Jones @@ -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 }; -- cgit v1.2.3