Open ealcaniz opened 3 years ago
Hi ealcaniz,
The kernel interface has changed (already a couple releases ago). What I did was to use the acpi_call module from tlp.
Install the repo dnf install https://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm
install the module dnf install akmod-acpi_call
Works here on F34
Hi ealcaniz,
The kernel interface has changed (already a couple releases ago). What I did was to use the acpi_call module from tlp.
- Install the repo dnf install https://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm
- install the module dnf install akmod-acpi_call
Works here on F34
hey bud, I am having trouble with the above error, may you kindly explain your solution and how it ties with this 'usb-modeswitch'. Thanks!
I am trying with Fedora 33 and Lenovo T490S
~~~~In file included from /home/ealcaniz/git/acpi_call/acpi_call.c:6: ./include/linux/proc_fs.h:109:122: note: expected ‘const struct proc_ops ’ but argument is of type ‘struct file_operations ’ 109 | struct proc_dir_entry proc_create(const char name, umode_t mode, struct proc_dir_entry parent, const struct proc_ops proc_ops); |
~~~~~^~cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:279: /home/ealcaniz/git/acpi_call/acpi_call.o] Error 1 make[1]: [Makefile:1802: /home/ealcaniz/git/acpi_call] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.10.22-200.fc33.x86_64' make: *** [Makefile:8: default] Error 2Any ideas?