Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After linux-3.2.1 update, module has disappeared? #25

Open
sparklespdx opened this issue Jan 20, 2012 · 2 comments
Open

After linux-3.2.1 update, module has disappeared? #25

sparklespdx opened this issue Jan 20, 2012 · 2 comments

Comments

@sparklespdx
Copy link

After kernel update, acpi_call module fails to load. Modprobe reports that it doesn't exist. I downgraded to the most recent kernel version I had working; same issue. I have done a full re-clone, no effect.

@marcoDallas
Copy link
Contributor

Same problem, but with kernel 3.9.6-200.fc18.x86_64 :

[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.

Any ideas?

@JasperWallace
Copy link

You have to use insmod since modprobe searches elsewhere for the module.

If you want to use the module on every boot you'll need to add insmod /path/to/the/module.ko to the init scripts somewhere, /etc/rc.local might work depending on your distro.

KobaKoNvidia pushed a commit to KobaKoNvidia/acpi_call that referenced this issue Jul 3, 2024
…ion-5570

turn_off_gpu.sh: add acpi method for RTX A1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants