How am I supposed to run/install acpi_call? I've found a similar solution on the linux hybrid graphics blog, but still couldn't manage to run it.
3 Answers
If you do not know how to use that kernel module, I suggest you to stay away from it. In the past it has been used for disabling discrete video cards directly, but that does not make the kernel aware of the state change. The test_off.sh
file should not be used as it's just wildly guessing some calls which may have negative effects on the hardware and software (e.g. crazy fans, lockups).
If you want to disable NVIDIA cads, have a look at Bumblebee which comes with bbswitch, a module for toggling the power of nvidia cards on Optimus laptops. More information about Optimus laptops can be found on Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?
The bumblebee/stable PPA provides the acpi-call-tools
package. After installing the PPA you can open a terminal, load the acpi_call module and perform an ACPI call by writing to the file. This requires root privileges.
Load the acpi_call module and define a convenience function for making an ACPI call:
$ sudo modprobe acpi_call
$ c(){ echo "$1" | sudo tee /proc/acpi/call >/dev/null && sudo cat /proc/acpi/call;echo;}
An example: execute the ACPI method \_SB_.PCI0.GFX0._DOD
and retrieve the result of it:
$ c '\_SB_.PCI0.GFX0._DOD'
[0x80010100, 0x80010300, 0x80010410]

- 174,277
-
4I think acpi-call-tools has been renamed to acpi-call-dkms in newer versions of ubuntu – bryanph Sep 06 '16 at 14:32
-
1@bryanph Seems correct, Ubuntu imported the acpi-call-dkms package via Debian and it appears in at least Ubuntu 15.10 Wily. – Lekensteyn Sep 07 '16 at 15:49
Just use acpi_call_GUI and do it via graphic interface!
Ensure that you have installed java and git, if not install these packages:
sudo apt-get install openjdk-8-jre sudo apt-get install git
After that open a terminal and type the following commands:
git clone https://github.com/marcoDallas/acpi_call_GUI.git cd acpi_call_GUI sudo chmod +x install.sh sudo ./install.sh
Execute it, type in terminal:
sudo java -jar $HOME/acpi_call_GUI.jar
Use in order: install, deactivate and automates options,
Here's a step by step video tutorial: https://www.youtube.com/watch?v=h33bvoR14x8!
Here you can find the website and sources: https://github.com/marcoDallas/acpi_call_GUI

- 197,895
- 55
- 485
- 740

- 1
- 2
-
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – guntbert Sep 05 '13 at 16:54
-
This doesn't explain how to use
acpi_call
. Also, none of this stuff is needed; simplyapt install acpi-call-dkms
can installacpi_call
. – rustyx Mar 07 '22 at 22:54
I checked out a new call for
Aspire 5810T V1.35
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4330/4350/4550] [1002:9552] (rev ff) (prog-if ff)
which is not documented anywhere but works great for me to switch of my ATI card:
\_SB_.PCI0.OVGA.SGOF
@MarcoDallas: thank you for your great work.

- 28,763

- 1
Trying \_SB.PCI0.P0P1.VGA._OFF: failed Trying \_SB.PCI0.P0P2.VGA._OFF: failed .....
and so on. – goldmaster Feb 07 '12 at 20:28