Closed Shadowphoenix closed 11 months ago
Also, come to think of it. shouldnt it attempt to build the module first and only then afterwards, upon completion, create a symlink? Because as it is right now i have a Symlink in my DKMS-Tree to something that seems to be a nonworking module. And at least in my little monkeybrain, that doesnt make much sense.
I stumbled upon the same error on Ubuntu 23.10, since the kernel was upgraded from 6.2.0 (Ubuntu 23.04) to 6.5.0. Good to know that it's an issue with 6.4.12 too.
It looks like the kernel changed the API without backward compatibility (regarding the class_create
function, that now expects only 1 argument instead of 2). Seems like removing THIS_MODULE
from the call should resolve the issue. I'm gonna test this and create a PR.
UPDATE: According to the code, it looks like the API change was already expected from 6.4.0.
Seems to be a duplicate of #9.
Fixed in https://github.com/musikid/acpi_ec/pull/10, just not released yet.
I just tested that it works, the issue can be closed now.
Sorry, I will create a release which includes the fix.
Seems to be a duplicate of #9.
Fixed in #10, just not released yet.
I just tested that it works, the issue can be closed now.
the new version released last week seems to build without issues. i will try and see if now i can access /dev/ec again
running install.sh gives me the following logs, although i am not quite sure what to make of them (i fully uninstalled the module beforehand)
Since its throwing Secure Boot at me, do i need to enable that? What about the other errors mentioned in the logs?