mkottman / acpi_call

A linux kernel module that enables calls to ACPI methods through /proc/acpi/call. Now with support for Integer, String and Buffer parameters.
309 stars 130 forks source link

modprobe: FATAL: Module acpi_call not found. #38

Open marcoDallas opened 11 years ago

marcoDallas commented 11 years ago

Hi,

[marco@Marco-HP acpi_call]$ sudo make
make -C /lib/modules/3.9.6-200.fc18.x86_64/build M=/usr/local/bin/acpi_call modules
make[1]: Entering directory `/usr/src/kernels/3.9.6-200.fc18.x86_64'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/kernels/3.9.6-200.fc18.x86_64'
[marco@Marco-HP acpi_call]$ insmod acpi_call.ko
[marco@Marco-HP acpi_call]$ modprobe acpi_call
modprobe: FATAL: Module acpi_call not found.
[marco@Marco-HP acpi_call]$ sudo bash 
[root@Marco-HP acpi_call]# echo "\_SB.PCI0.PEG0.PEGP._OFF" > /proc/acpi/call
[root@Marco-HP acpi_call]# cat /proc/acpi/call
0x0[root@Marco-HP acpi_call]#

This call succeeds, but after a reboot /proc/acpi/call no longer exists.

[root@Marco-HP marco]# echo "\_SB.PCI0.PEG0.PEGP._OFF" > /proc/acpi/call
bash: /proc/acpi/call: File o directory non esistente

Already tried to do a depmod -a but nothing changes

mkottman commented 11 years ago

Unfortunately I do not have 3.9 kernel available to test. I know there were some changes but unfortunately do not have the time to look at it. Modprobe won't work unless the module is placed somewhere it can be found.

Try placing the acpi_call.ko into /lib/modules/uname -r/updates/dkms if it exists and then running depmod -a.

marcoDallas commented 11 years ago
"Try placing the acpi_call.ko into /lib/modules/`uname -r`/updates/dkms"

It doesn't exist

Edit: if you want I can send you a txt with the output of make -d

ReEdit: problems came with kernel 3.5+

marccollin commented 10 years ago

don't seem to work with kernel 3.9, 3.10.....

kopax commented 4 years ago

4.19.0-6-amd64 and still got the issue. is there a way to install acpi_call somehow?