Re: ACPI Error: No handler for Region [ECOR]

From: Samy Mahmoudi <samy.mahmoudi_at_gmail.com>
Date: Fri, 23 Nov 2018 14:21:33 +0100
Hi all,

"patch -p 1 < your_patch" gives me the following *.rej file:
_at__at_ -362,7 +362,8 _at__at_
            ret = 0;

        goto out;
-    }
+    } else
+       ecdt = 0;

     ret = ACPI_ID_PROBE(device_get_parent(dev), dev, ec_ids, NULL);
     if (ret > 0)
_at__at_ -422,16 +434,6 _at__at_
     /* Store the values we got from the namespace for attach. */
     acpi_set_private(dev, params);

-    /*
-     * Check for a duplicate probe. This can happen when a probe via ECDT
-     * succeeded already. If this is a duplicate, disable this device.
-     */
-    peer = devclass_get_device(acpi_ec_devclass, params->uid);
-    if (peer == NULL || !device_is_alive(peer))
-       ret = 0;
-    else
-       device_disable(dev);
-
     if (buf.Pointer)
        AcpiOsFree(buf.Pointer);
 out:

Reject of hunk 1 and hunk 3 may be due to indentation. Anyway, I manually
patched these two parts and I am now waiting for kernel build.
Received on Fri Nov 23 2018 - 12:21:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC