Hi. You have to disable the Radeon Card.
Open up Terminal and type
Code:
gedit timelinex_acpi.c
paste the following code inside and save.
Code:
/*
* timelinex_acpi.c
*
* Linux kernel module that disables the discrete graphics board for Acer
* Aspire TimelineX 3820TG (Core i5). Other TimelineX laptops could work, but I don't know.
*
* Based on the original lenovo_acpi.c by Sylvain Joyeux <sylvain.joyeux@m4x.org>, 2009
*/
#include <acpi/acpi.h>
MODULE_LICENSE("GPL");
static acpi_handle root_handle;
static int __init kill_ati(void)
{
int i;
acpi_status status;
// The device handle
acpi_handle handle;
// The package elements
union acpi_object package_elements[3];
// The arguments to ATPX
union acpi_object atpx_arg_elements[2];
struct acpi_object_list atpx_arg;
// For the return value of ATPX
struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
status = acpi_get_handle(root_handle, "\\_SB.PCI0.P0P2.PEGP._OFF", &handle); // status = acpi_get_handle(root_handle, "\\_SB_.PCI0.OVGA.ATPX", &handle);
if (ACPI_FAILURE(status))
{
status = acpi_get_handle(root_handle, "\\_SB_.PCI0.OVGA.XTPX", &handle);
if (ACPI_FAILURE(status))
{
printk("timelinex_acpi: cannot get ACPI handle: %s\n", acpi_format_exception(status));
return -ENOSYS;
}
printk("timelinex_acpi: in discrete graphics mode\n");
return 0;
}
for (i = 0; i < 3; ++i)
{
package_elements[i].type = ACPI_TYPE_INTEGER;
package_elements[i].integer.value = 0;
}
atpx_arg.count = 0; // atpx_arg.count = 2;
atpx_arg.pointer = &atpx_arg_elements[0];
atpx_arg_elements[0].type = ACPI_TYPE_INTEGER;
atpx_arg_elements[0].integer.value = 2;
atpx_arg_elements[1].type = ACPI_TYPE_PACKAGE;
atpx_arg_elements[1].package.count = 3;
atpx_arg_elements[1].package.elements = &package_elements[0];
status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer);
if (ACPI_FAILURE(status))
{
printk("timelinex_acpi: ATPX method call failed: %s\n", acpi_format_exception(status));
return -ENOSYS;
}
kfree(buffer.pointer);
printk("timelinex_acpi: disabled the discrete graphics card\n");
return 0;
}
static void dummy(void)
{
}
module_init(kill_ati);
module_exit(dummy);
Close the file timelinex_acpi.c and create a new file with
and paste following code inside
Code:
ifneq ($(KERNELRELEASE),)
obj-m := timelinex_acpi.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) $(EXTRA_FLAGS) modules
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) $(EXTRA_FLAGS) clean
endif
save and close the Makefile. Now you have to type following:
Code:
make
sudo cp timelinex_acpi.ko /lib/modules/`uname -r`/kernel/
sudo depmod
echo timelinex_acpi | sudo tee -a /etc/modules > /dev/null
done. Deny Radeon module to start with
Code:
sudo gedit /etc/modprobe.d/blacklist.conf
and add following string at the end
After reboot your Radeon is deactivated.
Now you can install TLP.
Code:
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp
Start tlp with
Code:
sudo tlp bat
sudo tlp start
Now you should have an energy consumption between 10W and 12W in idle.
Bookmarks