Wow, looks promising! I'll take a go at it. Am I right that I have to follow this guide http://www.howtoforge.com/kernel_compilation_ubuntu?&?
Or how exactly do I apply the patch? Thanks in advance!
Printable View
Wow, looks promising! I'll take a go at it. Am I right that I have to follow this guide http://www.howtoforge.com/kernel_compilation_ubuntu?&?
Or how exactly do I apply the patch? Thanks in advance!
I have Acer Aspire 5745G.
I installed the new kernel 2.6.35-6.
Problem 2:AC Adapter Status always showed as plugged in/Battery status not available - present:(
Problem 5: Wifi works but it's disabled at logon - fixed.
Problem 6: Fn+F3 disable Wifi but doesn't re enable it - fixed.
Hi,
I'm considering buying an Acer TimelineX 4820TG or 5820TG (The hardware seem to be be the same, just bigger screen). My other option is a Samsung R580 (core i5-430M and Nvidia 330M). Can anyone with an acer 4820/5820TG give me some advice:
1. I cannot tell from this thread if all issues with linux/ubuntu have been solved. Can anyone summarize what works or doesn't work with the latest ubuntu? Specifically does switching graphic card work (rufferson?) and sleep/suspend?
2. Do you recommend this laptop in general? Does it have any issues I should be aware of?
I would appreciate any feedback.
Thanks
Yes, confirming it is working for 2.6.34 (manually applied due to different line numbers)
detecting AC state (plugging off ac cord)
and battery statusCode:ruff@BOX:~$ acpitool -a
AC adapter : on-line
ruff@BOX:~$ acpitool -a
AC adapter : off-line
ruff@BOX:~$ acpitool -a
AC adapter : on-line
ruff@BOX:~$
And yes, i'm running on intel kernel/Xorg driversCode:ruff@BOX:~$ acpitool -B
Battery #1 : present
Remaining capacity : 8380 mAh, 100.0%
Design capacity : 9000 mAh
Last full capacity : 8380 mAh, 93.11% of design capacity
Capacity loss : 6.889%
Present rate : 0 mA
Charging state : charged
Battery type : rechargeable, 02A7
Model number : 32 mAh
Serial number : AS10E7E
ruff@BOX:~$
I can provide deb packages for kernel 2.6.34 with patch applied built for (my) 4820TGCode:ruff@BOX:~$ grep DRI /var/log/Xorg.0.log
(II) Loading extension XFree86-DRI
(II) Loading extension DRI2
(II) intel(0): [DRI2] Setup complete
(II) intel(0): direct rendering: DRI2 Enabled
ruff@BOX:~$
Hi,
I'm new to linux/ubuntu. Could you explain (or link a page with some tutorial) how to apply that patch manually or how to modify it so that it works? I'm going to compile the 2.6.34 kernel, but that patch can't be installed, because of the line-numbers you mentioned.
Thank you!
And here is battery drain with default settings (ATI on, intel active)
and after switching off ATI cardCode:ruff@BOX:/usr/src/linux-2.6.34$ acpitool -B
Battery #1 : present
Remaining capacity : 8236 mAh, 98.28%, 03:15:33
Design capacity : 9000 mAh
Last full capacity : 8380 mAh, 93.11% of design capacity
Capacity loss : 6.889%
Present rate : 2527 mA
Charging state : discharging
Battery type : rechargeable, 02A7
Model number : 32 mAh
Serial number : AS10E7E
ruff@BOX:/usr/src/linux-2.6.34$ cat /sys/kernel/debug/vgaswitcheroo/switch
0: :Pwr:0000:01:00.0
1:+:Pwr:0000:00:02.0
ruff@BOX:/usr/src/linux-2.6.34$
Code:root@BOX:/usr/src/linux-2.6.34# echo OFF >/sys/kernel/debug/vgaswitcheroo/switch
root@BOX:/usr/src/linux-2.6.34#
root@BOX:/usr/src/linux-2.6.34# acpitool -B
Battery #1 : present
Remaining capacity : 8176 mAh, 97.57%, 05:16:29
Design capacity : 9000 mAh
Last full capacity : 8380 mAh, 93.11% of design capacity
Capacity loss : 6.889%
Present rate : 1550 mA
Charging state : discharging
Battery type : rechargeable, 02A7
Model number : 32 mAh
Serial number : AS10E7E
root@BOX:/usr/src/linux-2.6.34# cat /sys/kernel/debug/vgaswitcheroo/switch
0: :Off:0000:01:00.0
1:+:Pwr:0000:00:02.0
root@BOX:/usr/src/linux-2.6.34#
patch for 2.6.34
Code:--- drivers/acpi/ec.c.orig 2010-05-16 23:17:36.000000000 +0200
+++ drivers/acpi/ec.c 2010-07-07 08:19:51.222523203 +0200
@@ -854,6 +854,14 @@
{
struct acpi_ec *ec = NULL;
int ret;
+ acpi_status status;
+ union acpi_object arg_objs[] = {
+ {ACPI_TYPE_INTEGER},
+ {ACPI_TYPE_INTEGER}
+ };
+ struct acpi_object_list args = { 2, arg_objs };
+ arg_objs[0].integer.value = 3;
+ arg_objs[1].integer.value = 1;
strcpy(acpi_device_name(device), ACPI_EC_DEVICE_NAME);
strcpy(acpi_device_class(device), ACPI_EC_CLASS);
@@ -884,6 +892,10 @@
if (!first_ec)
first_ec = ec;
device->driver_data = ec;
+ status = acpi_evaluate_object (ec->handle, "_REG", &args, NULL);
+ if (ACPI_FAILURE(status)){
+ printk (KERN_INFO "@@@@@@@@@@@@@ _REG\n");
+ }
acpi_ec_add_fs(device);
pr_info(PREFIX "GPE = 0x%lx, I/O: command/status = 0x%lx, data = 0x%lx\n",
ec->gpe, ec->command_addr, ec->data_addr);
Here are packed deb files - just install with dpkg -i <file.deb> and it should work. I guess
* linux-headers-2.6.34-aspire-4820tg_1_amd64.deb
* linux-image-2.6.34-aspire-4820tg_1_amd64.deb
* linux-source-2.6.34-aspire-4820tg_1_all.deb
You only need image file by default, if you have some restricted-modules or just for compling some other 3d party mods you also need headers. And if you want to build kernel by your own - you need only source.
PS: kernel has ext4 as built-in and ext2 and ext3 as modules, so if you have boot/root in other than ext4 - it won't work without initrd
@rufferson: I have problems at shutdown with your kernel packages. Does it work fine for you and others?
On a more positive note, I reported this bug earlier on Launchpad as https://bugs.edge.launchpad.net/linux/+bug/578894, and yesterday, after finding this thread, I mentioned the existing patch in a bug comment.
As a result, a kernel developer is now looking into this. The bug has a link to patched kernel packages to test. I invite you all to try them out and report back on the mentioned bug.
Cheers!
@tawmas: yes, it works fine for me, haven't noticed any issue with reboot or shutdown. What is the problem? Does it hang or panic? Maybe try to remove radeon driver before shutdown, or fglrx if you have it... bcz i'm using patched version of fglrx with switcheroo support (it doesn't work yet actually, just injected pieces of switcheroo code from radeon driver to turn the card off)