PDA

View Full Version : [ubuntu] Acer Aspire 4820TG TimelineX Thread



Pages : [1] 2

Amivit
May 27th, 2010, 11:10 PM
My Problems and Solutions so far for the Acer Aspire TimelineX 4820TG running Ubuntu 10.04 (32-bit).
I created this thread because this laptop is very new, but I see high potential in it and think more and more user will show up with the 4820TG aswell. Please share your solutions/problems and feel free to help me try solving any of these problems.
I am very new to linux and would love to start using it for real, but until I solve these problems I'm unfortunately going to keep on using Windows in my dual-boot setup.

Installation:Smooth!
Problem 1:Ethernet not working
Solution:
Download driver, specifically "AR81Family Linux Driver" from http://partner.atheros.com/Drivers.aspx.

tar zxvf AR81Family-Linux-v1.0.1.9.tar.gz
sudo su
apt-get install build-essential
apt-get install linux-generic-header
make install
modprobe atl1e

Problem 2:AC Adapter Status always showed as plugged in/Battery status not available
Solution:
???
Problem 3: Power consumption way higher than necessary
Because this laptop has switchable graphics, and I am only interested in using the low-power intel onboard and not the ATI 5470. Can't find out how to only use the intel and deactivate the ATI. Not possible through BIOS, only possible to deactivate the Intel to only use the ATI :( Getting 2 hours instead of the promised 5-8 hours.
Solution:
???

giova.86
May 28th, 2010, 10:48 AM
Hy I have the same notebook. I had already resolve the problem of Ethernet card. I don't know how to fix the battery problem, but I can help you with this:

Problem 4: Multitouch

1) create a file named .touchpad.sh in your home
2) open the file and copy these line into it:


#!/bin/sh

sleep 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8

The sleep time is necessary.
3) make the file executable with

chmod u+x ./.touchpad.sh
4) add the file file in autostart application: system->preference->autostart application

Amivit
May 28th, 2010, 11:51 AM
giova.86, awesome! I didn't even realize it wasen't working as I didn't even know the laptop had that feature. I testet it in Windows and it worked. After applying your fix it worked in Ubuntu aswell! :) One step closer to being able to use Ubuntu fulltime :b

Keep it coming people! One of the things I admire with the Linux community, everyone being able to help eachother ^^

jeffysg
May 30th, 2010, 02:59 PM
any 4820TG users got their wifi working?:o

Amivit
May 30th, 2010, 03:38 PM
any 4820TG users got their wifi working?:o

Mine worked by default. Even injection with aircrack :O
What does your lspci say?

jeffysg
May 31st, 2010, 09:56 AM
I've requested for help in this thread as well.
http://ubuntuforums.org/showthread.php?p=9368364#post9368364
(http://ubuntuforums.org/showthread.php?p=9368364#post9368364)



00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5600 Series]
01:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon HD 5600 Series]
02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
03:00.0 Network controller: Intel Corporation WiFi Link 6000 Series (rev 35)
7f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
7f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
7f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
7f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
7f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
7f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

jeffysg
May 31st, 2010, 12:50 PM
bump!](*,)

jeffysg
June 1st, 2010, 02:18 PM
bump!

jeffysg
June 2nd, 2010, 03:56 PM
bump bump bump!

rufferson
June 9th, 2010, 10:24 AM
Problem 3: Power consumption way higher than necessary
Because this laptop has switchable graphics, and I am only interested in using the low-power intel onboard and not the ATI 5470. Can't find out how to only use the intel and deactivate the ATI. Not possible through BIOS, only possible to deactivate the Intel to only use the ATI :( Getting 2 hours instead of the promised 5-8 hours.
Solution:
???

You can check http://asusm51ta-with-linux.blogspot.com/ for switchable graphic solution example.
Kernel >=2.6.34 (containing switcheroo) is available via ppa - f.i. http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc7-lucid/ (http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/v2.6.34-rc7-lucid/)

Amivit
June 11th, 2010, 06:53 PM
bump, would love help finding a solution to my 2 unsolved issues :confused:

marm0tte
June 11th, 2010, 07:41 PM
Hello all and first of all, sorry for my French's bad English :)


I join this post because, I've a 4820TG too and of course the same problems :(


Problem 1:Ethernet not working

Thanks Amivit, my Ethernet card works like a charm now ;)
I've used the following commands :


sudo apt-get install build-essential
### Download the linux driver AR81Family-Linux-v1.0.1.9.tar.gz
cd ~/Downloads
mkdir AR81Family-Linux-v1.0.1.9
mv AR81Family-Linux-v1.0.1.9.tar.gz AR81Family-Linux-v1.0.1.9
cd AR81Family-Linux-v1.0.1.9
tar xvzf AR81Family-Linux-v1.0.1.9.tar.gz
cd src
make
sudo make install
sudo modprobe atl1e
Problem 2:AC Adapter Status always showed as plugged in/Battery status not available

I'm working on it. It seems that this is the most complicated problem, and it will be hard to solve.

I've upgraded the BIOS from v1.02 to 1.04_A_A but it doesn't solved the problem ...
This problem seems to came from the DSDT in the BIOS/Setup of this ACER laptop because it's buggy.

So, I've extracted the DSDT from the BIOS and recompiled it and here is the result :


~/Downloads/acpica-unix-20100528/tools/acpixtract$ ../../compiler/iasl -tc DSDT.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20100528 [Jun 11 2010]
Copyright (c) 2000 - 2010 Intel Corporation
Supports ACPI Specification Revision 4.0a

DSDT.dsl 2545: 0x00000000, // Length
Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags

DSDT.dsl 2552: 0x00000000, // Length
Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags

DSDT.dsl 5231: Method (_Q0E, 0, NotSerialized)
Warning 1088 - ^ Not all control paths return a value (_Q0E)

DSDT.dsl 6596: Name (_T_0, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_0)

DSDT.dsl 6600: Name (_T_1, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_1)

DSDT.dsl 6659: Name (_T_0, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_0)

DSDT.dsl 6663: Name (_T_1, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_1)

DSDT.dsl 6831: Name (_T_0, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_0)

DSDT.dsl 6835: Name (_T_1, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_1)

DSDT.dsl 6894: Name (_T_0, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_0)

DSDT.dsl 6898: Name (_T_1, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_1)

DSDT.dsl 7777: Name (_T_0, Zero)
Remark 5111 - ^ Use of compiler reserved name (_T_0)

DSDT.dsl 7870: Name (_T_0, Zero)
Remark 5111 - ^ Use of compiler reserved name (_T_0)

DSDT.dsl 7874: Name (_T_1, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_1)

DSDT.dsl 7941: Name (_T_2, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_2)

DSDT.dsl 8008: Method (OEMN, 0, NotSerialized)
Warning 1088 - ^ Not all control paths return a value (OEMN)

DSDT.dsl 8105: Name (_T_0, Zero)
Remark 5111 - ^ Use of compiler reserved name (_T_0)

DSDT.dsl 9124: Name (_T_0, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_0)

DSDT.dsl 9152: Name (_T_1, Zero)
Remark 5111 - Use of compiler reserved name ^ (_T_1)

DSDT.dsl 9182: Name (_T_0, Zero)
Remark 5111 - ^ Use of compiler reserved name (_T_0)

DSDT.dsl 9248: Method (_WED, 1, NotSerialized)
Warning 1088 - ^ Not all control paths return a value (_WED)

DSDT.dsl 9248: Method (_WED, 1, NotSerialized)
Warning 1081 - ^ Reserved method must return a value (Integer/String/Buffer required for _WED)

DSDT.dsl 9254: Return (OEMN ())
Warning 1093 - ^ Called method may not always return a value

DSDT.dsl 9399: Method (WMBH, 3, NotSerialized)
Warning 1088 - ^ Not all control paths return a value (WMBH)

DSDT.dsl 9456: Method (WMBI, 3, NotSerialized)
Warning 1088 - ^ Not all control paths return a value (WMBI)

DSDT.dsl 9518: Method (WMBJ, 3, NotSerialized)
Warning 1088 - ^ Not all control paths return a value (WMBJ)

DSDT.dsl 9616: Name (_T_0, Zero)
Remark 5111 - ^ Use of compiler reserved name (_T_0)

DSDT.dsl 9661: Name (_T_0, Zero)
Remark 5111 - ^ Use of compiler reserved name (_T_0)

ASL Input: DSDT.dsl - 12143 lines, 396315 bytes, 5129 keywords
Compilation complete. 2 Errors, 8 Warnings, 18 Remarks, 6 Optimizations
It seems that the acer developers had compile the dsdt with errors and warnings. Windows get ride of it because it accepts bugs in DSDT but the Linux kernel ignore it !


I've tried to solved the 2 errors but I'm blocked with the warnings ...
I need help from a ASL (language used by to develop DSDT) guru

Maybe the 2 errors solved are sufficient to make working the battery status ???
I will test it soon.


Problem 3: Power consumption way higher than necessary

Linked to the 2nd problem (DSDT / ACPI problems)
I will test the rufferson proposition


Problem 4: Multitouch

Thanks giova.86, it works.


Problem 5: Wifi works but it's disabled at logon

To solve this :

sudo aptitude install wicd
sudo aptitude remove network-manager network-manager-gnome
sudo reboot
## Open wicd, under your wifi network name check the box "Connect automatically to this network" and join your wifi network.
Problem 6: Fn+F3 disable Wifi but doesn't re enable it

Do not use this key combination ???
Solve the ACPI DSDT problem ???


Problem 7: Sometime the touchpad make mouse crazy ...

Go into "System" / "Preferences" / "Mouse"
Check the box "Disable touch-pad while typing on the keyboard"
Unckeck "Activate Mouse Clicks with the touch-pad"
Uncheck "Activate the horizontal scrolling"



Is anyone have test the webcam, the jack headphone and the sound card input microphone ???

rufferson
June 14th, 2010, 11:10 AM
Hi marm0tte, thanks for a nice follow-up. I have a question however in view of

Problem 6: Fn+F3 disable Wifi but doesn't re enable it

Do not use this key combination ???
Solve the ACPI DSDT problem ???


It does enable it actually, but it doesn't send any kind of acpi/hal/udev/dbus notification/event so you need to re-enable it manually after enabling via Fn - executing f.i. ifdown wlan0;ifup wlan0;

I don't use network manager but have configured wifi in system scripts (/etc/network/interfaces + /etc/wpa.conf) and wifi works on boot. I guess it is the same consequence of acpi initialisation or missing event so software relying on that part is missing its turn.

My question is - how to enable Bluetooth adapter under linux? Fn+F3 toggles WiFi interface only, and BT is not seen neither by me witn lspci/lsusb nor by bluetoothd/hciconfig.
Moreover, sometimes (actually once so far) after booting from Linux to Windows even Win can't see BT adapter any more and Fn+F3 switches WiFi only as well. Power-cycling returned BT back in Win, but Linux ignores it persistently.

There are also some useful links here: https://help.ubuntu.com/community/AspireTimeline

giova.86
June 15th, 2010, 07:20 AM
Problem 8: integrated microphone
If you have some problems with the integrated microphone, to solve it you have to update the alsamixer to version 1.0.23. And if you need a guide, look this: http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/

marm0tte
June 16th, 2010, 12:25 AM
Giova.86,

alsamixer is in version 1.0.22 on my laptop and the microphone jack and webcam inputs work.
Maybe because I've upgrade the bios/setup from v1.02 to v1.04 and also installed the ubuntu updates


Thanks rufferson, you're right, ifup will be the best and quickest way to re-enable wifi after the Fn+F3 combination, lol
But anyway I like the command line so it will rocks ;)

Otherwise, for the BT question, do you mean that you have bluetooth integrated in your laptop ? If yes witch laptop version do you have ?


Talking about the vgaswitchero, i've try to recompil my kernel but compiler crash after 1 hour, I thought I have uncheck to many modules in the make menuconfig :lolflag: I will try again this week end.
Do you know how to integrate vgaswitcheroo module without recompiling the kernel and using the ppa ubuntu kernel deb files ?


For the DSDT problem, I have debug 2 errors but again 18 warnings and cannot found the solution to debug it. So I've inject the DSDT.aml file into my kernel 2.6.34 and ... It doesn't solve the battery detection problem :( but the Fn+F3 works well and it seems faster. Also the dmesg show less ACPI errors.
I also attach the DSDT for those who want to test it.
Here is a post explaining how to inject it into the kernel :
http://ubuntuforums.org/showthread.php?t=1036051


Is someone can know a ASL / DSDT / ACPI guru who can help me ?

rufferson
June 16th, 2010, 06:38 AM
Yes, I mean integrated BT BCM92046 into 4820TG-436G64Mn. Under windows pressing Fn+F3 switches wireless adapters in following order: WiFi on, WiFi + BT on, WiFi + BT off. I.e. you can have either wifi + bt or wifi only (but not bt only).
Under linux i see that Fn switches wifi only (in output of iwconfig, after pressing Fn+F3 TX Power becomes off).
The same behaviour i faced once after booting to win from lin - Fn was toggling wifi from off to on, skipping that intermediate state with BT.
As I understand, when BT is switched off, it is disconnected from USB bus, so one can never see it in list of devices, but there should be some way to switch it on - i guess some kind of acpi message or register switching - not quite familliar with that stuff yet %)

BTW, just fired up kopete and realised my webcam works like a charm without any additional chanting.
PS. My laptop had bios 1.06 before I "upgraded" it to 1.04 %) I thought updater will at least ask me if i.m sure to replace bios or some, but it immediately started flashing, so no way back %)
But anyway, iasl coredumps on attempt to disassemble dsdt file


root@BOX:~# iasl -d dsdt.dat

Intel ACPI Component Architecture
AML Disassembler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file dsdt.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
...<snip>
Parsing completed

Found 8 external control methods, reparsing with new information
Segmentation fault
root@BOX:~#


There is a bug filed for AC Adapter https://bugs.launchpad.net/ubuntu/+source/linux/+bug/578894
And this looks pretty similar http://bugzilla.kernel.org/show_bug.cgi?id=14233

rufferson
June 16th, 2010, 12:28 PM
As for bluetooth - seems here it is
root@BOX:~# rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

under name acer-wireless soft blocked, though i cannot unblock it (rfkill unblock does nothing) it also listed under
root@BOX:~# cat /sys/class/rfkill/rfkill0/uevent
RFKILL_NAME=acer-wireless
RFKILL_TYPE=wlan
RFKILL_STATE=0
echo 1 > state does nothing as well. Strange thing why it has type wlan instead of bluetooth

Snake231088
June 18th, 2010, 10:44 AM
Hi! I have Acer Aspire 5745G and i have the same problem.
I recompiled my DSDT table, but the kernel custom doesn't work!
I will try in this day.

Snake231088
June 18th, 2010, 01:23 PM
I have recompiled the kernel with a dsdt fix! But i have the same problem!

rufferson
June 20th, 2010, 10:09 AM
So far I've managed to disassemble DSDT under windows with MS ASL and iASL(win version) - both produced sources with errors which coukd not be compiled back


c:\lin>asl dsdt.ASL
Microsoft ACPI Source Language Assembler Version 4.0.0NT [Aug 28 2009, 18:36:36]

Copyright (c) 1996,2009 Microsoft Corporation
Compliant with the ACPI 4.0 Specification

dsdt.ASL:

2470: If(CondRefOf(HDOS, ))
^***
dsdt.ASL(2470): error: expecting argument type "SuperName"

and


c:\lin>iasl dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20100528 [May 28 2010]
Copyright (c) 2000 - 2010 Intel Corporation
Supports ACPI Specification Revision 4.0a

dsdt.dsl 2545: 0x00000000, // Length
Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags

dsdt.dsl 2552: 0x00000000, // Length
Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags

marm0tte
June 20th, 2010, 12:03 PM
Hello,


I'd the same problems , 2 errors , 18 warnings.


2 x Error 4122 at line 2545 and 2552 :

DSDT.dsl 2545: 0x00000000, // Length
Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags

For the 4122 error, this tread give me the solution :
http://www.insanelymac.com/forum/lofiversion/index.php/t189272-100.html



Buggy Code :

DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00000000, // Range Minimum
0xFEAFFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00000000, // Length
,, , AddressRangeMemory, TypeStatic)


Lenght must be the result of this formula :
Max Range - Min Range + 1

So at line 2545, Length will be 0xFEAFFFFF - 0x00000000 + 1 = 0xFEB00000


Arranged Code (maybe not the best solution) :

DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00000000, // Range Minimum
0xFEAFFFFF, // Range Maximum
0x00000000, // Translation Offset
0xFEB00000, // Length
,, , AddressRangeMemory, TypeStatic)


For the line 2552, I've put Lenght = 0xFED44FFF - 0xFED40000 + 1 = 0x00005000



Recompil and you will have 0 errors but 18 warnings !


For the warnings I think we need help of someone experimented like in this tread :
http://ubuntuforums.org/showthread.php?t=1036051

rufferson
June 23rd, 2010, 08:18 AM
This morning my Win7 hanged during reboot so I've power-cycled into linux. And guess what - bluetooth is working and toggling by Fn just the same way as in win. I wonder why haven't I tryed it earlier. probably because rebooting win itself doesn't break BT. Might be they have different init vectors so reinit of BT fails, don't know. Thus, still pending problem is AC/BAT info reporting by acpi.

Green Mars
June 23rd, 2010, 09:18 AM
I've got the 4820T and my wireless is turned off by default. Fn-F3 doesn't seem to do anything. Is there any other way I can enable it manually?

rufferson
June 23rd, 2010, 05:51 PM
Check with iwconfig if it is recognized by OS. If you have it there - check what Tx-power is showing, if Off - press Fn+F3 (Tx-Power should change in several seconds to some dBm) and start setting up your wireless either manually or via network manager

rufferson
June 24th, 2010, 08:37 PM
So I've downloaded and built vanilla 2.6.34 with switcheroo enabled - now i'm able to boot normally into switchable mode %) Xorg is not working yet since I haven't rebuilt fglrx under new kernel yet, neither configured intel drivers. Bad news now come again form my bluetooth - after I configured it in linux its radio is not working any more. Probably coincidence - but it doesn't work neither in win nor in lin. Adapter reports proper working, is seen by OS without any problem, but adapter itself cannot see any bluetooth device now. Even my mobile phone sees my bt mouse, but laptop doesn't see neither mouse, nor phone, nothing. I bought bt mouse to avoid using usb dongle, but seems i'll be obliged to use usb dongle anyway, bt or mouse's %(
I also compiled into kernel DSDT file, don't know whether because of this or just bcz of new kernel - but AC is seen now. Ethernet adapter works as well without additional drivers loading.


root@BOX:~# acpitool
Battery #1 : charged, 0.00%
AC adapter : on-line
Thermal zone 1 : ok, 40 C
root@BOX:/usr/src/linux-2.6.34# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full

rufferson
June 25th, 2010, 12:27 PM
Also after loading radeon driver i see switch is enabled


root@BOX:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0:+:Pwr:0000:00:02.0
1: :Pwr:0000:01:00.0
root@BOX:~#

switch showing currently active card is onboard (PCI:0:0:2) Intel card. And switching:


root@BOX:~# echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
root@BOX:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0: :Off:0000:00:02.0
1:+:Pwr:0000:01:00.0
root@BOX:~# dmesg | tail -2
[17815.585947] fbcon: Remapping primary device, fb1, to tty 1-63
[17816.075748] i915: switched off
root@BOX:~# echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
root@BOX:~# dmesg | tail -2
[17894.401107] fbcon: Remapping primary device, fb0, to tty 1-63
[17894.401262] radeon: switched off
root@BOX:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0:+:Pwr:0000:00:02.0
1: :Off:0000:01:00.0
root@BOX:~#

rufferson
June 26th, 2010, 11:21 AM
wow, my BT started to work again, now only under linux. under win still sees nothing. It drives me crazy %)
Now I can proceed with script to replace radeon drivers with catalyst after switching to ATI card %)
... after ati release drivers for 34th kernel %(

Snake231088
June 30th, 2010, 09:17 AM
See: https://bugzilla.kernel.org/show_bug.cgi?id=16218

Amivit
July 1st, 2010, 09:34 PM
Also after loading radeon driver i see switch is enabled

Wow, does this mean it is possible to use the low-power intel gpu instead of the ati? :D If so, maybe you could put together a guide on how a linux-noob would manage this ^^
2400 views already :O, seems we are not alone, so a nice guide would most likely be greatly appreciated by many others :)

Snake231088
July 3rd, 2010, 09:12 AM
The battery state is OK!!!!
The ACPI is recognized by Ubuntu with the patch here: http://wiki.archlinux.org/index.php/Acer_TimelineX#Issues.
This patch is for kernel 2.6.33!

Amivit
July 3rd, 2010, 02:35 PM
The battery state is OK!!!!
The ACPI is recognized by Ubuntu with the patch here: http://wiki.archlinux.org/index.php/Acer_TimelineX#Issues.
This patch is for kernel 2.6.33!

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?&? (http://www.howtoforge.com/kernel_compilation_ubuntu?&)
Or how exactly do I apply the patch? Thanks in advance!

DisDis
July 5th, 2010, 07:54 AM
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.

dsmex
July 7th, 2010, 12:57 AM
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

rufferson
July 7th, 2010, 09:19 AM
The battery state is OK!!!!
The ACPI is recognized by Ubuntu with the patch here: http://wiki.archlinux.org/index.php/Acer_TimelineX#Issues.
This patch is for kernel 2.6.33!

Yes, confirming it is working for 2.6.34 (manually applied due to different line numbers)
detecting AC state (plugging off ac cord)


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 battery status


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:~$


And yes, i'm running on intel kernel/Xorg drivers


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:~$

I can provide deb packages for kernel 2.6.34 with patch applied built for (my) 4820TG

Janiskeisari
July 7th, 2010, 10:57 AM
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!

rufferson
July 7th, 2010, 11:36 AM
And here is battery drain with default settings (ATI on, intel active)


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$

and after switching off ATI card


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#

rufferson
July 7th, 2010, 11:42 AM
patch for 2.6.34


--- 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);

rufferson
July 7th, 2010, 12:40 PM
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 (http://photo.uamailpost.com/linux-headers-2.6.34-aspire-4820tg_1_amd64.deb)
* linux-image-2.6.34-aspire-4820tg_1_amd64.deb (http://photo.uamailpost.com/linux-image-2.6.34-aspire-4820tg_1_amd64.deb)
* linux-source-2.6.34-aspire-4820tg_1_all.deb (http://photo.uamailpost.com/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

tawmas
July 9th, 2010, 09:39 AM
@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!

rufferson
July 10th, 2010, 07:39 AM
@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)

tawmas
July 10th, 2010, 09:22 AM
On shutdown, I see error messages scrolling away too fast to read them (I think it's the same one repeated forever), after which the computer reboots.

Right now I'm running on the patched 2.6.32 packages linked from the bug to help test them.

Thank you!

rufferson
July 10th, 2010, 03:54 PM
Ah, yes, I've mentioned that issue to switcheroo maillist
Is it something like this?


[ 3430.695445] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 1sec aborting
[ 3430.697491] [drm:atom_execute_table_locked] *ERROR* atombios stuck executing CAE2 (len 62, WS 0, PS 0) @ 0xCAFE

If yes - it's not an issue, just slows down a little things when second card is powered off %) You can add to shootdown/reboot sequence script command to pwron second card (echo ON > /sys/kernel/...) - it should resolve the issue with this flood.

tawmas
July 11th, 2010, 08:24 AM
Ah, yes, I've mentioned that issue to switcheroo maillist
Is it something like this?

Oh, yes, it looks like that indeed.


If yes - it's not an issue, just slows down a little things when second card is powered off %) You can add to shootdown/reboot sequence script command to pwron second card (echo ON > /sys/kernel/...) - it should resolve the issue with this flood.

Hum... Here the system reboots instead of shutting down, and it also happened before I learned how to power off the second card. I do consider this to be an issue.

I will try to power on the second card before shutdown and report back.

rufferson
July 11th, 2010, 01:12 PM
By "not an issue" I mean there is no harm in this message except time consuming, it will flood your console with this crap for about a minute (depends on speed of tty) and then continue.
Try following sequence - ensure discrete card is powered (check output of /sys/... should be Pwr on both cards, if not - make echo ON > /sys/...) then remove radeon driver (rmmod radeon) and try to shootdown/reboot or wherever you saw those messages.

mupi_foerster
July 11th, 2010, 03:21 PM
Nice laptop indeed!

Did not even bother to look at the preinstalled W7 on it, instead installed Lucid (fully encrypted, with the alternate installer)

Then I did encounter some problems, some of which I was able to solve (some solutions in this thread), others still open. I summarise (might be helpful for others):

a) No network card detected

Solved with http://ubuntuforums.org/showthread.php?t=1476231

In short:
Downloaded driver from http://partner.atheros.com/Download.aspx?id=125 , transferred tar-file to laptop with usb-stick, then followed instructions in above thread, especially answer #6

After this, Ethernet worked, and I was able to download updates via Update Manager. This included a restricted driver for the wireless.

b) Wireless does not work with WPA

I had already troubles connecting to WPA networks on Karmic, but this was on my old laptop, which had a few hardware issues. However, same behaviour on this new laptop with lucid:
Network is displayed, I can select it, enter WPA key, however, it does not manage to connect. After a while, the password prompt appears again.

After checking a few threads, I could not find much help except a few solutions with lots of copy/pasting of commands and compilation stuff - nothing I like to do.

Nevertheless, I found an easier way:
In Synaptic, look for the package "wpasupplicant", which should already be installed, and mark it for reinstallation. Apply, and afterwards, wireless with WPA worked like a charm.

Caveat: Fn+F3 does NOT activate/deactivate my wireless - only bluetooth comes up with it. And I have to manually enable wireless after every start up. I can live with that.

c) Inbuilt microphone does not work

I noticed this when testing skype. However, the inbuilt mic did not work as well when using Sound Recorder. Went to Synaptic and installed linux-backports-modules-alsa-lucid-generic
Now Microphone works with Sound Recorder, however not yet with Skype - will work on that.

d) FGLRX graphic driver - blank screen after booting

When I enabled the FGLRX proprietary graphics driver, I ended up with a blank screen after reboot. I did not manage to repair this and had to reinstall (I'm not a Linux professional...). Power consumption is low with the inbuilt card, so I'm quite happy with the standard card. I did not try to find a solution for this, as I am not keen on reinstalling again. Still sad for a nice piece of hardware not used.

d) Battery state and running on battery is not recognised at all

This is the most annoying so far - laptop is running for about 6 hours, then shuts down all of a sudden. Ubuntu is not aware how much power is left, it does not even recognise it is running on battery.
Still looking for an easy to follow, low maintenance solution to this! Help appreciated.

Amivit
July 11th, 2010, 03:36 PM
Thanks for contributing :)


Still looking for an easy to follow, low maintenance solution to this! Help appreciated.

I'm still waiting like a little child aswell ^^

marm0tte
July 11th, 2010, 04:27 PM
Hello,

@all :
If you have a problems with your 4820 under Ubuntu lucid x86_64, I invite you to test the rufferson kernel compiled package.

@ruffersion :
Thanks a lot for your kernel 2.6.34 x6_64 package !
Now etherithing works like a charm;) (ehernet, wifi, Fn+F3, microphone, batery state ...)

Just one thing remains : The two gaphics card are reconize but I can't switch them !


# cat /sys/kernel/debug/vgaswitcheroo/switch
0:+:Pwr:0000:00:02.0
1: :Pwr:0000:01:00.0


echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch


# cat /sys/kernel/debug/vgaswitcheroo/switch
0:+:Pwr:0000:00:02.0
1: :Pwr:0000:01:00.0

rufferson
July 12th, 2010, 06:33 AM
Actually there is no sense to switch to ATI card since a) radeon/radeonhd kernel/xorg drivers are not supporting 5xxx series yet, b) fglrx does not support hybrid graphic yet. But for me switching worked fine, fbcon was switching to radeon (as in output I posted several posts above).
You have Xorg running on intel I presume thus having "delayed switch" - i.e. as soon as intel card will become unused it will switch to second card. Check dmesg.
Does it switch power of second card? Try echo OFF and see how status is changed.

acelan
July 13th, 2010, 02:59 AM
Rufferson,

I sent you a priv. message about the kernel patch for the AC adapter status and battery charge status (LP #578894) (I'm not familiar with this forum, so I'm not sure if the msg is sent correctly). I would like to know the status of the patch, please reply me if you have time, thanks.

Treviņo
July 13th, 2010, 03:45 AM
Hello, you want I've compiled also the 2.6.35-rc7 ubuntu maverik kernel with the ACPI workaround patch and it's available here:
http://download.tuxfamily.org/3v1deb/acer-timelinex/
With this kernel you could also switch / turn-off the video card using the switcheroo sys-node (more here (http://asusm51ta-with-linux.blogspot.com/)) reducing a lot the power usage.

It should allow you to use also the internal microphone... Otherwise update alsa to 1.0.23 (you can use this ppa: https://launchpad.net/~ricotz/+archive/unstable (https://launchpad.net/%7Ericotz/+archive/unstable)).

To use the internal microphone with Skype you need to uncheck the flag to "Let Skype adjust my sound device settings" and use alsamixer (or pavucontrol) to reduce the volume of a channel: run it, go to Capture view pressing tab, select the Capture bar and press "y" until you'll have reduced completely the left channel. After that, the pulse audio input volume meter will move and Skype will record your voice (note that if you change the input volume from the pulse audio configurator, you'll loose the recording ability again).

Bye

rufferson
July 13th, 2010, 06:05 AM
@acelan: I've replied to you via mail, will resend the mail again.

Treviņo
July 14th, 2010, 03:25 AM
If you want, I've built also some TuxOnIce suspend/resume (to disk!) enabled kernels, you can grab the debs at:

ˇ linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-image-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)
ˇ linux-headers-2.6.35-7_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_all.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_all.deb)
ˇ linux-headers-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu1_amd64.deb)

The kernel should work as-is, but you can also install hibernate and tuxonice-userui packages (available in the official repositories or, more updated, in this ppa (https://edge.launchpad.net/%7Etuxonice/+archive/ppa/+packages)) for more controls over hibernate/resume process and for showing a graphic bar respectively.

RavensKrag
July 18th, 2010, 04:41 AM
First of all, I really appreciate the debs of the new kernels. Compiling a kernel is a rather time consuming process.

I read earlier in this thread that the binary drivers from ATI were not supported for the 5xxx series, but do they work? I read in another thread (http://ubuntuforums.org/showthread.php?t=1422762) that the 5650 worked just fine but there was just a watermark on the corner which said something about the card being unsupported. If you switch to the ATI card using the switch in the new kernel can you install the ATI drivers?

EDIT:
Oh, by the way, is any one else having problems ejecting the optical drive? I can't seem to get that thing open >_< Even if I change the keyboard shortcut for "eject" the drive does not open, and I can see no physical button to open the drive.

lazerradial2003
July 18th, 2010, 12:21 PM
Could anyone point me in the direction of a tutorial on how to patch a 32 bit version of the kernel using the patch provided earlier in this thread?

RavensKrag
July 18th, 2010, 03:33 PM
EDIT 2
My mistake, I wrote the wrong command >.< it has been fixed. I just left out a "<" how careless...



Once you have the kernel source, navigate to the source directory in the terminal and then type.

patch -p1 < /path/to/patch

replacing /path/to/patch with the actual path to the file.



If you need more detailed instructions, look here (http://blog.avirtualhome.com/2010/05/05/how-to-compile-a-ubuntu-lucid-kernel/) but remember to add the ubuntu kernel configuration as explained here (https://wiki.ubuntu.com/KernelTeam/GitKernelBuild).

Feel free to ask for more detailed help if my instructions were not clear. The instructions I provided were for the 2.6.30 kernel and the latest bleeding edge kernel from git, respectively, so you will have to change the part where the kernel source is downloaded to get the 2.6.34 source.

EDIT:
@lazerradial
I assume that you do not have this exact computer, because if you do I can see no reason for you to be using a 32 bit OS.

mupi_foerster
July 18th, 2010, 08:00 PM
Thanks Trevino, Skype works now as well with internal microphone!

@RavnesKrag: Why does it not make sense to use this laptop with 32bit OS? (Well, at least it is delivered with W7 32bit).

RavensKrag
July 18th, 2010, 10:18 PM
OMG, does it really come with W7 32 bit? I hope not, that would suck >.< the system has 4 gigs of ram. If the OS is 32-bit you will only be able to access 3 gigs of it. Also, it has a dual-core processor, which means the architecture (the CPU hardware) is 64 bit. Thus, it would make sense to use a 64-bit OS.

Still, on windows there are very few 64-bit programs, so the usage of a 32-bit OS kinda makes sense. However, on Linux, 64-bit programs are everywhere, and if a 64-bit version is not available and the project is open-source, you can compile your own. Even with the slight Windows issue of not having enough 64-bit programs, I believe most, if not all, 32-bit Windows apps work in 64-bit Windows.



Also, I have a question of my own. What version of the kernel was the posted patch designed for? I am attempting to patch a vanilla 2.6.34.1 from kernel.org and it is not working.

RavensKrag
July 19th, 2010, 01:27 AM
EDIT
Another note about the graphics. What graphics card do you people have? I have a ATI 5650, but it seems that some of the older Aspire 4820tg computers shipped with ATI 5470. Can anyone confirm this?




Just one thing remains : The two gaphics card are reconize but I can't switch them !


I don't know if you got this cleared up or not, but when you give that command, you have to log out before the change will take effect. A minor setback, imo.

RavensKrag
July 20th, 2010, 03:16 PM
Bump.


Sorry to triple post like this...
How many of you have fixed the battery status problem? That's probably the biggest bug imo.

Edit:
Fixed it. Apply the patch, boot the kernel with the patch, and then add acpi_osi=Linux to the GRUB command line.

Here's a step-by-step approach.
Type the following to open the grub config.

sudo gedit /etc/default/grub

Then replace

GRUB_CMDLINE_LINUX=""
with

GRUB_CMDLINE_LINUX="acpi_osi=Linux"

Update the changes to grub

sudo update-grub

Now reboot. You have to shutdown and the power on again, as the computer has to go through GRUB for the change to take effect. Thus, it may take two "reboots" to get this working.

Now, when you unplug the laptop from AC, the status will take a few seconds to update in the battery applet. However, it should work.

Edit2:
The battery applet does not work properly, or at least not consistently. Although, the correct status always shows if you run
acpi -b

lazerradial2003
July 20th, 2010, 08:26 PM
@RavensKrag - thanks for your reply, about to try it and I'll let you know. I'm running 32bit OS because I've had a few issues with 64 bit

RavensKrag
July 21st, 2010, 12:15 AM
Ah, ok. I understand. I've had quite a few problems with Flash and the like. It was magically working in Chromium on another computer, so hopefully I'll be able to replicate that. Not holding my breath though.

Hope it works for you.

ks_b
July 21st, 2010, 07:53 PM
Hi all, I am really new to ubuntu and I would like to fix battery problem. can someone give me instruction of how to fix this?

I am running kernel 2.6.32-23-generic, ubuntu 10.04 64bit
also how do i actually upgrade to newer kernel if i have to?

thanks

marincop
July 22nd, 2010, 11:28 AM
@Trevino
I use the kernel you provide , two questions

ˇ linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-image-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)
ˇ linux-headers-2.6.35-7_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_all.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_all.deb)
ˇ linux-headers-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu1_amd64.deb)

1. I can not find the switcheroo in the /sys/kernel/debug/.../vga_switcheroo file to enable the switch graphic card function.
2. Is this kernel provide both vga cards driver ? I can not change the "extra" in the "Visual Effects".

Is any procedure I need to follow ?
BTW, my timelinex 4820tg BIOS upgrade to version 1.13 , is this cause the problem ?


Albert

Treviņo
July 23rd, 2010, 10:49 AM
@Trevino
I use the kernel you provide , two questions

ˇ linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-image-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)
ˇ linux-headers-2.6.35-7_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_all.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_all.deb)
ˇ linux-headers-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu1_amd64.deb)

1. I can not find the switcheroo in the /sys/kernel/debug/.../vga_switcheroo file to enable the switch graphic card function.
This is very strange... Are you sure that you've installed it correctly? the uname -r command should give back you something like Linux <hostname> 2.6.35-7-generic #3v1ubuntu2~toi1 SMP Wed Jul 14 01:31:07 CEST 2010 x86_64 GNU/Linux
BTW the sys-node is in fact /sys/kernel/debug/vgaswitcheroo/switch !



2. Is this kernel provide both vga cards driver ? I can not change the "extra" in the "Visual Effects".
Is any procedure I need to follow ?
By default the notebook uses the integrated Intel card to run X (check /var/log/Xorg.0.log), so all the effects should be provided by the opensource intel driver... All the effects work to me (also if some plugins, like the blur one are too invasive).

I've never tried to run the flgrx driver, but it should run (maybe using the previous mentioned workaround (http://ubuntuforums.org/showpost.php?p=8230858&postcount=17))



BTW, my timelinex 4820tg BIOS upgrade to version 1.13 , is this cause the problem ?
My Aspire came with that BIOS and everything worked like I've described. I've updated also to BIOS version 1.15 (using freedos, since I've no Windows partitions in my NB) and nothing changed from the user point of view!

RavensKrag
July 23rd, 2010, 07:07 PM
@Trevino
About the pre-compiled kernel not having the switch:
I don't remember if I mentioned it in this thread already, but I had the same problem, forcing me to compile my own kernel.

@ks_b
I have posted a post in this thread previously with links to a few tutorials which show how to compile a custom kernel. Do not be afraid, it's not that bad. It just takes time to compile.

If you need step-by-step instructions, I will try to remember exactly what I did. Do not hesitate to ask.

Treviņo
July 23rd, 2010, 08:26 PM
@Trevino
About the pre-compiled kernel not having the switch:
I don't remember if I mentioned it in this thread already, but I had the same problem, forcing me to compile my own kernel.
Try to do (if you don't have the debugfs mounted at all, and so no /sys/kernel/debug sysnode):

sudo mount -t debugfs none /sys/kernel/debug

RavensKrag
July 23rd, 2010, 08:32 PM
As that was mentioned in this thread before, I had already tried it. /sys/kernel/debug was already mounted, but the vgaswitcheroo directory was not there.

It's no big deal, it's all working for me now.

marincop
July 25th, 2010, 04:27 AM
@Trevino :
Thanks your response,
I fix the problem. The root cause is
1. If we upgrade the BIOS from 1.04 to 1.13 or 1.15, we need do one thing is "Load the BIOS default value first". I lose my Bluetooth after I upgrade to 1.13. after I "Load the BIOS default value" my Bluetooth come back again.
2. the BIOS setting must be "Switch " , the vgaswitcheroo will show in the /sys/kernel/debug/.../switch

Now I meet another problem , the VGA card can not switch. Someone meet the same situation like me .
Any suggestion ?

@ All:
Thanks all you done.. :p

marincop
July 25th, 2010, 07:41 AM
@Trevino

The switcher is OK now , Just need to exit to the and login again .
Intel integrated vga work perfect, but when I with to the ATI Radeon card . It's need a driver .
So I install the driver, but failed.
I can install it on kernel 2.6.32 perfectly , but the when kernel upgrade to 2.6.35 it will cause errors.
I think it the vga card driver problem .
@All
Is anyone successfully install the flgrx on 2.6.35 kernel ? or where I can get the newest flgrx driver?

Albert

Treviņo
July 25th, 2010, 11:34 AM
@Trevino

The switcher is OK now , Just need to exit to the and login again .
Intel integrated vga work perfect, but when I with to the ATI Radeon card . It's need a driver .
So I install the driver, but failed.
I can install it on kernel 2.6.32 perfectly , but the when kernel upgrade to 2.6.35 it will cause errors.
I've never tried to run the fglrx drivers yet... I had no time for trying them. However maybe they don't support the new kernel yet (damn, closed drivers!)
However if you want use the intel card by default saving power (and temperature), you can use scripts like these: http://forum.ubuntu-it.org/index.php/topic,382092.msg3101266.html#msg3101266

marincop
July 25th, 2010, 02:56 PM
@trevino

Thanks for your big help. those information really help me to keep on in Ubuntu .

Albert

Treviņo
July 25th, 2010, 04:03 PM
Hello, I've tried to run the FGLRX drivers in the laptop (for my first time in the timelineX...).

I don't know how they work using the default ubuntu kernel, but they doesn't work (due to install/build errors) in the kernel 2.6.35 I'm using (and that I've provided).

The drivers are easy to fix by the way, and you simply have to apply this patch (http://download.tuxfamily.org/3v1deb/acer-timelinex/fglrx-8.741-linux-2.6.35-support.patch) to the ATI's installer content (or to the files in /usr/src/fglrx-*/2.6.x/) to make DKMS work including the <linux/slab.h> file (where kmalloc and kfree are now defined).

You can download fixed drivers for amd64 in my directory (http://download.tuxfamily.org/3v1deb/); they also include the remove watermark binary fix (http://ubuntuforums.org/showpost.php?p=8230858&postcount=17):
- fglrx_8.741-0ubuntu1~3v1ubuntu1_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/fglrx_8.741-0ubuntu1~3v1ubuntu1_amd64.deb)
- fglrx-amdcccle_8.741-0ubuntu1~3v1ubuntu1_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/fglrx-amdcccle_8.741-0ubuntu1~3v1ubuntu1_amd64.deb)
- fglrx-dev_8.741-0ubuntu1~3v1ubuntu1_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/fglrx-dev_8.741-0ubuntu1~3v1ubuntu1_amd64.deb)
- fglrx-modaliases_8.741-0ubuntu1~3v1ubuntu1_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/fglrx-modaliases_8.741-0ubuntu1~3v1ubuntu1_amd64.deb)

Unfortuntely these drivers work only if you're running on the "Discrete card" BIOS mode.

You have to install the deb files and then run:

sudo aticonfig --initial

If you want go back to the intel card, you need to:

sudo apt-get remove fglrx fglrx-amdcccle fglrx-dev fglrx-modaliases
sudo rm -f /etc/X11/xorg.conf /etc/X11/xorg.conf.original-0 /etc/X11/xorg.conf.fglrx* and reboot re-enabling the "Switchable" mode from BIOS.
Ah, it is not strictly needed to remove the debs at all, you can also do simply sudo update-alternatives --set gl_conf /usr/lib/mesa/ld.so.conf; sudo rm -f /etc/X11/xorg.conf /etc/X11/xorg.conf.original-0 /etc/X11/xorg.conf.fglrx*

Unfortunately with the fglrx drivers no switch on runtime is possible (it will be eventually possible using the radeon free drivers, when they will support our GFX card).

pemasu
July 26th, 2010, 03:12 PM
Trevino. linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb works fine with ubuntu lucid alternate and 5820tg.

One problem. Sudo echo OFF >/sys/kernel/debug/vgaswitcheroo/switch gives permission denied. Login as root same thing.
Mainly I would like to switch ATI HD 5660 off at startup to save my battery. Powertop shows almost 20 W saving after shutting that to 10-14 W usage.

So your vgaswitch and vgaswitcher does not do anything. I believe because of that permission denied. When I chmod 666 /sys/kernel/debug/vgaswitcheroo/switch, Sudo echo OFF >/sys/kernel/debug/vgaswitcheroo/switch works.

root@ubuntu:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0: :Off:0000:01:00.0
1:+:Pwr:0000:00:02.0
root@ubuntu:~#

Workaroud. I did put those commands to cron. It executes them 5 minutes interval and shuts ATI down 5 minutes after startup.
But I would like to have runonce solution.
I havent tested yet vgaswitch and vgaswitcher as root but because of permission denied probably they dont work as root also.
Mainly I try to use ubuntu with normal user account. Quite difficult after using Puppy Linux.

Treviņo
July 26th, 2010, 03:39 PM
Trevino. linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb works fine with ubuntu lucid alternate and 5820tg.

One problem. Sudo echo OFF >/sys/kernel/debug/vgaswitcheroo/switch gives permission denied. Login as root same thing.
Mainly I would like to switch ATI HD 5660 off at startup to save my battery. Powertop shows almost 20 W saving after shutting that to 10-14 W usage.

It doesn't work due to ubuntu security options. You can by the way run that with

sudo bash -c "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch"



So your vgaswitch and vgaswitcher does not do anything. I believe because of that permission denied. When I chmod 666 /sys/kernel/debug/vgaswitcheroo/switch, Sudo echo OFF >/sys/kernel/debug/vgaswitcheroo/switch works.
You should chmod them as "+x" simply...

pemasu
July 26th, 2010, 04:43 PM
sudo bash -c "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch"

That did it. I did put above to /etc/rc.local file and rebooted. ATI was down.

Thank you Trevino. Subshell usage to give permission for whole command was what I needed.

marincop
July 29th, 2010, 07:29 AM
@Trevino :

The ATI driver work for me , thanks for your great help !!!
:p

av.korkin
July 29th, 2010, 04:23 PM
@ Trevino: I can not solve the problem
I installed
ˇ Linux-image-2.6.35-7-generic_2.6.35-7.11 ~ lucid1.3v1ubuntu2 ~ toi2_amd64.deb
ˇ Linux-headers-2.6.35-7_2.6.35-7.11 ~ lucid1.3v1ubuntu2 ~ toi2_all.deb
ˇ Linux-headers-2.6.35-7-generic_2.6.35-7.11 ~ lucid1.3v1ubuntu2 ~ toi2_amd64.deb

But when I install virtualbox 3.2 an error occurs.

[2755.635117] vboxdrv: disagrees about version of symbol misc_deregister
[2755.635122] vboxdrv: Unknown symbol misc_deregister (err -22)
[2755.635812] vboxdrv: disagrees about version of symbol misc_register
[2755.635814] vboxdrv: Unknown symbol misc_register (err -22)
[3085.751699] vboxdrv: disagrees about version of symbol misc_deregister
[3085.751709] vboxdrv: Unknown symbol misc_deregister (err -22)
[3085.754068] vboxdrv: disagrees about version of symbol misc_register
[3085.754074] vboxdrv: Unknown symbol misc_register (err -22)

What to do?

Gilberoni
August 1st, 2010, 12:55 AM
Hi everybody,

I also bought an Acer 4820Tg and with this I wanted to get familiar with Ubuntu so I'm an absolute newbie! My apologies if I did something completely stupid.

I decided for dual boot win7/ubuntu and installed ubuntu 10.04 LTS 64bit alternate, which is the kernel (?) 2.6.32-21-generic.

Neither lan nor wlan work ... apart from the further problems with switchable graphics etc..
I followed the steps discribed in this thread as well as http://ubuntuforums.org/showthread.php?t=870123 in order to get the wlan working. However, nothing works for me.

Since I have no connection to the internet I installed build-essential and linux-headers-generic (instead of linux-generic-header, right?) from the cd as described in #4 in http://ubuntuforums.org/showthread.php?p=228601 but I got the impression they where already installed. aptitude update did essentially nothing since I have no connection. When executing aptitude install build-essential I got several errors like

Err cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100427.1)/ma
in g++4.4 4.4.3-4ubuntu5
File not found where the 'g++...' varied. Could this be the problem? If yes, what should I do?

locate alt1e.ko gives:

/lib/modules/2.6.32-21-generic/kernel/drivers/net/atl1e/atl1e.koas it should be, right?

In /etc/modules I tried both

alias eth0 atl1e
atl1e or only
atl1e.

ifconfig even shows me that eth0 has the right Mac adress but iwconfig shows that eth0 is/has (?) no wireless extension and I don't see any wireless networks. The only thing that happens is that sometimes when I changed the modules the 'No network connection' icon is substituted by speaker volume icon (only after the first reboot). :-?

I also had the idea that the wlan could probably just be switched off so after I found http://www.linuxquestions.org/questions/linux-networking-3/n00b-how-to-turn-on-wireless-ubuntu-703961/ I tried

sudo ifconfig eth0 up without any effect. Is this relevant, does it help or does it harm?

Can somebody please help me? Am I the only person who has problems with the (wired) lan? (ifconfig does not show any Mac address for wired lan connection 'lo'.) Does somebody know how to fix this so that I could at least load all the packages on the same pc instead of switching between two PCs all the time?

PS: When starting up the Ubuntu logo and the 'loading dots' have weird neon green borders. Should I be concerned?



Edit: Now I installed build-essential and linux-headers-generic by
sudo dpkg -i package.deb from a USB stick. Synaptics also shows that both packages are installed properly. To be sure I did again
sudo su
make clean
make
make install
modprobe atl1e but wlan still does not work. I also tried again the different possibilities in /etc/modules. Any ideas??

davelosm
August 1st, 2010, 07:58 PM
Hey, I'm trying to apply this patch, but I do not have a linux/drivers/ directory, and so no acpi files to patch. I can't find the ec.c file anywhere else either. Am I missing something, I'm pretty new to all this..

Any help would be great

Oh, by that i mean this patch:

--- linux/drivers/acpi/ec.c.old 2010-03-23 18:33:12.919349214 +0800
+++ linux/drivers/acpi/ec.c 2010-03-23 18:33:21.711475718 +0800
@@ -829,6 +833,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);
@@ -859,6 +871,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);

davelosm
August 1st, 2010, 10:19 PM
Ok, if you're like me, you've tried to update kernels and patches and one thing's worked and not the other.
I've just updated using the below packages, and can confirm that the following are fixed:

Battery charged/ACPI problem
Brightness problem
Suspend problem

Hope this helps, it helped me:
http://download.tuxfamily.org/3v1deb/acer-timelinex/

Credits to whoever made these

lukasw
August 8th, 2010, 12:51 PM
RavensKrag. Ejecting the optical drive with the eject button above the keyboard(or any other key) doesn't work for me neither. The only way it works is typing 'eject' in a terminal. Did you try this?

Elysius
August 9th, 2010, 11:08 AM
Ok, if you're like me, you've tried to update kernels and patches and one thing's worked and not the other.
I've just updated using the below packages, and can confirm that the following are fixed:

Battery charged/ACPI problem
Brightness problem
Suspend problem

Hope this helps, it helped me:
http://download.tuxfamily.org/3v1deb/acer-timelinex/

Credits to whoever made these

I've got the Acer 4820T laptop (without the ATI card) and I'm also having the battery/acpi problems. I'm running the default 2.6.34 kernel drivers. How can I install "TimelineX-ACPI-fix.patch" from the link above?

lukasw
August 9th, 2010, 02:08 PM
I think this patch is meant to be applied when building a new kernel. You should instead install these packages(they contain the patch):

linux-headers-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)
linux-headers-2.6.35-7_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_all.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_all.deb)
linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-image-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)

Thanks to Treviņo for building them.

lyradmil
August 9th, 2010, 04:54 PM
Hello, you want I've compiled also the 2.6.35-rc7 ubuntu maverik kernel with the ACPI workaround patch and it's available here:
http://download.tuxfamily.org/3v1deb/acer-timelinex/
With this kernel you could also switch / turn-off the video card using the switcheroo sys-node (more here (http://asusm51ta-with-linux.blogspot.com/)) reducing a lot the power usage.


Thanks Trevino for your help in setting up my 5820TG for work with Ubuntu. Pretty much everything is up, including battery which is awesome. :) However, my battery life barely lasts 2 hours running ubuntu. I read up the article you posted (http://asusm51ta-with-linux.blogspot.com/),as well as http://forum.ubuntu-it.org/index.php/topic,382092.msg3101266.html#msg3101266 and I couldn't make out what I was supposed to do. I wouldn't mind running the intel graphics at all times since it has low power consumption. Could you explain how to perform the switch functionality?

Elysius
August 9th, 2010, 05:06 PM
I think this patch is meant to be applied when building a new kernel. You should instead install these packages(they contain the patch):

linux-headers-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)
linux-headers-2.6.35-7_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_all.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-headers-2.6.35-7_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_all.deb)
linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb (http://download.tuxfamily.org/3v1deb/acer-timelinex/linux-image-2.6.35-7-generic_2.6.35-7.11%7elucid1.3v1ubuntu2%7etoi2_amd64.deb)

Thanks to Treviņo for building them.

Awesome, fixed my battery problems as well.

However I got a package problem, "the package bcmwl-kernel-source failed to install or upgrade". Does anyone no a fix for that?

Will this issue (battery) also be solved in ubuntu version 10.10, is this known by the developers?

hshan
August 10th, 2010, 12:08 AM
4820t here also. I also get same bcmwl warnings with Tevino's kernel. How to fix?

For now running Ruf's kernel http://ubuntuforums.org/showthread.php?t=1495123&highlight=aspire+4820t&page=4

With this i have wifi.

lukasw
August 10th, 2010, 09:33 AM
The bcmwl problem:
I also had this problem and didn't manage to get it working properly.
What I did: I just reinstalled Ubuntu and the first thing I did after that was installing Trevino's maverik kernel. Then the ethernet worked out of the box and I only had to install the wireless driver with jockey.
Hope this helps.

Elysius
August 10th, 2010, 03:16 PM
4820t here also. I also get same bcmwl warnings with Tevino's kernel. How to fix?

For now running Ruf's kernel http://ubuntuforums.org/showthread.php?t=1495123&highlight=aspire+4820t&page=4

With this i have wifi.

If I can't get it to work with jockey, I'll install Ruf's kernel. Thanks for posting that up again.



Then the ethernet worked out of the box and I only had to install the wireless driver with jockey.
Hope this helps.

Could you point out a FAQ (website) of jockey? I'm not familiar with it.

kittenslayer
August 10th, 2010, 11:36 PM
Hi

Thanks to everybody helping out in this thread, without you my new 5820TG would have been a Windows 7 brick on my desk.

The only thing that still irks me is the lack of wifi. I did not come working out of the box so I tried meddling around. I think it's only a matter of a missing driver, but I am a noob so any help is greatly appreciated.
I have tried both rufferson's and Treviņo's kernel without any luck. When using both of them, selecting System/Administration/Hardware_Drivers and enabling the "Broadcom STA wireless driver" yields an installation failed prompt with a log file:


2010-08-10 22:30:49,328 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:49,448 DEBUG: fglrx is not the alternative in use
2010-08-10 22:30:49,465 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:49,491 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:49,586 DEBUG: fglrx is not the alternative in use
2010-08-10 22:30:50,879 DEBUG: fglrx is not the alternative in use
2010-08-10 22:30:51,862 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:53,357 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:53,487 WARNING: modinfo for module wl failed: ERROR: modinfo: could not find module wl

2010-08-10 22:30:53,488 WARNING: /sys/module/wl/drivers does not exist, cannot rebind wl driver
2010-08-10 22:30:53,561 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:55,154 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:55,257 DEBUG: fglrx is not the alternative in use
2010-08-10 22:30:55,277 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:55,306 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
2010-08-10 22:30:55,406 DEBUG: fglrx is not the alternative in use

Any1 know how to get the wifi working?

lyradmil
August 11th, 2010, 12:42 AM
Have you flashed your BIOS to the latest version (1.15)? That's what I did with my 5820TG. Wifi is working great after Trevino's kernel was installed. Main observable issues I'm having is quick battery drain and the inability for drive eject. Still waiting for assistance on these issues guys!

ari197
August 11th, 2010, 09:15 AM
I used your package for my ACER Aspire 4745G and it worked!

you rock man .. thanks a lot ..


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 (http://photo.uamailpost.com/linux-headers-2.6.34-aspire-4820tg_1_amd64.deb)
* linux-image-2.6.34-aspire-4820tg_1_amd64.deb (http://photo.uamailpost.com/linux-image-2.6.34-aspire-4820tg_1_amd64.deb)
* linux-source-2.6.34-aspire-4820tg_1_all.deb (http://photo.uamailpost.com/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

ari197
August 11th, 2010, 09:45 AM
@Trevino,

Can I have your prepatch source kernel package? Your compiled kernel is working for my Acer 4745G except for my wireless card ( Network controller: Broadcom Corporation Device 4357) and for my virtualbox (the vboxdrv module is not there) ..

thanks

ari197
August 11th, 2010, 02:42 PM
@Trevino

so I've managed to get VirtualBox running by installing from the source directly .. but I still cant' have my wifi working. When I tried to compiled the driver, it's missing the "linux/autoconf.h" files from your header ..


@Trevino,

Can I have your prepatch source kernel package? Your compiled kernel is working for my Acer 4745G except for my wireless card ( Network controller: Broadcom Corporation Device 4357) and for my virtualbox (the vboxdrv module is not there) ..

thanks

ari197
August 11th, 2010, 08:32 PM
it turns out, that I've to patch the module source code.. now, my notebook is running perfect :D


@Trevino

so I've managed to get VirtualBox running by installing from the source directly .. but I still cant' have my wifi working. When I tried to compiled the driver, it's missing the "linux/autoconf.h" files from your header ..

hshan
August 12th, 2010, 12:46 AM
ari97 thanks for your diligence , but would you mind explaining your procedures and steps for others coming to this thread?

enno_bohnesorg
August 12th, 2010, 01:26 PM
Dear All,

Just wanted to post success using Trevino's (Mille Grazie !) provided packages. I'm running an Aspire 4820T-434G32Mn. This model has no ATI graphics card. WiFi works immediately now (no need to right-click on Network Manager and enable it) and connects to the preferred network after login.
Everything related to the battery recognition seems to work fine, however: I can't seem to get those reputed 8 hours of battery life out of it, more like 3-4. I will gather more empirical data as the days and weeks go on, but was wondering if other users can post their battery life and/or confirm mine.
My usage is certainly not 'heavy', just normal web browsing, and some application usage. No kernel compilations or anything like that, so battery life should really be in excess of 3 hours.
Looking forward to your feedback.

Enno

lyradmil
August 12th, 2010, 01:44 PM
@enno: Yes, I can confirm the drop in battery life when running on ubuntu. I have the 5820TG and it consumes more battery due to the larger display and I am looking at somewhere between 2-3 hours. However, Trevino has posted a script on http://forum.ubuntu-it.org/index.php/topic,382092.msg3101266.html#msg3101266 . Perhaps you can make sense out of it cos I can't. I want to get my battery up and running to maximum performance too. Also, is your optical drive working fine? I can't seem to eject nor detect it under ubuntu.

enno_bohnesorg
August 12th, 2010, 02:29 PM
@lyradmil
That is the one thing not working right now, I can't eject the drive using the button. I have to type 'eject' in the shell to get it working.
I am fairly sure that we're seeing more of the same old Windows-centric manufacturer policy that brings us things like corrupt battery status code and other 'hacked' hardware-OS interaction - things you don't notice when using the default Windows 7 install. For what it's worth, I will send an email to Acer asking them to re-think their policy and supply the customers with more user-friendly hardware.
I am sure it will not amount to much - besides an automated response. But, in the words of Gandhi: "You must be the change you want to see in the world !"
;)

lyradmil
August 12th, 2010, 03:30 PM
@enno: That's strange ***. I tried doing that in the shell but it ain't working for me either. Bummer. I'm more concerned about the battery life in any case. That's what we got the TimelineX for!

Anyone?

Roadrun
August 12th, 2010, 09:53 PM
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 (http://photo.uamailpost.com/linux-headers-2.6.34-aspire-4820tg_1_amd64.deb)
* linux-image-2.6.34-aspire-4820tg_1_amd64.deb (http://photo.uamailpost.com/linux-image-2.6.34-aspire-4820tg_1_amd64.deb)
* linux-source-2.6.34-aspire-4820tg_1_all.deb (http://photo.uamailpost.com/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

Hi
I have a Acer 4820TG, BIOS 1.15 and I´m using kernel 2.6.34-aspire-4820tg. But I have a problem with vga_switcheroo. It looks like something is wrong with Radeon card. There is a part from dmesg:

[ 6.990601] [drm] radeon defaulting to kernel modesetting.
[ 6.990603] [drm] radeon kernel modesetting enabled.
[ 6.990642] VGA switcheroo: detected switching method \_SB_.PCI0.GFX0.ATPX handle
[ 6.990681] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[ 6.990689] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 6.990694] radeon 0000:01:00.0: setting latency timer to 64
[ 6.994557] [drm] initializing kernel modesetting (CEDAR 0x1002:0x68E0).
[ 6.994722] [drm] register mmio base: 0xDC400000
[ 6.994724] [drm] register mmio size: 131072
[ 6.994725] vga_switcheroo: enabled
[ 6.994864] radeon atpx: version is 1
[ 6.994955] reserve_ram_pages_type failed 0x100000000-0x100001000, track 0x10, req 0x10
[ 6.994956] ioremap reserve_memtype failed -16
[ 6.994997] ACPI Error: Could not map memory at 0000000100000103, size EFD (20100121/exregion-178)
[ 6.995001] ACPI Exception: AE_NO_MEMORY, Returned by Handler for [SystemMemory] (20100121/evregion-474)
[ 6.995005] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.GFX0.ATRM] (Node ffff880133a750c0), AE_NO_MEMORY
[ 6.995058] failed to evaluate ATRM got AE_NO_MEMORY
[ 6.995173] radeon 0000:01:00.0: Invalid ROM contents
[ 6.995265] radeon 0000:01:00.0: Invalid ROM contents
[ 6.995319] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
[ 6.995364] radeon 0000:01:00.0: Fatal error during GPU init
[ 6.995406] [drm] radeon: finishing device.
[ 6.995442] vga_switcheroo: disabled
[ 6.995596] radeon 0000:01:00.0: PCI INT A disabled
[ 6.995601] radeon: probe of 0000:01:00.0 failed with error -22


Anyone know what is wrong? Thanks for help.

ari197
August 13th, 2010, 10:27 AM
ari97 thanks for your diligence , but would you mind explaining your procedures and steps for others coming to this thread?

1. I installed all the package that Trevino provide.
2. For my virtual box, I downloaded the latest version from its website (http://www.virtualbox.org/wiki/Linux_Downloads). Don't select according to your distribution, select All Distribution that will gives you the source. Just follow the doc to install it.
3. Download the broadcom driver and patches from http://www.broadcom.com/support/802.11/linux_sta.php .. patch the driver source, compile and install.

lyradmil
August 13th, 2010, 12:21 PM
@Trevino

The switcher is OK now , Just need to exit to the and login again .
Intel integrated vga work perfect, but when I with to the ATI Radeon card . It's need a driver .
So I install the driver, but failed.
I can install it on kernel 2.6.32 perfectly , but the when kernel upgrade to 2.6.35 it will cause errors.
I think it the vga card driver problem .
@All
Is anyone successfully install the flgrx on 2.6.35 kernel ? or where I can get the newest flgrx driver?

Albert

When I tried launching the script, Both integrated and discrete did not show any information on my graphics card. I get the pop-up dialog but it shows:

Choose Hybrid Graphic Card
=================
Integrated: :
Discrete: ( ) - Power ON :

Did you experience this? My BIOS is set to Switch, I have the switch file in the VGAswitcheroo dir.

===
EDIT: Navigate to "cd sys/kernel/debug/vgaswitcheroo". I managed to switch the cards manually in the shell using:
$ echo DDIS > switch #discrete
$ echo DIGD > switch #integrated
$ echo OFF > switch
In order for this to work, you will be required to logout and login again. An easier way, which I did was to modify the /etc/rc.local file. This tells the system to load with the discrete card turned off, enabling only the integrated one. I simply added:

chown "username" /sys/kernel/debug/vgaswitcheroo/switch #change "username" to your username
echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

However, the above-mentioned script is unable to do the switching for me. It only informs me of which card is currently activated. So I use it to quickly check if my discrete card is turned off. In any case, the default activation is the integrated (lower-powered) Intel VGA. To maximize battery power, turn off the discrete card from the command above. I got an extension in battery life. I have yet to confirm the actual battery span but will get back to you guys again.

EDIT2: I managed to eject the CD tray using this command "eject /dev/dvd1". Created a launcher for it and all is good. If your eject command is not working like me before, use "ls -l /dev | grep '\->'" (without the quotes) If your cd/dvd drive is properly configured, it will be on that list. On my system, I have dev/cdrom1, dev/cdrw1, dev/dvd1 and dev/dvdrw1 which all works. :D

==

Hope it helps! So that's extended battery life! Still waiting for feedback on how to enable the proper display of the graphics card information on the window prompt.

Roadrun
August 14th, 2010, 06:22 AM
I have the same problem. I cant´ compile because of missing autoconf.h. How do I get it?

Thanks


@Trevino

so I've managed to get VirtualBox running by installing from the source directly .. but I still cant' have my wifi working. When I tried to compiled the driver, it's missing the "linux/autoconf.h" files from your header ..

ari197
August 14th, 2010, 03:35 PM
it's because since linux-2.6.34 (i think), Linus move the autoconf.h to another directory .. also there are some lib that aren't compatible ..

download the patches from broadcom page and apply it to the source..


I have the same problem. I cant´ compile because of missing autoconf.h. How do I get it?

Thanks

Elepferd
August 14th, 2010, 09:15 PM
it's because since linux-2.6.34 (i think), Linus move the autoconf.h to another directory .. also there are some lib that aren't compatible ..

download the patches from broadcom page and apply it to the source..

Use "Patch for kernel 2.6.33 and higher (http://www.broadcom.com/docs/linux_sta/sta_5.60.48.36_2.6.33_kernel_patch.zip)" and "Multicast patch for kernel 2.6.34 and higher (http://www.broadcom.com/docs/linux_sta/sta_5.60.48.36_2.6.34_multicast_kernel_patch.zip)" on http://www.broadcom.com/support/802.11/linux_sta.php and see README.TXT for further information.

Fshy
August 14th, 2010, 11:54 PM
Sorry if this has already been answered somewhere else, but I had the same issue as this person --



d) FGLRX graphic driver - blank screen after booting

When I enabled the FGLRX proprietary graphics driver, I ended up with a blank screen after reboot. I did not manage to repair this and had to reinstall (I'm not a Linux professional...). Power consumption is low with the inbuilt card, so I'm quite happy with the standard card. I did not try to find a solution for this, as I am not keen on reinstalling again. Still sad for a nice piece of hardware not used.


I've tried the graphics driver twice now, and it always black screens after a reboot. I *am* capable of resetting back to Intel drivers via the startup options area, but I wasn't able to find a way to fix this. Again, sorry if this has already been answered somewhere and I missed it, but it really is a shame to not use this excellent card. -- Fshy

Roadrun
August 15th, 2010, 12:20 AM
OK. I have downloaded the paches, apply them, created wl.ko, put it it to /lib/modules/2.6.35-7-generic/kernel/net/wireless and when I tried insmod wl.ko, I got message:

insmod: error inserting 'wl.ko': -1 Invalid parameters

And in logs I can see this lines:

wl: disagrees about version of symbol create_proc_entry
wl: Unknown symbol create_proc_entry (err -22)
wl: disagrees about version of symbol remove_proc_entry
wl: Unknown symbol remove_proc_entry (err -22)

Any idea whats wrong?


it's because since linux-2.6.34 (i think), Linus move the autoconf.h to another directory .. also there are some lib that aren't compatible ..

download the patches from broadcom page and apply it to the source..

hshan
August 15th, 2010, 01:20 AM
Use "Patch for kernel 2.6.33 and higher (http://www.broadcom.com/docs/linux_sta/sta_5.60.48.36_2.6.33_kernel_patch.zip)" and "Multicast patch for kernel 2.6.34 and higher (http://www.broadcom.com/docs/linux_sta/sta_5.60.48.36_2.6.34_multicast_kernel_patch.zip)" on http://www.broadcom.com/support/802.11/linux_sta.php and see README.TXT for further information.


1. I installed all the package that Trevino provide.
2. For my virtual box, I downloaded the latest version from its website (http://www.virtualbox.org/wiki/Linux_Downloads). Don't select according to your distribution, select All Distribution that will gives you the source. Just follow the doc to install it.
3. Download the broadcom driver and patches from http://www.broadcom.com/support/802.11/linux_sta.php .. patch the driver source, compile and install.


Thanks guys, finally got wifi going on my 4820t with Travino's kernels

ari197
August 15th, 2010, 03:13 AM
do
- depmod -a
- modprobe wl


OK. I have downloaded the paches, apply them, created wl.ko, put it it to /lib/modules/2.6.35-7-generic/kernel/net/wireless and when I tried insmod wl.ko, I got message:

insmod: error inserting 'wl.ko': -1 Invalid parameters

And in logs I can see this lines:

wl: disagrees about version of symbol create_proc_entry
wl: Unknown symbol create_proc_entry (err -22)
wl: disagrees about version of symbol remove_proc_entry
wl: Unknown symbol remove_proc_entry (err -22)

Any idea whats wrong?

Roadrun
August 15th, 2010, 08:27 AM
Sorry, didn´t work. I´m geting this error:

FATAL: Error inserting wl (/lib/modules/2.6.35-7-generic/kernel/net/wireless/wl.ko): Invalid argument
FATAL: Error running install command for wl

And in logs I heve the same error:

wl: disagrees about version of symbol create_proc_entry
wl: Unknown symbol create_proc_entry (err -22)
wl: disagrees about version of symbol remove_proc_entry
wl: Unknown symbol remove_proc_entry (err -22)

I didn´t find anything useful about this error.

Thanks


do
- depmod -a
- modprobe wl

ari197
August 15th, 2010, 08:59 AM
how did you put the "wl.ko" file to the /lib/module directory? did you copy it or did you do "make install" ?


Sorry, didn´t work. I´m geting this error:

FATAL: Error inserting wl (/lib/modules/2.6.35-7-generic/kernel/net/wireless/wl.ko): Invalid argument
FATAL: Error running install command for wl

And in logs I heve the same error:

wl: disagrees about version of symbol create_proc_entry
wl: Unknown symbol create_proc_entry (err -22)
wl: disagrees about version of symbol remove_proc_entry
wl: Unknown symbol remove_proc_entry (err -22)

I didn´t find anything useful about this error.

Thanks

Roadrun
August 15th, 2010, 01:45 PM
I have tried both ways, but non worked. Always the same errors


how did you put the "wl.ko" file to the /lib/module directory? did you copy it or did you do "make install" ?

ari197
August 15th, 2010, 06:09 PM
I have tried both ways, but non worked. Always the same errors

hmmm ... sorry mate .. don't know what's wrong then :(

maybe you could contact broadcom support .. that's how I know that I need to patch the source first ..

Roadrun
August 16th, 2010, 09:41 PM
OK, I solved it. I had installed kernel linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu2~toi2_amd64.deb and it some have did not work. I changed it for linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu1_amd64.deb and now it works. There are still some problems with suspend mode but that I will try to resolve later when I will have more time.


hmmm ... sorry mate .. don't know what's wrong then :(

maybe you could contact broadcom support .. that's how I know that I need to patch the source first ..

Elysius
August 19th, 2010, 03:46 PM
I changed it for linux-image-2.6.35-7-generic_2.6.35-7.11~lucid1.3v1ubuntu1_amd64.deb and now it works.

Where'd you get this kernel from?

Roadrun
August 19th, 2010, 04:27 PM
I found this link in one of the posts here.

http://download.tuxfamily.org/3v1deb/acer-timelinex/



Where'd you get this kernel from?

flo4s
August 20th, 2010, 10:32 PM
thanks to Trevino, his kernel (http://ubuntuforums.org/showpost.php?p=9586610&postcount=52) get my lovely computer work fine.

But I still have two majors problems :
1 - on battery time : just 2 hours...

2 - fans : they are always on... may be cause for 1...

some searches on 2 give me :

- sudo pwmconfig
==> /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed


- sudo sensors-detect
==> Sorry, no sensors were detected.

and

- sensors
==>
acpitz-virtual-0
Adapter: Virtual device
temp1: +54.0°C (crit = +105.0°C)

Any other in front of that ?
Any guru to give a workaround ?

Thanks for any help

mike81
August 24th, 2010, 10:15 AM
Sorry if this has already been answered somewhere else, but I had the same issue as this person --



I've tried the graphics driver twice now, and it always black screens after a reboot. I *am* capable of resetting back to Intel drivers via the startup options area, but I wasn't able to find a way to fix this. Again, sorry if this has already been answered somewhere and I missed it, but it really is a shame to not use this excellent card. -- Fshy

I had the same problem but went into the BIOS and switched the Graphics mode from 'switchable' to 'discrete'. I don't know exactly what that means but it loads alright now and I can get to the catalyst control centre alright.

Update. Oops, just saw #72.

RavensKrag
August 29th, 2010, 06:29 AM
Ah, sorry I wasn't around to help you guys with your wireless problems. I thought I had made a post about the need to compile new wireless drivers but I guess not. Also, I was able to bind the command "eject cdrom" to a keyboard shortcut using ubuntutweak in order to allow me to open the drive.

Has anyone been able to get the discrete card to shut off on startup? I have had to do this manually and it's a bit of a pain...I believe you can get about 5 hours if the discrete card is off. However, I think the claim of 8 hours applies to other models in the TimelineX series and not the one I have. Has anyone actually been able to get 8 hours, even in windows?

@Mike81
Discrete mode in BIOS will turn off the integrated video card and only enable the discrete card. This will give you better performance, but worse battery life. Also, you will be unable to switch back and forth in windows, if that is an issue.

Karajan
August 29th, 2010, 05:07 PM
Shutting off the discrete card worked for me with this guide: http://asusm51ta-with-linux.blogspot.com/
Some easier ways failed, most times I wasn't able to use my mouse or my keyboard after a reboot.


I get about 7 hours (discrete card off) on Ubuntu (with 60 Wh). But this was only doning some simple tasks, watching a DVD gave me only 3 hours, listening to music maybe 5? Don't remember.

Also I don't have a usual install, I installed Ubuntu Server and did 'sudo apt-get install ubuntu-desktop --no-install-recommends' -- this way I only have the software I really need and not too much running in the background. Plus the Server version is more power-saving (of course ;))

Maybe not the easiest way but getting 7 hours is possible :P

RavensKrag
August 29th, 2010, 05:12 PM
I also was able to figure out the switch. I just needed to put a simple script into /etc/init.d/ which accepted one argument which was either start, stop, or restart. Then i ran sudo update-rc.d NAME_OF_SCRIPT defaults. Now the card powers off and on with shutdown and startup respectively.

@Karajan
Does the server version really have better power saving? I was under the impression that the desktop version would, especially if you install the laptop power saving packages. I believe the server version is really just the minimal command-line version, or am I mistaken?

Also, I sort of figured that 7-8 would be at the top of the range, meaning that you would only get those numbers on minimal usage. That's fine with me though ^_^

Karajan
August 29th, 2010, 06:40 PM
Well, I'm not sure if it's really more power-efficient. I read something about the server-kernel being specially tuned to be power saving... My main reason to do this was to have a "minimal" Ubuntu.

Yes, you have nothing but a command-line but after 'sudo apt-get install ubuntu-desktop --no-install-recommends' it's just like a normal Ubuntu install -- with only a few programs installed.

Cpasjuste
September 1st, 2010, 09:32 AM
Hi, i compiled a kernel for ubuntu i386 cpus, with the acpi/power patch and vga switcheroo activated. I tought it could be usefull to share so here is the links :

linux-headers-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb (http://mydedibox.fr/_stuff/acer4820tg/linux-headers-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb)
linux-image-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb (http://mydedibox.fr/_stuff/acer4820tg/linux-image-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb)

lukasw
September 2nd, 2010, 10:11 PM
Today I managed to open my (empty) disc drive by pressing the eject button over the numpad. Don't know how, it just worked. Just wanted to tell you it's possible.

BTW: I removed plymouth by using the mountall package of this ppa (https://launchpad.net/%7Edtl131/+archive/mediahacks). Ubuntu starts much faster now :D

Edit: At the moment ejecting is working again but 'eject'(in a terminal) doesn't work anymore.

Edit 2: Seems like since I removed plymouth, the eject button does it's job fine.

lordamit
September 3rd, 2010, 09:34 PM
Hi, i compiled a kernel for ubuntu i386 cpus, with the acpi/power patch and vga switcheroo activated. I tought it could be usefull to share so here is the links :

linux-headers-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb (http://mydedibox.fr/_stuff/acer4820tg/linux-headers-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb)
linux-image-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb (http://mydedibox.fr/_stuff/acer4820tg/linux-image-2.6.35.4-switcheroo_2.6.35.4-switcheroo-10.00.Custom_i386.deb)

hi there :) I am using acer 4745
I have installed your package with the hope that the laptop's battery state notification will become more realistic.(i.e. always "laptop battery is charged).

after installation and restarting, now when I use acpi -b, it shows



Battery 0: Discharging, 95%, 03:08:35 remaining
But when I right click on the gnome-power-manager, it still shows "laptop battery is charged".


here are some more information:

before instlallation:
present: yes
capacity state: ok
charging state: charged
present rate: unknown
remaining capacity: unknown
present voltage: 10000 mV
cat /proc/acpi/battery/BAT1/info gives:
Code:
present: yes
design capacity: 4400 mAh
last full capacity: 4400 mAh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 300 mAh
design capacity low: 132 mAh
capacity granularity 1: 32 mAh
capacity granularity 2: 32 mAh
model number: BAT1
serial number: 11
battery type: 11
OEM info: 11

after installation:


cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: discharging
present rate: 1322 mA
remaining capacity: 4118 mAh
present voltage: 12093 mVand


present: yes
design capacity: 4400 mAh
last full capacity: 4401 mAh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 300 mAh
design capacity low: 0 mAh
cycle count: 0
capacity granularity 1: 32 mAh
capacity granularity 2: 32 mAh
model number: AS10B73
serial number: 0CAF
battery type: LION
OEM info: SIMPLO
So, the acpi knows about the present battery state now, but somehow, gnome power manager is not being notified. I tried restarting gnome-power-manager through kill and then restarting it, but it didn't work.

Any suggestions?



Edit:
I tried to hibernate just now. And it after a while showed a black screen with this text:




[33.111880] ata2.00: exception Emask 0x0 SAct 0x0 Serr 0x0action 0x6 frozen
[33.113573] ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[33.113575] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4
[33.116771] ata2.00L status {DRDY}
Then I had to shut it down by pressing the power button.
When I booted, i found that the pc state was not saved like it was supposed to in shutdown.

However, then the battery state started working via gnome-power-manager.



edit 2:

Another hibernate and it does not show any error. But it does not shut down nor save the state either. Other than that, the battery state is working fine :)

RavensKrag
September 4th, 2010, 12:18 AM
@lordamit
I have that problem sometimes as well. If the computer is started on battery power, this does not seem to be an issue.

On the issue of hibernation, do you have an amount of swap space >= your amount of RAM?

lordamit
September 4th, 2010, 07:04 AM
Yes. My laptop's RAM is 2GB ddr3, and swap space is around 6GB.
BTW, thanks a lot for preparing this package.

Oh on another note, when I tried to hibernate, it was stuck, so I had to shutdown it using the power button. when I rebooted, it showed


init: ureadahead main process(X) terminated with status 5

where X is some process number here, starting from 400

I studied about this for a while, and apparently, there was something with the hdd state. I unmounted the ntfs drives as well, but it didn't help.

So I rebooted using the previous kernel, and it somehow fixed the error issue.


Edit:

I reinstalled ubuntu and right after that installed your packages. because of some experiments.. my ubuntu was a lot more slower, and at boot time gave a resume: libgcrypt version 1.4.4 message.

But I noticed that after installing your packages, the wireless connection issue is fixed.(no "enable wireless" clicking needed from network manager applet after login to connect to wireless)

Edit:
:| I am awed. After installing your packages, I didn't have to go through Alsa upgrade script. it automatically somehow managed to become 1.0.23(it is normally 1.0.21 in ubuntu 10.04)


Edit2:
This 2.6.35 kernel is almost perfect. it fixed up the battery, wifi and alsa issue.
And After a fresh install, hibernate works as well. It gives some error messages in the blank screen when Bluetooth is turned on, and on several cases, but it works and now resumes.


Thanks a lot :)

nytbis
September 4th, 2010, 04:20 PM
Thanks Trevino!

lordamit
September 4th, 2010, 08:24 PM
I am getting a ureadahead main process terminated error with status 5 now. is there any suggestion?

Furunes
September 6th, 2010, 04:15 PM
Hey

Could really need some help.
Don't have a wlan interface.
My wired network, work fine. (ethernet)
Can't get it to work(wireless network).

RutilT gives me this message:
can't find any wireless network interface.
Code: -3

And at startup its "disconnected"!(message)

Tryed #marm0tte's tricks without any luck (http://ubuntuforums.org/member.php?u=923524)

What to do?

Please help

lordamit
September 6th, 2010, 06:49 PM
status 5 usually means that you have /var mounted on a separate partition, is that true?
The mountall errors are a knock-on effect of an earlier bug that should already be fixed, did exiting from this shell fix the issue for you?


Nope, the whole ubuntu is installed in one partition. I have some ntfs partitions which are all mounted automatically using ntfs config. But turning them off didn't solve this issue.

Exiting from the shell, i do not understand that part.

shantzg001
September 8th, 2010, 05:44 PM
Seems like there is a new bios 1.18 out from Acer for 4820TG. Anyone tried it yet?

whargoul
September 8th, 2010, 08:24 PM
Seems like there is a new bios 1.18 out from Acer for 4820TG. Anyone tried it yet?

I just installed the new BIOS, and I booted up in a clean OpenSuse 11.3 install with NO kernel modifications. Guess what? Battery works like it should! Even better than that pesky patch which has been mentioned in this thread.

pemasu
September 8th, 2010, 08:45 PM
Bios 1,18 fixes acpi problem also with my 5820tg

shantzg001
September 8th, 2010, 09:00 PM
Awesome.. I guess all will be well now with Maverick for this lappy. I have got it just yesterday and wading through all the different problem threads. I think that most other issues are resolved already with the new kernel coming in with maverick (including the vga switcheroo) and now we can also get battery working with the new BIOS. :)
Will install maverick beta this weekend then..
BTW, any good links to dual boot win 7 with ubuntu on this lappy without crapping any recovery/other stuff? This is my first win 7 laptop and also the first that has a on-disk recovery partition so not completely sure..

lordamit
September 9th, 2010, 10:38 AM
Hi.
I noticed that there is also a new BIOS update( 1.18 )
I just installed it from windows, and then restarted to switch to Ubuntu.
The bluetooth, and the battery problem is fixed. Though... I need to upgrade the Alsa sound thing now :)

Janiskeisari
September 10th, 2010, 06:43 AM
Wow, thanks.

The bios-update worked fine with my 5820TG and fixed these issues:

Bluetooth
Wireless auto-enable
Battery-state meter
Possibly also the thermal meter


Now I'm just waiting for Maverick, if it really has vgaswitcheroo built-in..

princealex
September 14th, 2010, 11:25 AM
I am really glad with this new bios.

eyolf
September 20th, 2010, 10:55 AM
2 - fans : they are always on... may be cause for 1...


Any news on this? I have the same issue, and I must say, if I have to choose between a noisy linux or a silent windows, I'm inclined to go with the latter...

daveboy23
September 21st, 2010, 10:18 AM
a noob question here - since i've never updated a bios, just wanna make sure - does the latest version contains all previous fixes?
it seems like all updates are the same size (that's why i'm asking...)
or should i install each patch one after the other?
also have acer aspire 4820tg and not working with bat, wireless etc.

shantzg001
September 21st, 2010, 09:17 PM
^^ yup u need to install only the latest one..

an7on
September 25th, 2010, 03:40 AM
Problem 8: integrated microphone
If you have some problems with the integrated microphone, to solve it you have to update the alsamixer to version 1.0.23. And if you need a guide, look this: http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/
Thank you! The link you gave is very helpful!

vrinse
October 2nd, 2010, 05:45 PM
Hi!
I'm french, so sorry for my english!

I read the thread, thanks a lot!

I erased all the harddisk, because i don't want windows (i will try to get back my money from acer). So, i have no windows anymore on that computer.

But i'd like to flash the bios, in order to solve all the problems.
The bios version 1.18 from the site of acer is only an exe, to run on windows…
Do anybody knows a trick to flash the bios without having windows on the machine?
Any link to download the good new version for bios runnable without windows?
Any link for explanation about how to install it?

Thanks!

marm0tte
October 3rd, 2010, 12:30 AM
Hello vrinse,


ASUS distribute there BIOS upgrades only compiled for Microsoft Windows or DOS.
I assume that you don't want to use a non open source OS :)

It seems that the FreeDOS project can help you to flash your BIOS :cool:
Here is a good HOWTo :
http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html

The problem is that I've never test a BIOS flash from FreeDOS.
So be careful, It seems that FreeDOS is based in DOS 3.3 and not on the latest version 6.22 ... ](*,)
http://sourceforge.net/apps/mediawiki/freedos/index.php?title=FreeDOS_Spec


Please keeping us informed of the outcome ...

vrinse
October 3rd, 2010, 02:32 AM
Hi marmotte!

Thanks a lot for the trail!
I found a page on the french wiki, with a tuto about how flashing the bios of an MSI computer with FreeDos.
But the process is supposed te be exactly the same with acer. So i followed the tuto, installing FreeDos on an usbkey with unetbootin, and so on.
I was a bit afraid… but i finally tried the flash. And it worked perfectly! :grin:
At the end, thanks a lot!!!

So… Viva el libre! F…**f windows! (and acer!) :P

Edit: French wikipedia say about FreeDos that developers choose to base on Dos 3.3 because 4.x, 5.x and 6.x versions aren't strong changes about the core of Dos. Well, it worked for me, maybe they're right. :)

marm0tte
October 3rd, 2010, 10:22 PM
Happy to know that a flash of the BIOS is possible with FreeDOS :)
The next time I will use that.

Yes you're right Asus is not really fan of Linux, like many computer reseller/builder.
You're french like me, so you can read this document about good and bad computer reseller/builder :
http://bons-constructeurs-ordinateurs.info/


And I wish a long life to open-source software :P

daveboy23
October 5th, 2010, 09:39 AM
hi everyone, flashing the bios works great with the batt (although doesn't fix everything - like multitouch etc.)
does anyone knows if all these problems are going to be fixed in 10.10? the ATI would work, the switch GPUs, the wireless (out of the box), i've heard someone here talk about fans and CPU temp?

nicolaary
October 5th, 2010, 08:49 PM
Dear all,
is anybody that has some time to make a quick summary of this long thread?

How to fix the battery issue?
How to fix the mic noise?
How to fix the enable wi-fi at the beginning?

Thank you very much :-)

Nicola

nicolaary
October 5th, 2010, 09:08 PM
HI,
Actually I can make a summary by myself also because after the new bios installation I do not have anymore the battery problem and the enable wi-fi issue.
For what is concerning the problem with the microphone I have upgraded to the ALSA version 1.0.23 (http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/) but the record voice in Skype is still noisy!

Anybody has any idea on how to fix the mic?

A part of the skype issue now I can use my new Lin-Laptop!:guitar:

nicolaary
October 5th, 2010, 10:36 PM
Hi,
I made a summary of the thread in this blog:

http://kblackhat.blogspot.com/2010/10/installing-kubuntu-1004-on-acer.html

I hope I did not forget anything... in case please let me know and I will update it..
:)

moviglez
October 5th, 2010, 11:34 PM
Problem with VGA switching with kernel 2.6.35 (Ubuntu 10.10) and BIOS 1.18 install Ubuntu Control Centre 0.5.1 http://sites.google.com/site/ubuntucontrolcenter/downloads

-Changelog-

* Fixed error with opengl performance
* New VGA Switching Module (needs kernel 2.6.35)
* New category icons
* Small fixes on the interface

See this video http://ubuntuforums.org/showpost.php?p=9670648&postcount=14

Thanks :]

RavensKrag
October 7th, 2010, 04:19 AM
Haven't been on this thread in a while, but it seems as if everything is going well for my fellow Acer users. However, one question. Has anyone been able to get 3D acceleration on the ATI card? I have a kernel with the switch, and can switch to it, but I do not know if I will get any 3D support.

I assume the open source drivers in-kernel work, but has anyone tried the latest proprietary ATI driver?

(I would like to be able to play games in linux again ^_^;)

daveboy23
October 12th, 2010, 09:38 AM
HI,
Actually I can make a summary by myself also because after the new bios installation I do not have anymore the battery problem and the enable wi-fi issue.
For what is concerning the problem with the microphone I have upgraded to the ALSA version 1.0.23 (http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/) but the record voice in Skype is still noisy!

Anybody has any idea on how to fix the mic?

A part of the skype issue now I can use my new Lin-Laptop!:guitar:
yap, i actually searched for that myself - here's the solution: go to skype and disable the automatic sound adjust thing then go to terminal - type alsamixer, press F4 (capture tab) - so to capture and put it all the way up (or to a volume you like) then (on the same column) press 'y' till you completely mute the left channel. now skype works. problem - if you change the volume from the pulse you loose this configuration so take care.

daveboy23
October 12th, 2010, 10:20 AM
i've checked this thread (didnt read everything i admit but most of it) and it seems to me like i'm the only one who can't install the ATI drivers. i've tried installing the proprietary drivers in ubuntu 10.10 and the same thing happened - when i boot, after the splash screen i'm dropped into the terminal (in other words - now i don't have any graphics, windows etc.) so, how can i fix that one? and is there a way to install the ATI?

marm0tte
October 12th, 2010, 06:38 PM
Hello,


The same story arrive to me :P


When you start your computer and the boot loader grub appears, choose the kernel in recovery mode (named Ubuntu, with Linux 2.6.35-22-generic (recovery mode))

After, choose to start the graphical interface in degraded mode (don't remember exactly the name)
GNOME + XORG will show you the graphic interface and you will be able to uninstall the ATI Properatery drivers.


I don't search to install it anymore after this problem, but the open source driver for ATI is pretty good and fast so I will keep them ;)

RavensKrag
October 13th, 2010, 01:47 AM
Hello,
I don't search to install it anymore after this problem, but the open source driver for ATI is pretty good and fast so I will keep them ;)

You say the driver is "good and fast" which is great to hear, but do you have 3D support? ie, can you enable desktop effects?

(Now that I think about it, I suppose I could just switch over and check, but I believe I'm running a slightly older kernel, so I might not get the same results.)

marm0tte
October 13th, 2010, 09:55 PM
If you are under ubuntu 10.10 so by default, you will have the same kernel as me (2.6.35-22-generic).

The radeon (open source driver) of the ATI Radeon HD 5600 video card enable 3D effects. Compiz for exemple works like a charm. I've also install gnome-shell and it works.

RavensKrag
October 14th, 2010, 07:17 AM
If you are under ubuntu 10.10 so by default, you will have the same kernel as me (2.6.35-22-generic).

The radeon (open source driver) of the ATI Radeon HD 5600 video card enable 3D effects. Compiz for exemple works like a charm. I've also install gnome-shell and it works.

Wow, that's great news. I unfortunately have been very busy, so I'm still using 10.4 with kernel 2.6.34-1 which I compiled myself. Does the kernel in 10.10 have the VGA Switcheroo and everything compiled in already as well? Compiling a kernel is quite time consuming and I hope I don't have to do that again.

For clarification, which should help daveboy23 as well as myself, you mean the Radeon driver in the kernel right? By this I mean that you did not have to install a separate driver. If I am correct, the ATI driver provided though jockey (the driver installation script-thing) does not have kernel mode setting. What this basically boils down to is that it will not work with hybrid cards like the ATI Radeon HD 5650.

marm0tte
October 14th, 2010, 08:53 PM
Yes, switcheroo is integrated in the kernel 2.6.35 provided in maverick by Canonical ;)

I've installed the ucc (ubuntu control center) that moviglez recommends and it's a pretty useful application. If you go in the category Hardware you will found a tool named VGA switching ... but it doesn't works :(

So, I've follow this thread : http://www.phoronix.com/forums/showthread.php?t=21979

These commands works and switch the VGA between ATI and Intel cards :)

sudo su
mount -t debugfs none /sys/kernel/debug
cd /sys/kernel/debug/vgaswitcheroo
cat switch # to see which card is active
echo DDIS > switch # to go to discrete card (log off and then log in after this command)
echo DIGD > switch # to go to integrated card (log off and then log in after this command)
echo OFF > switch # to just poweroff the card you aren't using


I will really appreciate if someone know a tool or a widget to do that stuff more friendly :P

snarf77
October 14th, 2010, 09:14 PM
Hi All,

Great thread for happy owner of this laptop...

I'm still working on Ubuntu 10.04 since I bought this laptop and I follow this thread with interest. I'm planning to move on 10.10 in a few days but I'm not sure to fully understand if with this new version a BIOS update is still necessary or not ?

If it is does anyone has a good link on how to update the BIOS. I looked on Acer website but only found an ISO CD supposed to then load the right version but is this the way you proceed ? how to be sure to get the correct version (do you need to download it before ? where ??)

Sorry for stupid question but I'm not to familiar with that.

Thanks

Snarf

wizards
October 14th, 2010, 10:36 PM
Hi :) this is some manual for update BIOS .. some little help for others :)

1.)go on http://support.acer-euro.com/drivers/downloads_gd.html
(its hard - they site its not work very good for me)
2.) select type of notebook
3.) and download new bios
4.) for me Acer Aspire 4820TG - last 1.19 (10.4.2010)
5.) and install - I install it from Windows and its work :) its only exe files

And is this necessary I thing yes :)its solved some problems :)

RavensKrag
October 15th, 2010, 08:46 AM
I install it from Windows and its work :) its only exe files

I do believe there is a post a couple pages back on how to do it without a Windows install. But if you have Windows on your computer still, that would be the best way to do it. It's really easy, just download and click, then wait for you machine to reboot.

wizards
October 15th, 2010, 08:58 AM
Can somebody same problem like I? ..

I have installed
1.19 bios
64bit - Ubuntu 10.10
Ubuntu Control Centre 0.5.1 - from post from moviglez
and ATI Catalyst™ 10.9 Proprietary Linux x86 Display Driver from ati page compiled with
--listpkg and --buildpkg and install packages ...

But sometimes (i thinkg twice or more day) graphics freeze and i must restart linux.

Can somebody help me what can i must find (like some logs) or can i try to do... :/

eyolf
October 15th, 2010, 09:02 AM
For what it's worth:
When I upgraded my BIOS, the MBR was borked. I had a dual/triple boot setup with the pre-installed Win7 plus partitions with Ubuntu and Arch Linux. I flashed the BIOS from Windows, using the exe file from the acer site. Everything went smoothly - no warning, no nothing, but when it was finished -- successfully -- there was no contact with the computer.

I can't remember what I did to solve it; I think perhaps I just reinstalled Ubuntu from a Live CD. It was a fresh install anyway, so I figured it would be quicker than to search out and burn some rescue CD from another computer etc., but I would hate to have had that happen on something other than a fresh install.

After the reinstall, everything is working fine, -- except that the fan is still blowing so heavily that I can't bear it. So I'm confined to Windows until that situation improves.

Just thought I'd mention it. I haven't heard of anyone else running into this, so it's probably just my bad luck, but I thought it should be added to the records.

whargoul
October 15th, 2010, 07:56 PM
I've installed the ucc (ubuntu control center) that moviglez recommends and it's a pretty useful application. If you go in the category Hardware you will found a tool named VGA switching ... but it doesn't works :(


UCC works for me succesfully, although Intel is showed as a high performance card and ATI as powersaving card. But the opensource radeon driver does not have support for 3D for the 5000 series, so it is not really useful.



Can somebody same problem like I? ..

I have installed
1.19 bios
64bit - Ubuntu 10.10
Ubuntu Control Centre 0.5.1 - from post from moviglez
and ATI Catalyst™ 10.9 Proprietary Linux x86 Display Driver from ati page compiled with
--listpkg and --buildpkg and install packages ...

But sometimes (i thinkg twice or more day) graphics freeze and i must restart linux.

Can somebody help me what can i must find (like some logs) or can i try to do... :/
The Catalyst does not currently have support for Xorg server 1.9 which Ubuntu uses. You'll have to wait for Catalyst 10.10.

EDIT:
Ah, sorry looked more into it, and Ubuntu does provide the 10.10 release, but this is an "early look". But the officiel 10.10 release will come later this month.

RavensKrag
October 16th, 2010, 01:51 AM
But the opensource radeon driver does not have support for 3D for the 5000 series, so it is not really useful.

Wait what? I thought someone just a couple posts back said that the 3D acceleration does in fact work o_O;

whargoul
October 16th, 2010, 06:11 PM
Wait what? I thought someone just a couple posts back said that the 3D acceleration does in fact work o_O;

Okay I was a bit quick on the keys when I wrote that. It does have some 3D support, but it is not very good. For example I tried to run Tuxracer and Neverball and it was really laggy. Also I don't have support for compositing.
So you will be better off just running the intel card. Faster performance and lower power consumption.

marm0tte
October 17th, 2010, 12:19 AM
Hello,


I'm on a fresh install of maverick 64 bits desktop and as I said 2days ago, the 3D acceleration works with the radeon opensource drivers !

TuxRacer works smoothly without any kind of problem, compiz too, gnome-shell, ...

crauto
October 18th, 2010, 05:33 PM
hi marm0tte,
so ubuntu 10.10 64bit works great on your timelinex?
what have you done for make it working?
you have done only bios update and installed opensource driver for graphic card or you have done something else?
is everything working or there are still some problems?
thank you,
crauto

marm0tte
October 18th, 2010, 10:07 PM
hi,

I've just upgrade the bios to 1.19 version.
I've made a fresh install of ubuntu maverick desktop 64 bits

That's all :)

wizards
October 19th, 2010, 07:59 PM
......
I've just upgrade the bios to 1.19 version.
I've made a fresh install of ubuntu maverick desktop 64 bits

That's all :).....
to crauto

Yes that's all but I have still some strenge problems with ubuntu...I hope you have everything ok :)

benjamimgois
October 19th, 2010, 10:09 PM
UCC works for me succesfully, although Intel is showed as a high performance card and ATI as powersaving card. But the opensource radeon driver does not have support for 3D for the 5000 series, so it is not really useful.


The Catalyst does not currently have support for Xorg server 1.9 which Ubuntu uses. You'll have to wait for Catalyst 10.10.

EDIT:
Ah, sorry looked more into it, and Ubuntu does provide the 10.10 release, but this is an "early look". But the officiel 10.10 release will come later this month.

hey, UCC works just fine with the opensource drivers. Take a look at the official video:

http://www.youtube.com/watch?v=-S5-BVFk0G0

daveboy23
October 20th, 2010, 03:42 PM
ok, everyone says the open drivers work just fine - do you have the same computer i have? as in - acer 4820tg?
cause with my computer going to system->administration->additional drivers and enabling the ATI drivers makes my computer unable to boot again with graphix (so i need to revert back). am i really the last guy without those drivers?

benjamimgois
October 20th, 2010, 04:34 PM
ok, everyone says the open drivers work just fine - do you have the same computer i have? as in - acer 4820tg?
cause with my computer going to system->administration->additional drivers and enabling the ATI drivers makes my computer unable to boot again with graphix (so i need to revert back). am i really the last guy without those drivers?

Daveboy23, i have the same problem on my HP dv4 2080br. When go to admnistration > addtiononal driver you are installing the proprietary driver FGLRX from ATI and it will not work for anyone right now. Seens that the only way to use the FGLRX is to disable the onboard video driver on the system BIOS. In my case this option doesn't exist on my hp bios, so i have to wait for a solution.

RavensKrag
October 20th, 2010, 05:53 PM
As has been said, the FGLRX drivers are the proprietary close-source drivers. The open-source ATI drivers are part of the kernel, and thus are essentially pre-installed. In short, do not install the drivers though jockey (the method you described). The open-source drivers are the ones that work.

However, benjamimgois, you have a different laptop than us, so just to clarify, you have the ATI Mobility Radeon HD 5650 right? 'cause I'm not sure how well the driver works for other 5 series cards. The 5 series support is a relatively new thing. I believe it just started to roll out last month or something like that. It could work for you, I'm just not sure.

@daveboy23
Yeah, I have the same laptop, and I'm pretty sure the closed-source drivers will not work for a while, if ever. The driver requires kernel mode setting (KMS) to switch graphics systems without restart. Even with a restart, using drivers without KMS is annoying. I had a sony vaio z which had that problem.

I tried to explain this difference before, but apparently I did not do a very good job. Sorry for the confusion ^_^;

daveboy23
October 20th, 2010, 11:28 PM
ohhh ok, now i get it - it's my fault (didn't know the open source came built in) but you learn every day :-)

ok, so, now what? i've tried the UCC like in the video, but it doesn't seem to work for me (cause it can't find another card)

second - really? will never see support for that card? should that be a concern, or should i not care?

thx guys

RavensKrag
October 21st, 2010, 01:39 AM
ok, so, now what? i've tried the UCC like in the video, but it doesn't seem to work for me (cause it can't find another card)

Just double-checking, but what kernel are you running? I believe you need at least 2.6.35 to get 3D support, and at least 2.6.34 to get the card visible. IMO, just having the card visible is kinda useless, as I'm using kernel 2.6.34-1 right now, and I never use the ATI card as it can't even do desktop effects. I'm glad to hear that this problem is resolved in Maverick though.


second - really? will never see support for that card? should that be a concern, or should i not care?

In terms of the close-source driver, perhaps. However, as the open-source driver gets better and better, you might not need the closed-source drivers. Especially if 3D acceleration is now possible with the OSS drivers.

benjamimgois
October 21st, 2010, 02:43 AM
However, benjamimgois, you have a different laptop than us, so just to clarify, you have the ATI Mobility Radeon HD 5650 right? 'cause I'm not sure how well the driver works for other 5 series cards. The 5 series support is a relatively new thing. I believe it just started to roll out last month or something like that. It could work for you, I'm just not sure.


Nope, my video card is a ATI Mobility HD 4550. The 3D acceleration works ok but the performance is very poor compared to FGLRX but it's better then the intel core i5, the VGA and HDMI outputs works too.

For a better performance and support on newer ATI gpus i would recomend to use the X-Updates PPA (https://launchpad.net/~ubuntu-x-swat/+archive/x-updates). It brings the latest stable opensource drivers.

PS: I´ll launch a update of ucc very soon, the latest kernel invert the order of gpus detection, so when you are using low performance graphics card it says that you are using the high performance one.

daveboy23
October 22nd, 2010, 11:37 AM
Just double-checking, but what kernel are you running? I believe you need at least 2.6.35 to get 3D support, and at least 2.6.34 to get the card visible. IMO, just having the card visible is kinda useless, as I'm using kernel 2.6.34-1 right now, and I never use the ATI card as it can't even do desktop effects. I'm glad to hear that this problem is resolved in Maverick though.



In terms of the close-source driver, perhaps. However, as the open-source driver gets better and better, you might not need the closed-source drivers. Especially if 3D acceleration is now possible with the OSS drivers.

i have ubuntu 10.10 (not sure how to check the kernel ver). anyway, how do i check if both cards are working? is there something i can write in terminal? i just wanna make sure everything works.

also, tried UCC, don't see much change, how do i know which card is working?
thx guys

RavensKrag
October 22nd, 2010, 06:58 PM
...

RavensKrag
October 22nd, 2010, 06:59 PM
i have ubuntu 10.10 (not sure how to check the kernel ver). anyway, how do i check if both cards are working? is there something i can write in terminal? i just wanna make sure everything works.
thx guys

For future reference, you can check you kernel version (in gnome anyway) by opening the system monitor, then going to the "system" tab. There is a command you can run, but I forgot what it is.

Regardless, as you are running Maverick, you should have a kernel which can switch to the ATI card.

Try running this to see if the switch mechanism is enabled in kernel.

sudo su
cat /sys/kernel/debug/vgaswitcheroo/switch

then use "exit" to exit the root shell.
If the cat command prints something like


0:+:Pwr:0000:00:02.0
1: :Off:0000:01:00.0

Then you should be able to switch cards.

daveboy23
October 23rd, 2010, 11:03 AM
cool, i've got these:
0: :Pwr:0000:01:00.0
1:+:Pwr:0000:00:02.0
is that ok? (i think it says both are on? what does it say anyway?)

something i just thought about - is there a smaller program that just have the switch graphix thing instead of the entire UCC?
and second - there is a button that should control the switch (the P next to the CD OUT button) would that work for switching? can i make it work somehow?

abbradar
October 24th, 2010, 09:59 PM
Finally modified my DSDT table (taken from 1.19 BIOS ver.) and setted GRUB2 to load it on start. Result: working Bluetooth/WLAN switcher, both in Linux and Windows (Where it wasn't working from time to time). I have Arch Linux, not Ubuntu, but this is one of the biggest threads on my laptop, so let it be there :)
In attachments: modified DSDT source (0 Errors, 0 Warnings, 0 Remarks, 6 Optimizations) and ugly script for GRUB2 for table loading (place in /etc/grub.d)
Also, what about graphics? When I'm turning off Radeon card, system hangs up on the next X server start. Seems turning off Intel is OK for me, but it's a bit annoying.

wizards
October 25th, 2010, 01:21 AM
New revision of ATI (from 22.10.2010) v.10.10 ;-)
http://support.amd.com/us/gpudownload/Pages/index.aspx

but when i install - graphic interface of linux not started .. so maybe some users have more lucky then me :)

kemkem42
October 25th, 2010, 04:02 PM
Hello

I'm planning to purchase a 4820TG (434G64Mn version with ATI 5650)

I've read the entire thread, but I can't be really sure that this version is ok with ubuntu

According this page (link has been found in this thread) http://kblackhat.blogspot.com/2010/10/installing-kubuntu-1004-on-acer.html, this ATI card is ok

So I guess I can proceed :)

I am wrong ?

What is the status with other components (wifi/eth/acpi)?
I've quite sure that new bios provides fixes to these..

many thanks !

shantzg001
October 25th, 2010, 06:13 PM
Finally modified my DSDT table (taken from 1.19 BIOS ver.) and setted GRUB2 to load it on start. Result: working Bluetooth/WLAN switcher, both in Linux and Windows (Where it wasn't working from time to time). I have Arch Linux, not Ubuntu, but this is one of the biggest threads on my laptop, so let it be there :)
In attachments: modified DSDT source (0 Errors, 0 Warnings, 0 Remarks, 6 Optimizations) and ugly script for GRUB2 for table loading (place in /etc/grub.d)
Also, what about graphics? When I'm turning off Radeon card, system hangs up on the next X server start. Seems turning off Intel is OK for me, but it's a bit annoying.

wi-fi/bt switching works fine for me on maverick without any changes with Stock 1.18 bios

abbradar
October 25th, 2010, 07:46 PM
wi-fi/bt switching works fine for me on maverick without any changes with Stock 1.18 bios

...and I have 1.19 BIOS, and bt is constantly not working for me (tried Kubuntu 10.10 too)... maybe it changes from model to model? (AFAIK on different models there are different WLAN/BT adapters installed). I have Foxconn BCM92846 BT and Atheros AR5B95 WLAN adapters.

abbradar
October 25th, 2010, 09:29 PM
Removed modified table from GRUB2, loaded, catched similar bug. Shutted down computer, loaded, catched. Loaded default BIOS settings, loaded and - voila - switching properly working! Don't exactly know what was it connected with, but thanks for your answer.

RavensKrag
October 26th, 2010, 03:15 AM
cool, i've got these:
0: :Pwr:0000:01:00.0
1:+:Pwr:0000:00:02.0
is that ok? (i think it says both are on? what does it say anyway?)

something i just thought about - is there a smaller program that just have the switch graphix thing instead of the entire UCC?
and second - there is a button that should control the switch (the P next to the CD OUT button) would that work for switching? can i make it work somehow?


Ok, this means that your computer can switch graphics cards. The specific info displayed means that the ATI card is active (as indicated by the + sign) and that both cards are on. Assuming the open-source drivers are being used, and you're using Ubuntu Maverick, the 3D support should be working.

In order to switch graphics cards do the following.
First get root (for some reason using sudo isn't enough here)

sudo su
then pick a command depending on what you want to do.

To switch to the ATI card

echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
To switch to integrated Intel graphics

echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch

Then, log out and back in again to complete the switch. (Technically, what you need to do is restart x for the change to take effect.)

At this point, you can turn off the unused card using the following command

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
If you're using the Intel graphics, turning off the unused ATI card will save a lot of power, making your battery life much longer.

I assume this is basically what the UCC does. However, I'm still trying to figure out a way to automate it. There is a post on Phoronix on how to do it in Fedora, but it needs to be modified a little bit.




New revision of ATI...
...
but when i install - graphic interface of linux not started
Please, please at least try to read the last few pages of the thread before replying. I have tried to explain that the closed source drivers most likely do not work and may never work with the ATI switchable graphics. Could be wrong, but this is my understanding of the problem. Try researching ATI and KMS and switchable graphics if you don't believe me/want to learn more. However, the bottom line is that these drivers should not be necessary.

Would the maintainer of the table of stuff that works with this computer please make a note on your website explaining this.

elehcim
October 26th, 2010, 08:28 AM
Hi!
There's a summary of what is contained in RavensKrag's post. In addiction there some scripts by Roberto Martinez for automate the switching.

https://help.ubuntu.com/community/HybridGraphics

Maybe it can be useful.
I've not tried yet, I'll try as soon as possible.

Have a nice day,
Michele

RavensKrag
October 26th, 2010, 08:42 AM
Hi!
There's a summary of what is contained in RavensKrag's post. In addiction there some scripts by Roberto Martinez for automate the switching.

Nice find! This uses a much better method of turning of the unused card that what I've been using. My computer spits out this odd error as it's starting up or logging out which I believe is a side-effect of the method I'm using. The /etc/init.d/rc.local method is much better.

The only problem with that "turn both cards on before shutdown" script is that it has to be run manually before shutdown. I have it set up so that my computer will automatically do that when you use the normal shut down command. However, I sort of forgot what I did ^_^; when I have time to figure it out again, I'll post it here.

I had read the Martinez page directly before, but I personally think the layout of the information on the Ubuntu page makes the information easier to understand.

kemkem42
October 26th, 2010, 09:25 AM
Hi all,

According to the last posts, I understand that :

- Some of the Acer 4820TG have two graphic cards
- You can switch between them to reduce power consumption
- BUT switchable graphics are NOT supported by CLOSE SOURCE drivers

Am I right ?

Can it be applied to the ATI 5650 version of the 4820TG ?

By default, both cards are active and works, the real problem is to switch between them ?

RavensKrag
October 26th, 2010, 08:19 PM
I believe all versions of the 4820tg have both the discrete ATI graphics and the integrated Intel graphics, but feel free to correct me if I'm wrong.

As long as you're using a relatively recent kernel (like the ones posted in this thread, or the one from Maverick) then the switch should work. The problem is not switching, so much as having 3D support work with the ATI card, as far as I understand. Without 3D support, using the ATI card just takes up more power without much benefit imo.

Speaking of which...
@daveboy23
Did you manage to get 3D support working on your computer with the ATI card?

daveboy23
October 26th, 2010, 11:24 PM
I believe all versions of the 4820tg have both the discrete ATI graphics and the integrated Intel graphics, but feel free to correct me if I'm wrong.

As long as you're using a relatively recent kernel (like the ones posted in this thread, or the one from Maverick) then the switch should work. The problem is not switching, so much as having 3D support work with the ATI card, as far as I understand. Without 3D support, using the ATI card just takes up more power without much benefit imo.

Speaking of which...
@daveboy23
Did you manage to get 3D support working on your computer with the ATI card?

did
glxinfo | grep direct
direct rendering: Yes

so i'm guessing the answer is yes

RavensKrag
October 27th, 2010, 02:11 AM
So you can enable desktop effects then, right?

Just want to clarify this issue once and for all.

daveboy23
October 27th, 2010, 02:54 PM
So you can enable desktop effects then, right?

Just want to clarify this issue once and for all.

works like a charm

dalindro
November 1st, 2010, 09:44 AM
Is it possible to connect a wide screen Full HD LCD-tv with an HDMI cable without the FGLRX proprietary drivers. I've tried it a couple of times with the built-in drivers but the TV just keeps flickering? this sucks because i have to switch to Windows every time i'd like to e.g. watch a movie.

moliones
November 1st, 2010, 09:49 AM
Is it possible to connect a wide screen Full HD LCD-tv with an HDMI cable without the FGLRX proprietary drivers. I've tried it a couple of times with the built-in drivers but the TV just keeps flickering? this sucks because i have to switch to Windows every time i'dlike to e.g. watch a movie.

I have been unable to get that to work with switchable graphics, BUT if you enable discrete graphics in the BIOS then the radeon drivers (for me) manage to output video. Sadly, I couldn't get audio working over HDMI. The video and audio both work for me with the FGLRX drivers.

In fact, with the switchable graphics, and the ATI card, I was unable to get any usable output (like it isn't synchronised properly?), while with the intel graphics only the VGA output worked (like it can't see the HDMI output). Does anyone else have this working properly?

41LY45
November 1st, 2010, 06:45 PM
anybody managed to get the desktop visual effects running??

Did installed the xserver drivers, but it doesn't work on mine.

rekettye
November 3rd, 2010, 10:41 AM
Hi,

My problem: so far i have used ubuntu 10.10 with fglrx drivers and experienced no issues at all. However, the newest kernel broke something, so i got only a blinking screen during the boot. I decided to switch to the open source driver, so i removed fglrx and set the graphics mode to switchable. I've also managed to get vga switching working. Now the integrated card works well, but the discrete doesn't (i.e. i can't enable desktop effects). I tried to reinstall the open source drivers, then xorg, with no luck. Also tried to set the graphics mode to discrete. My Xorg.0.log says:
RADEON(0): GPU accel disabled or not working, using shadowfb for KMS
RADEON(0): Direct rendering disabled
How did you get it working?

kugalskaper
November 5th, 2010, 11:52 AM
Ok i hope im not being annoying now, but i would kindly ask for help. I have the 5820TG and i am thinking about migrating to Ubuntu. So my plan is to install Ubuntu through wubi, run it for a while, learn the system, and then install Ubuntu as my 2. OS if i like it. My problem is that i do not know much about linux and can't understand half of the posts here.

I do not need to get stuff like switch-able graphics to work right now, but getting the ethernet/wifi and battery to properly work would be absolutely necessary for me. So if anyone has time to explain it in a step by step i would be very grateful. (i did update my Bios to 1.19, would this automatically fix the battery problem?).

Also wondering if people here with acer 5820tg installs the 32 bit or 64 bit version of ubuntu?

Thank you in advance

marm0tte
November 5th, 2010, 07:30 PM
@kugalskaper


It's easy as a pie ;)

1/ Download wubi :
http://releases.ubuntu.com/releases/10.10/wubi.exe

2/ Follow this howto
https://wiki.ubuntu.com/WubiGuide


After booting to ubuntu, don't be afraid if you find it slow, it's because wubi is not a native installation. In fact wubi will create a big file under your windows partition so due to ntfs fragmentation it can become slow.
For testing functionality it's a very good way :)


Welcome in a real "human software" :p

kugalskaper
November 5th, 2010, 08:36 PM
@marm0tte. Thanks for the reply, but i think you misunderstood me :)

My problem is not installing ubuntu with wubi (i actually did it right after posting). My problem is that like people in this thread i have problems with making some of the hardware work. Especially the fact that the wifi is not working is a big problem for me. I have read through this post, and i know that the answer is here, but im not able to understand how to proceed as i do not know anything about terminal commands and compiling and stuff like that. I would post in the beginners forum, but my goal right now is not learning anything, just being able to use wifi on my computer.

Im not afraid of a little trial and error and i want to learn, but when the wifi is not working in ubuntu its difficult, because I need an internet connection to search for solutions to the problems i am having. Now i have been reading possible solutions, restarting in ubuntu, it does not work, restarting in windows, find something new, restarting in ubuntu and yeah you get my drift so i was wondering if someone could explain in basic step by step turns how to make it work because im getting very confused and frustrated right now :).

marm0tte
November 6th, 2010, 12:05 AM
Ok, sorry for the miss-understanding kugalskaper :-\"

So as far as I understood the wifi, ethernet, battery and video opensource drivers works well in a fresh native install mode of ubuntu 10.10 on the Aspire 4820TG.

For your 5820TG it seems that not. So here is some points that you have to clarify in order to troubleshoot your problems :

- Do you have already installed the 1.19 BIOS version ? It seems to be the same for 4820TG and 5820TG.
Here is the link for your 5820TG :
http://global-download.acer.com/GDFiles/BIOS/BIOS/BIOS_Acer_1.19_A_A.zip?acerid=634217844152767304&Step1=Notebook&Step2=Aspire&Step3=Aspire%205820TG&OS=721&LC=en&BC=Acer&SC=PA_6

- Is the laptop wifi LED turned on ?

- In order to compare your hardware config with the 4820TG, could you send in attachment the result of this terminal command :

sudo lshw>~/lshw_5820TG.log
After the log file will be stored in your home directory

- Does the battery indicator is showed in the top right task bar of ubuntu when you unplug the power cable ?

kugalskaper
November 6th, 2010, 12:24 AM
@marm0tte. Yes my bios is up to date. i will reboot in ubuntu and get the log file. will post back here soon. Thanks for trying to help btw :)

kugalskaper
November 6th, 2010, 12:42 AM
I wasnt able to attach the .log file in the post (got invalid file type or something), so i saved it as a .doc. hope it doesnt matter

The battery seems to be working now, the indicator tells me approximately how much time is left, so i guessed the bios update did the trick there. :)

EDIT: oh and the orange wifi LED below the touchpad is not turned on in Ubuntu

hutini
November 6th, 2010, 09:57 AM
Hi guys im new here but i red this thread for weaks:)
I have a 3820tg and with the latest bios and ubuntu 10.10 nearly everything works fine, but my ati graphics doesn't have the right performance. actually with the standard driver its slower that the i915. if i try to install the cataclyst driver it crushes my system after reboot.(no gui, only comandline)
so my question is: is there a chance to install the cataclyst or any other driver which could support my gpu (e.g. i read something about mesa drivers in an arch forum)
plz help me because this would be the last step to make my 3820tg ubuntu-only ^^
thx hutini

marm0tte
November 6th, 2010, 01:50 PM
@kugalskaper

Ok, so it seems that the only difference between 5820TG and 4820TG is that the 5820 have a little bit faster CPU, a diffenrent screen size maybe and ...
the wifi network card is different :(


-network UNCLAIMED
description: Network controller
product: BCM43225 802.11b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:da400000-da403fff
According to this howto, you have two diffenrent way to make the wifi card working :
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx


1/ Ethernet card work ?
If yes, just plug a RJ45 ethernet cable on your laptop to get acces to the web
After, just type theses commands in a terminal :


sudo apt-get update # in order to update the repository cache from ubuntu package server to your laptop
sudo apt-get install bcmwl-kernel-source # in order to install the wifi broadcom package
After that, under the desktop menu System > Administration > Hardware/Additional Drivers, the STA drivers can be activated for use. Finally, you have to reboot.

2/ Ethernet card does not work
Insert the ubuntu 10.10 64 bits desktop CD (if you don't have dowload it from here :
http://releases.ubuntu.com/maverick/ubuntu-10.10-desktop-amd64.iso

Navigate in the cdrom folder :
pool/restriced/b/bcmwl

Double click on the file named "bcmwl-kernel-source_5.60.48.36+bdcom-0ubuntu5_amd64.deb"

After that, under the desktop menu System > Administration > Hardware/Additional Drivers, the STA drivers can be activated for use. Finally, you have to reboot.


Good luck ;)

marm0tte
November 6th, 2010, 01:52 PM
@hutini

Hello,
What kind of ATI card do you have in your Acer 3820tg ?

kugalskaper
November 6th, 2010, 06:31 PM
Thanks a lot mar0tte. Wifi is working perfectly now.
I have another problem now. The fans seems to be running constantly, i browsed through this post and seems like im not the only one with this problem. no solution was posted though. do you have any idea?

marm0tte
November 6th, 2010, 10:25 PM
I've no fans noise problem with my 4820TG under ubuntu 10.10 64bits

In the meantime, peoples reporting problems with fans were in 10.04 version without 1.19 BIOS, maybe the problem is solved for the 4820TG now ?

For your 5820TG laptop it seems that many people have a problem. I advise you to post under this forum :
http://forum.notebookreview.com/acer/487954-acer-timeline-5820tg-issues-2.html

kugalskaper
November 7th, 2010, 11:16 AM
Hmm i dont think posting in that forum would do any good. I dont think its an issue with my laptop, i only have this problem in ubuntu. I have used my 5820TG for months now and have not had any issues with the fans in windows 7. Its not a really loud fan noise (they are not at 100%), but the fans always run, even when the computer is idle. Could it just be that running ubuntu even idle takes more power than windows 7?

hutini
November 7th, 2010, 12:04 PM
hi i have a ati 5470 hd as discrete graphics card.
but the rest of the hardware should be the same als 4820tg and 5820tg.

NemesisFS
November 7th, 2010, 01:51 PM
Hi,

im running ubuntu10.10 on an acer asprire timelinex 4820tg too. it all works fine, but i got problems switching the grafics....
cat /sys/kernel/debug/vgaswitcheroo/switch returns:

0: :Pwr:0000:01:00.0
1:+:Pwr:0000:00:02.0
but when i enter

echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
/etc/init.d/gdm restartthe system hangs...
when i switch via ctrl+alt+f1 and login, dmesg returns as last results this:

[ 283.757060] vga_switcheroo: client 1 refused switch
[ 283.757066] vga_switcheroo: setting delayed switch to client 0
[ 290.128123] vga_switcheroo: processing delayed switch to 0
as i expected after that, the cat command tells, that the graficcard wasnt switched...

can u help me?

EDIT: Pls excuse my bad english :D

grid_bug
November 7th, 2010, 05:14 PM
As of 10.10 (and BIOS 1.19), most issues seem to be fixed on my 4820TG.
From my not-at-all-rigorous testing...

Ethernet--working
WiFi--working
Graphics Switching--working(but with occasional weirdness)
Battery Status/ Charging--working
Multitouch--working(but fails when I suspend or hibernate, rerunning the script seems to work
Fn+F3--partial(disconnects from whatever network I'm on, but doesn't power down the card
Bluetooth--not working(no hardware installed according to Bluetooth Settings)
IntelHD graphics acceleration--working
Radeon 5650 graphics acceleration--partial(glxinfo says it's there, but I can't enable desktop effects, and the flgrx driver doesn't get past tty, slower than th IntelHD)
Battery life--not bad(5-7 hours on the IntelHD card, 2-3 hours on the Radeon, which I can't use :()
Internal Mic--working(just don't be an idiot like me and mess with the sound settings so that it doesn't work)
External Mic--not tested
HDMI--not tested
CD/DVD eject--working(both eject and the button)

Does the OSS radeon driver actually work? I've read that it does, but it doesn't for me.

hutini
November 7th, 2010, 09:58 PM
exactly the same with my 3820tg
i guess the last big issue is the driver for the ati card does anybody got that working`?

LintWad
November 8th, 2010, 01:43 AM
I have been using Ubuntu on my 4820t for a few months and have generally been quite happy. However, I have noticed many of the problems listed above which seem to be covered by the BIOS update. Unfortunately, I no longer have windows on this machine.

I attempted to utilize the procedure outlined here ( http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html ), but the update file from Acer is larger than the 1.44 MB limit.

For those of you who have successfully flashed your BIOS from ubuntu, how did you overcome this limitation?

kemkem42
November 8th, 2010, 01:48 PM
Maybe you can flash bios using freedos (which is a clone of ms dos..)

instead of a floppy, use a usb key !
like this: http://goebelmeier.de/bootstick/

marm0tte
November 8th, 2010, 07:53 PM
@LintWad

Hello,


We have already discuss this subject on the page 15 :
http://ubuntuforums.org/showthread.php?t=1495123&page=15

LintWad
November 9th, 2010, 06:17 PM
Using the procedure discussed on page 15 produces the exact problem I wish to avoid.

http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html

Specifically, when I check to "see that everything went ok" it shows the entire file was not moved to the floppy image. It is too large (2.5 MB). Therefore, unless I am missing a step, that method does not work for me. Thus, my question above.

marm0tte
November 9th, 2010, 08:46 PM
Ok, don't have time to test it but please try this how to:

http://tuxtweaks.com/2009/09/create-a-bootable-freedos-usb-drive-on-linux-with-unetbootin/

garips
November 10th, 2010, 06:47 PM
Hi,

i read almost the whole thread, but couldnt find a solution to my problems

even after upgrading bios and with ubuntu 10.10 swiching graphics is a problem with my 4820tg. Switching in a shell generally works (with reversed commands!), but without having an effect on power consumption. Switching with UCC is like throwing dice, sometimes it works sometimes it doesnt. sometimes it shows the correct gpu as active, sometimes it doesnt. and again, even if it works, no effekt on battery life.

another weird thing is that the power consumption when on battery is between 25W and 32W, but when on plug, it drops to 17,5.

hope that somebody can help
garips

marm0tte
November 10th, 2010, 10:01 PM
@LintWad

So, I've completely test this howto and it works :
http://tuxtweaks.com/2009/09/create-a-bootable-freedos-usb-drive-on-linux-with-unetbootin/

You might use a "good" usb stick. I mean that a noname usb key may not work.
I've tried the procedure with 2 noname sticks and in freedos when I list the c: drive (1st usb partition) the shell never returned to prompt and I had to reboot.

But, my PNY 8GB usb stick works well


Here is the process I use :

1/ In ubuntu, backup the datas of the usb stick.
Launch GParted :
sudo gparted

2/ Delete all the partitions. Create a FAT16 primary partition of 512MB for example.
Create a second NTFS or FAT32 partition with the rest of free space
Click Apply

3/ Set a boot flag on the FAT16 partition and close Gparted

4/
Download the last BIOS update for the Acer
Download FreeDOS base CD : http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdbasecd.iso
Copy the BIOS .EXE file on the USB key

Install unetbootin :
sudo apt-get install unetbootin
and start it

5/ Select "Disk /image" and select "ISO" . Browse your disk to the fdbasecd.iso file
in the "drive" list, select your usb stick device (/dev/sdXX)
Click OK

6/ Restart. Go into the F2 BIOS Setup menu.
Select F12 Boot Menu => Enable
Save and exit

7/ Press F12 and select USB HDD in order to boot on the usb stick
In the next menu select FDos and select the 2nd option Start Freedos CD ...

8/ Be sure to have the Power supply plugged on your laptop
At the DOS prompt type :
C:
And launch the ZQ1_119.exe in order to flash BIOS


This is it ! :P

garips
November 11th, 2010, 02:36 PM
battery and graphics issues are fixed, thanks to grid_bug.
i must have done something wrong using the switch_between_cards script.

LintWad
November 11th, 2010, 11:32 PM
Thank you Marm0tte, I plan to try this as soon as I can (potentially, but hopefully not) go without my computer for a couple days.

Hantuosen
November 12th, 2010, 12:58 PM
battery and graphics issues are fixed, thanks to grid_bug.
i must have done something wrong using the switch_between_cards script.

Hi Garips!
Have the same problems with graphic switching (using UBC, power consumption never below 28W, no matter which card is in use).
Could you elaborate on how you solved it? What's the grid_bug? Thank you

grid_bug
November 13th, 2010, 04:49 AM
Hi Garips!
Have the same problems with graphic switching (using UBC, power consumption never below 28W, no matter which card is in use).
Could you elaborate on how you solved it? What's the grid_bug? Thank you
grid_bug would be me. read this for a useful explanation of how to use vgaswitcheroo to increase battery life
https://help.ubuntu.com/community/HybridGraphics (https://help.ubuntu.com/community/HybridGraphics?action=show)

daveboy23
November 13th, 2010, 11:34 AM
grid_bug would be me. read this for a useful explanation of how to use vgaswitcheroo to increase battery life
https://help.ubuntu.com/community/HybridGraphics (https://help.ubuntu.com/community/HybridGraphics?action=show)

ok, a little stupid question - i finished doing everything it says, but i can't seem to run the .sh script. what should i do, put it in some folder? excute it? what?

kemkem42
November 13th, 2010, 01:23 PM
Hello

My 4820TG (ATI 5650 graphics) works quite well with ubuntu 10.10

But still have some problems :

First, I can't switch to ATI card. It can be powered ON/OFF only.
I've used this script (which is nice), but ATI card is never in use.
http://asusm51ta-with-linux.blogspot.com/
I haven't installed closed drivers, bios is set to "switchable".
Anyone have a clue ?

Second, hibernate function not working very well.
At the beginning, it seems to work. Now, when I shut down using "hibernate" option, the screen switch to a black console, nothing more..

Thanks..

LintWad
November 20th, 2010, 12:24 AM
@LintWad

So, I've completely test this howto and it works :
http://tuxtweaks.com/2009/09/create-a-bootable-freedos-usb-drive-on-linux-with-unetbootin/

You might use a "good" usb stick. I mean that a noname usb key may not work.
I've tried the procedure with 2 noname sticks and in freedos when I list the c: drive (1st usb partition) the shell never returned to prompt and I had to reboot.

But, my PNY 8GB usb stick works well


Here is the process I use :

1/ In ubuntu, backup the datas of the usb stick.
Launch GParted :
sudo gparted

2/ Delete all the partitions. Create a FAT16 primary partition of 512MB for example.
Create a second NTFS or FAT32 partition with the rest of free space
Click Apply

3/ Set a boot flag on the FAT16 partition and close Gparted

4/
Download the last BIOS update for the Acer
Download FreeDOS base CD : http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdbasecd.iso
Copy the BIOS .EXE file on the USB key

Install unetbootin :
sudo apt-get install unetbootin
and start it

5/ Select "Disk /image" and select "ISO" . Browse your disk to the fdbasecd.iso file
in the "drive" list, select your usb stick device (/dev/sdXX)
Click OK

6/ Restart. Go into the F2 BIOS Setup menu.
Select F12 Boot Menu => Enable
Save and exit

7/ Press F12 and select USB HDD in order to boot on the usb stick
In the next menu select FDos and select the 2nd option Start Freedos CD ...

8/ Be sure to have the Power supply plugged on your laptop
At the DOS prompt type :
C:
And launch the ZQ1_119.exe in order to flash BIOS


This is it ! :P

For the record, this method works. Well.

A couple things I was unfamiliar with that may help others. Both the bios update and the freedos are loaded on the same partition (FAT 16). After setting your boot order the screen will sit for a few moments until the freedos load button will show. Choose freedos, then choose the standard option. Command prompt will show up and the rest is just like described.

andy12345
November 24th, 2010, 04:02 PM
I have been having problems with my graphics card, heres the post http://ubuntuforums.org/showthread.php?t=1629799

Xanfer
November 24th, 2010, 09:26 PM
Hello
Does anybody know how the bug with bt can be won?
It seems that at the first boot to ubuntu after windows(with working bt) it turns on for 1 second when I press Fn+F3 several times. But after it turns down, and I can't make him switch on again.
Also, after that bt doesn't working in win7 too...but all returns in normal state(working in win, and not working in ubuntu) when win7 downloads and installs some updates.

andy12345
November 25th, 2010, 12:05 PM
Hello
Does anybody know how the bug with bt can be won?
It seems that at the first boot to ubuntu after windows(with working bt) it turns on for 1 second when I press Fn+F3 several times. But after it turns down, and I can't make him switch on again.
Also, after that bt doesn't working in win7 too...but all returns in normal state(working in win, and not working in ubuntu) when win7 downloads and installs some updates.

Mine works normally with Fn+F3.

I am having some problems, are there any solutions to these?

1. Laptop heats up pretty fast (in an hour of surfing only it hits upto 60-65, while in windows even after a movie its just at 47 (deg cel)). To clear up any confusion, the fan works perfectly in ubuntu.

2. I am unable to run games through wine (I have checked the supported games list and CS and warcraft was there, I have also tried searching), I am using a 64 bit Ubuntu 10.10

3.SOLVER WITH BIOS UPDATEBattery/AC power is not displayed.(I have tried help and some commands, it shows that gdm power manager is running)
Solution:- First you need to check if you have the acpi. To check type in terminal

acpi
If not install it will tell you to type the following to install

sudo apt-get install acpi


4. The ATI card issue remains unsolved for me.(how to switch to intels?)

wizards
November 26th, 2010, 09:06 AM
Hello
Does anybody know how the bug with bt can be won?
........

Hi,
for my BT works fine with ubuntu 10.10 64bit(bios 1.19).When i press (once or twice - i don't know exatly)start wifi and bluetooth.Bluetooth communication with my android on HTC HD2 fine.Which version Ubuntu you have?


.......

Problem with AC power/Battery solved bios 1.19.

andy12345
November 26th, 2010, 06:18 PM
How to switch between graphics cards? ATI's heats up pretty fast.

Xanfer
November 27th, 2010, 11:29 AM
Hi,
for my BT works fine with ubuntu 10.10 64bit(bios 1.19).When i press (once or twice - i don't know exatly)start wifi and bluetooth.Bluetooth communication with my android on HTC HD2 fine.Which version Ubuntu you have?


I have 10.10 and bios 1.19 too. Pressing F3+fn sometimes turns it on, but only for one moment. And i can't resolve this :(

nicolaary
November 28th, 2010, 09:23 AM
yap, i actually searched for that myself - here's the solution: go to skype and disable the automatic sound adjust thing then go to terminal - type alsamixer, press F4 (capture tab) - so to capture and put it all the way up (or to a volume you like) then (on the same column) press 'y' till you completely mute the left channel. now skype works. problem - if you change the volume from the pulse you loose this configuration so take care.



Hi DaveBoy23,
sorry for my late reply!

Now it works in Skype and also in Google Talk!

I have added your post in my summary blog ...http://kblackhat.blogspot.com/

Bye

Nicola :popcorn:

roshats
November 28th, 2010, 10:20 AM
Hello. Looking for information about this model I frequently came to this page http://www.linlap.com/wiki/acer+aspire+4820+timelinex . I see high potential in this laptop. Other people would came to this page too. Can someone clarify data in it? Does 'tested' in table mean 'works'? Can someone summarize one need to do to fix solved problems?
Good luck.

daveboy23
November 29th, 2010, 12:38 PM
Hi DaveBoy23,
sorry for my late reply!

Now it works in Skype and also in Google Talk!

I have added your post in my summary blog ...http://kblackhat.blogspot.com/

Bye

Nicola :popcorn:
i'm glad to know i did my small part to help the community


Hello. Looking for information about this model I frequently came to this page http://www.linlap.com/wiki/acer+aspire+4820+timelinex . I see high potential in this laptop. Other people would came to this page too. Can someone clarify data in it? Does 'tested' in table mean 'works'? Can someone summarize one need to do to fix solved problems?
Good luck.
not problem on clarifying the data - the computer works perfectly after the bios 1.19 and various fixes (easily performed) from this website (from the first quote)
http://kblackhat.blogspot.com/

andy12345
November 29th, 2010, 07:38 PM
Almost all of my issues have been solved. I have to still test games which I will do so after my exams (after 23rd dec).
For anyone having problems I suggest the following
Problems & solutions for Ubuntu 10.10 on 4820TG
1. Battery/Power issues
Get the latest BIOS from acer and install (I did it through my windows, really easy, just have to execute a file)
Log in ubuntu and install acpi and reboot.
2. Card switching issues.
This is my post(click me) (http://ubuntuforums.org/showthread.php?t=1629799) realted to the problem which has been now solved.
This is the solution.(click me) (http://asusm51ta-with-linux.blogspot.com/)
Thats all the basic issues I had. I have compared the copy speeds and ubuntu is just a bit faster(normal test nothing fancy with lots of runs or anything).
I have also ready that game fps are good for ubuntu rather than windows (I saw the WoW video), so I will try some games out later.
I would really like to thank the ubuntu community for their help in resolving my problems.

roshats
November 29th, 2010, 09:18 PM
It's amazing. You've done a great work. As i understood all now works fine after upgrading BIOS, installing acpi and doing steps written on http://asusm51ta-with-linux.blogspot.com/ . Even wifi and ethernet works? How long can a laptop run on battery power? Thanks.

andy12345
November 30th, 2010, 06:13 AM
It's amazing. You've done a great work. As i understood all now works fine after upgrading BIOS, installing acpi and doing steps written on http://asusm51ta-with-linux.blogspot.com/ . Even wifi and ethernet works? How long can a laptop run on battery power? Thanks.
I get around 7 to 8 hours with wifi on and 60% brightness.(just surfing and downloading)

roshats
November 30th, 2010, 07:17 PM
Awesome battery life. Thanks for quick reply.

grid_bug
December 7th, 2010, 09:32 PM
I'm having some issues getting bluetooth working(I cant seem to find the hardware, either in linux or Windows). is there some output from lshw or lspci that I should be seeing?

favt
December 8th, 2010, 06:00 PM
Anybody try run "switch_before_shutdown.sh" (or only echo ON > /sys/kernel/debug/vgaswitcheroo/switch) from http://asusm51ta-with-linux.blogspot.com/ in automatic shutdown with gnome-applet ?
I try put script (echo ON > /sys/kernel/debug/vgaswitcheroo/switch) in rc0.d and rc6.d, but has not effect.
P.S. Sorry for my English.

Xanfer
December 8th, 2010, 06:30 PM
I'm having some issues getting bluetooth working(I cant seem to find the hardware, either in linux or Windows). is there some output from lshw or lspci that I should be seeing?

My bt isn't working too and I have nothing about it in lshw, but dmseg write about some problems with initialization config files when Fn+F3 is pressed.

Xirev
December 9th, 2010, 03:51 AM
Has anyone tried the following fix for mulitouch with Ubuntu 10.10? It's not working on my laptop for some reason. Perhaps it only works on 10.04.

EDIT: Nevermind, it seemed to have fixed itself. I fiddled with some settings using synclient which helped a little but did not completely fix the problem. I then restart the laptop and for all you know the thing works like a charm using the script below.



1) create a file named .touchpad.sh in your home
2) open the file and copy these line into it:


#!/bin/sh

sleep 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8The sleep time is necessary.
3) make the file executable with

chmod u+x ./.touchpad.sh4) add the file file in autostart application: system->preference->autostart application

Xirev
December 11th, 2010, 06:00 AM
Ok 2 issues:

Touchpad: I just discovered that contrary to what my post above says, my touchpad on the 4820t is not working properly. It seems to be a matter of luck really. Sometimes I restart and it's working great, other times when I put two fingers on it the mouse pointer goes nuts. Today for instance I sent it to sleep than after wake up it's working properly. I'm really at loss to what could be causing this.

Battery Indicator: When I unplug the charger Ubuntu does not know what happened at first and continues normally. However when I plug it in again and then take it out, it detects the battery is discharging. Anyone encountered this strange behaviour?

Xanfer
December 15th, 2010, 05:47 PM
Does anybody know what should i do to enable bt?
upgrading bios didn't help...neither on 1.19 nor on 1.22 it doesn't work...
dmesg write, when Fn+F3 is pressed:


[ 147.668810] usb 2-1.5: new full speed USB device using ehci_hcd and address 3
[ 147.824506] Bluetooth: Atheros AR30xx firmware driver ver 1.0
[ 148.130542] usbcore: registered new interface driver ath3k
[ 148.236058] usb 2-1.5: USB disconnect, address 3
[ 149.712508] usb 2-1.5: new full speed USB device using ehci_hcd and address 4
[ 149.850097] Bluetooth: Core ver 2.15
[ 149.850123] NET: Registered protocol family 31
[ 149.850125] Bluetooth: HCI device and connection manager initialized
[ 149.850127] Bluetooth: HCI socket layer initialized
[ 149.862429] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 149.862753] usbcore: registered new interface driver btusb
[ 149.972721] Bluetooth: L2CAP ver 2.14
[ 149.972725] Bluetooth: L2CAP socket layer initialized
[ 150.007664] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 150.007669] Bluetooth: BNEP filters: protocol multicast
[ 150.029658] Bluetooth: SCO (Voice Link) ver 0.6
[ 150.029664] Bluetooth: SCO socket layer initialized
[ 150.282887] usb 2-1.5: USB disconnect, address 4
[ 150.282920] btusb_intr_complete: hci0 urb f0982680 failed to resubmit (19)
[ 150.282988] btusb_bulk_complete: hci0 urb f0982780 failed to resubmit (19)
[ 150.282995] btusb_bulk_complete: hci0 urb f0982480 failed to resubmit (19)

kamakshaiah
December 16th, 2010, 07:23 AM
does this bios 1.18 works for Aspire 4745, and also tell me how to upgrade it.
Please help me.

MKamakshaiha