Created attachment 131151
process rather than discard events in acpi_ec_clear
Hi all,
If you have a machine that was (previously) affected by this bug, could you please take the time to try a new patch for this issue?
A user with an older Samsung machine found that the earlier patch introduced some issues for them, so this is a new patch designed to be a better solution to the problem.
Currently the new patch has only been tested on 2 affected machines (to my knowledge), so I would be very grateful if anyone else can test this patch (especially users with Samsung series 5 or 7 machines).
You will need to use a recent kernel source like 3. (one which includes the earlier acpi_ec_clear patch), or otherwise apply the previous patch first:
Please report if you get any EC_SC bytes here _other than_ 0x28. I only get 0x28 on my machine but I am very interested to know if other affected machines produce something else.
If you test it, please also report your system's product code, e.g.:
Created attachment 131151
process rather than discard events in acpi_ec_clear
Hi all,
If you have a machine that was (previously) affected by this bug, could you please take the time to try a new patch for this issue?
A user with an older Samsung machine found that the earlier patch introduced some issues for them, so this is a new patch designed to be a better solution to the problem.
Currently the new patch has only been tested on 2 affected machines (to my knowledge), so I would be very grateful if anyone else can test this patch (especially users with Samsung series 5 or 7 machines).
You will need to use a recent kernel source like 3. (one which includes the earlier acpi_ec_clear patch), or otherwise apply the previous patch first:
https:/ /github. com/torvalds/ linux/commit/ ad332c8a45330d1 70bb38b95209de4 49b31cd1b4. patch
Then apply the attachment ec_process_ stale_events. patch
Please test to see if your lid closing / suspending / etc. still work as intended with this patch.
This new patch also provides some debug information after every resume/boot which will show up in dmesg something like:
[ 1192.208056] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.217844] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.218844] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.222835] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.223834] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.224833] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.227833] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.228834] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.229832] ACPI : EC: acpi_ec_clear: EC_SC 0x28
[ 1192.230828] ACPI : EC: 8 stale EC events cleared
Please report if you get any EC_SC bytes here _other than_ 0x28. I only get 0x28 on my machine but I am very interested to know if other affected machines produce something else.
If you test it, please also report your system's product code, e.g.:
# dmidecode -s system-product-name product- name
900X3F
# dmidecode -s baseboard-
NP900X3F-K01AU
Many thanks,
Kieran