Difference between revisions of "Acer TimelineX"

From ArchWiki
Jump to: navigation, search
(Issues)
(ACPI)
Line 72: Line 72:
 
cat /sys/kernel/debug/vgaswitcheroo/switch</pre>
 
cat /sys/kernel/debug/vgaswitcheroo/switch</pre>
 
== ACPI ==
 
== ACPI ==
ACPI is so broken at the momnent....
+
ACPI is so broken at the moment....
 +
 
 +
=== LCD Brigthness ===
 +
To change the brightness using Fn keys, you must add these settings to the kernel command line in grub :
 +
 
 +
<pre>kernel <...> acpi_osi=Linux</pre>
  
 
=== Laptop Mode Tools ===
 
=== Laptop Mode Tools ===

Revision as of 14:22, 16 July 2010

Hardware is a 4820TG, but should be similar for all these laptops.

Device Status Modules
Intel Working xf86-video-intel
Ati Partially Working xf86-video-ati
Ethernet Working atl1e
Wireless Working ath9k
Audio Working snd_hda_intel
Camera Working uvcvideo
Card Reader Unknown
Function Keys Partially Working

Installation

There is a quirk if you want to install archlinux, you need to connect via wireless as ethernet hardware is supported only by linux 2.6.34+. Follow beginners' guide for the rest.


Xorg

You need ati and i915 xorg drivers.

pacman -S xf86-video-ati xf86-video-intel

With Xorg you don't need hal anymore, and configuration can be done exclusiuvely within the xorg.conf.d directory

Touchpad

Touchpad is a synaptics so you need its driver:
pacman -S xf86-input-synaptics

Then add to /etc/X11/xorg.conf.d a new file (name it 20-synaptics.conf)

Section "InputClass"
 Identifier "touchpad"
 Driver "synaptics"
 MatchIsTouchpad "on"
 Option "SHMConfig" "on"
 Option "TapButton1" "1"
 Option "TapButton2" "2"
 Option "TapButton3" "3"
 Option "VertEdgeScroll" "on"
 Option "VertTwoFingerScroll" "on"
 Option "HorizEdgeScroll" "on"
 Option "HorizTwoFingerScroll" "on"
 Option "CircularScrolling" "on"
 Option "CircScrollTrigger" "2"
 Option "EmulateTwoFingerMinZ" "0"
EndSection

Keyboard

Add a new file in xorg.conf.d (name it 20-keymap.conf)

Section "InputClass"
        Identifier "Acer Keyboard"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Option                 "XkbLayout" "it"
        Option                 "XkbModel" "acer_laptop"
        Driver "evdev"
EndSection

Replace it with your keymap.

Switchable Graphics

Switching cards works. A restart of Xorg is required to switch.

#enable ati
echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
#enable intel
echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
#power off unused card
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
#Status
cat /sys/kernel/debug/vgaswitcheroo/switch

ACPI

ACPI is so broken at the moment....

LCD Brigthness

To change the brightness using Fn keys, you must add these settings to the kernel command line in grub :

kernel <...> acpi_osi=Linux

Laptop Mode Tools

Install laptop-mode-tools

pacman -S laptop-mode-tools

You need to enable these modules in /etc/laptop-mode/conf.d

auto-hibernate.conf Hibernate when battery level becomes critical

cpufreq.conf Adjust CPU speed

Add acpi_cpufreq, cpufreq_ondemand and cpufreq_powersave to modules in rc.conf

dpms-standby.conf Turn off screen when not needed

ethernet.conf Turn off ethernet when on battery

intel-hda-powersave.conf Turn on powersaving for audio chip

intel-sata-powermgmt.conf Powersave for hard disk

lcd-brightness.conf Change brightness when on battery

The file is called /proc/acpi/video/GFX0/DD02/brightness and acceptable values are 10..100 with a step of 10

sched-mc-power-savings.conf Additional CPU powersave features

sched-smt-power-savings.conf Additional CPU powersave features

usb-autosuspend.conf Suspend unused USB devices

video-out.conf Disable video out on battery

wireless-power.conf Powersaving for atheros chip

Hardware

Wifi

Works out of the box and supports injection and ap mode.

Camera

Works out of the box.

Info

lspci

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 ff)
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 Device 68e0 (rev ff)
01:00.1 Audio device: ATI Technologies Inc Device aa68 (rev ff)
02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
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)

Issues

ACPI is broken so battery level is unknown.

Note : With the latest BIOS from Acer (1.13), things looks better, baterry state is available but not the cycle count. 
Tested with 3820T, but should be the same with the 4820T

There's a workaround while waiting for an official solution. Apply 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);

Ati chip has no 3d acceleration

Links

ACPI Bug

Ubuntu-it thread