Bug 209735 - using asus_wmi_send_event()/asus_wmi_evaluate_method() within hid-asus leads to kernel crash
Summary: using asus_wmi_send_event()/asus_wmi_evaluate_method() within hid-asus leads ...
Status: RESOLVED DOCUMENTED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-19 00:20 UTC by zappel
Modified: 2020-11-02 03:39 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.9.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg from the moment the kernel crashes (10.80 KB, text/plain)
2020-10-19 00:20 UTC, zappel
Details

Description zappel 2020-10-19 00:20:41 UTC
Created attachment 293053 [details]
dmesg from the moment the kernel crashes

Hi, 
hopefully someone can help us out.. we're currently busy on a patch for ASUS ROG series notebooks on hid (asus-hid) level, and we're facing a strange behavior if we're calling asus_wmi_send_event. this issue reproducable causes a kernel crash...

The patch this is relaying on is: https://lkml.org/lkml/2020/9/23/1061

what we're doing:
we're trying to forward a raw event to an wmi event, which mostly works.. until you're pressing the key multiple times within a second (or slower but continously). 

as far as we digged through this might be caused by ACPI.. but we're really unsure.

it happend during calling `asus_wmi_send_event(drvdata, 0xae)`, pls see attached log.


maybe someone has a clou what we're doing wrong - or ist it a bug?


cheers.
Comment 1 Zhang Rui 2020-11-02 03:39:31 UTC
as you already have a patch, why not submit the patch to the mailing list directly?

run ./scripts/get_maintainer.pl your-patch first
and submit your patch out.
Bugzilla is not a good place for people to review your patch.
Bug report closed.

Note You need to log in before you can comment on or make changes to this bug.