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

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

{| style="float:right; border: 1px solid #000;"

{| style="float:right; border: 1px solid #000;"

Line 26:

Line 29:

|}

|}

== Installation ==

== 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.

+

There is a quirk if you want to install Arch Linux. You need to connect via wireless, as Ethernet hardware is supported only by Linux kernel 2.6.34 and higher. Follow the [[Beginners' Guide]] for the rest.

== Xorg ==

== Xorg ==

=== Open source drivers ===

=== Open source drivers ===

−

You need ati and i915 xorg drivers.

+

You need ati and i915 xorg drivers:

−

<pre>pacman -S xf86-video-ati xf86-video-intel</pre>

+

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

If you need to use {{Ic|radeon}} and HDMI, you can manually enable it by executing

+

modprobe radeon

−

Now, regenerate the initramfs:

+

Kernel message with respect to {{Ic|radeon}} is as follows -

−

# mkinitcpio -p kernel26

+

<pre>

−

where the 26 corresponds to the current kernel version of '''2'''.'''6'''.xx

+

pci 0000:01:00.0: setting latency timer to 64

+

[drm] Initialized radeon 1.33.0 20080528 for 0000:01:00.0 on minor 1

+

[drm] Module unloaded

+

[drm] radeon kernel modesetting enabled.

+

VGA switcheroo: detected switching method \_SB_.PCI0.GFX0.ATPX handle

+

radeon 0000:01:00.0: setting latency timer to 64

+

[drm] initializing kernel modesetting (REDWOOD 0x1002:0x68C1).

+

[drm] register mmio base: 0xDC400000

+

[drm] register mmio size: 131072

+

vga_switcheroo: enabled

+

radeon atpx: version is 1

+

ATOM BIOS: Acer

+

radeon 0000:01:00.0: VRAM: 1024M 0x00000000 - 0x3FFFFFFF (1024M used)

+

radeon 0000:01:00.0: GTT: 512M 0x40000000 - 0x5FFFFFFF

+

mtrr: no more MTRRs available

+

[drm] Detected VRAM RAM=1024M, BAR=128M

+

[drm] RAM width 128bits DDR

+

[TTM] Zone kernel: Available graphics memory: 1859316 kiB.

+

[TTM] Initializing pool allocator.

+

[drm] radeon: 1024M of VRAM memory ready

+

[drm] radeon: 512M of GTT memory ready.

+

radeon 0000:01:00.0: irq 44 for MSI/MSI-X

+

radeon 0000:01:00.0: radeon: using MSI.

+

[drm] radeon: irq initialized.

+

[drm] GART: num cpu pages 131072, num gpu pages 131072

+

[drm] Loading REDWOOD Microcode

+

[drm] ring test succeeded in 1 usecs

+

[drm] radeon: ib pool ready.

+

do_IRQ: 3.137 No irq handler for vector (irq -1)

+

[drm] ib test succeeded in 0 usecs

+

[drm] Radeon Display Connectors

+

[drm] Connector 0:

+

[drm] LVDS

+

[drm] DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c

+

[drm] Encoders:

+

[drm] LCD1: INTERNAL_UNIPHY

+

[drm] Connector 1:

+

[drm] HDMI-A

+

[drm] HPD1

+

[drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c

+

[drm] Encoders:

+

[drm] DFP1: INTERNAL_UNIPHY1

+

[drm] Connector 2:

+

[drm] VGA

+

[drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4

+

[drm] Encoders:

+

[drm] CRT1: INTERNAL_KLDSCP_DAC1

+

[drm] Internal thermal controller with fan control

+

[drm] radeon: power management initialized

+

[drm] fb mappable at 0xD0140000

+

[drm] vram apper at 0xD0000000

+

[drm] size 4325376

+

[drm] fb depth is 24

+

[drm] pitch is 5632

+

fb1: radeondrmfb frame buffer device

+

[drm] Initialized radeon 2.6.0 20080528 for 0000:01:00.0 on minor 1

+

</pre>

−

Everything should work now. If you are having problems, try explicitly enabling KMS by adding i915.modeset=1 to your kernel line in /boot/grub/menu.lst:

+

TimelineX 4820TG is having switchable graphics. To disable switchable graphics, add following to {{ic|/etc/modprobe.d/radeon.conf}}

−

# (0) Arch Linux

+

options radeon modeset=0

−

title Arch Linux

−

root (hd0,0)

−

kernel /boot/vmlinuz26 root=/dev/... '''i915.modeset=1'''

−

initrd /boot/kernel26.img

−

and make sure that you do not use the "vga=..." property nor "nomodeset". Now reboot, and Xorg will work.

−

For more information, check [https://wiki.archlinux.org/index.php/Intel Intel] and [https://wiki.archlinux.org/index.php/ATI ATI].

+

For more information, check [[Intel]] and [[ATI]].

=== Experimental open source drivers ===

=== Experimental open source drivers ===

−

These drivers are unstable. If you are not an experienced linux user please don't try this drivers, they would eat your hamster.

+

These drivers are unstable. If you are not an experienced linux user please do not try this drivers, they would eat your hamster.

+

==== Classic mesa ====

==== Classic mesa ====

All support for evergreen cards is in master branch already.

All support for evergreen cards is in master branch already.

−

<pre>yaourt -S xf86-video-ati-git</pre>

+

yaourt -S xf86-video-ati-git

−

<pre>yaourt -S mesa-git</pre>

+

yaourt -S mesa-git

−

Pros: There's 2d and 3d available

+

+

Pros: There is 2D and 3D available

+

+

Cons: Full of bugs; not developed actively

+

+

{{Note|AUR helpers like {{AUR|yaourt}} are not supported by the Arch Linux developers, so use this at your own risk!}}

−

Cons: full of bugs, not developed actively

==== Gallium ====

==== Gallium ====

Gallium support is in r600g and i965g modules.

Gallium support is in r600g and i965g modules.

Line 70:

Line 128:

=== Closed Catalyst drivers ===

=== Closed Catalyst drivers ===

−

[[ATI Catalyst | Catalyst]] (also known as ''fglrx'') is a closed source graphics driver provided by ATI. It doesn't support certain features that the open source drivers do, but it has fully working, fast 3D acceleration. This is working at least with Acer Aspire TimelineX 3820TG that has ATI Mobility Radeon HD 5650.

+

[[ATI Catalyst | Catalyst]] (also known as ''fglrx'') is a closed source graphics driver provided by ATI. It does not support certain features that the open source drivers do, but it has fully working, fast 3D acceleration. This is working at least with Acer Aspire TimelineX 3820TG that has ATI Mobility Radeon HD 5650.

−

Since Catalyst can't handle switchable graphics cards, you have to disable the Intel card from BIOS. At least with BIOS v.1.19 you can do that by changing VGA mode to "Discrete".

+

Since Catalyst cannot handle switchable graphics cards, you have to disable the Intel card from the BIOS. At least with BIOS v.1.19 you can do that by changing VGA mode to "Discrete".

−

If you use the stock kernel you can install Catalyst with the AUR packages [http://aur.archlinux.org/packages.php?ID=40833 catalyst-utils] and [http://aur.archlinux.org/packages.php?ID=29111 catalyst]. If you have 64-bit system and you want to use 3D acceleration also in 32-bit games, you should also install [http://aur.archlinux.org/packages.php?ID=24824 lib32-catalyst-utils]. Note that installing these packages will make you remove the open source video drivers.

+

If you use the stock kernel you can install Catalyst with the AUR packages {{AUR|catalyst-utils}} and {{AUR|catalyst}}. If you have a 64-bit system and you want to use 3D acceleration also in 32-bit games, you should also install {{AUR|lib32-catalyst-utils}}. These packages are also available for download from a third-party repository, see the [https://wiki.archlinux.org/index.php/ATI_Catalyst ATI Catalyst] wiki page. Note that installing these packages will make you remove the open source video drivers.

−

After installing package you probably need to configure xorg. Using provided '''aticonfig''' tool is recommended:

+

After installing package you probably need to configure [[Xorg]]. Using the provided '''aticonfig''' tool is recommended:

<pre>

<pre>

# aticonfig --initial

# aticonfig --initial

Line 82:

Line 140:

# aticonfig -v

# aticonfig -v

</pre>

</pre>

−

Catalyst doesn't support KMS, so you should add '''nomodeset''' to your kernel line in /boot/grub/menu.lst , ie.:

−

<code>kernel /boot/vmlinuz26 root=/dev/sda1 ro nomodeset</code>

−

It is also recommened to add '''fglrx''' to the MODULES list in /etc/rc.conf.

+

Catalyst does not support KMS, so you should add {{Ic|nomodeset}} to your kernel line in {{ic|/boot/grub/menu.lst}}, like this:

+

kernel /boot/vmlinuz26 root=/dev/sda1 ro nomodeset

+

+

It is also recommended (but not strictly necessary) to add {{Ic|fglrx}} to the {{Ic|MODULES}} array in {{ic|/etc/rc.conf}}.

You may now reboot your system.

You may now reboot your system.

=== Switchable Graphics ===

=== Switchable Graphics ===

−

Switching video cards works with the open source graphics driver. A restart of Xorg is required when switching.

+

Switching video cards works with the open source graphics driver.

You must have debugfs mounted for the switch access:

You must have debugfs mounted for the switch access:

−

<pre># mount -t debugfs debugfs /sys/kernel/debug</pre>

+

# mount -t debugfs debugfs /sys/kernel/debug

+

or add following to {{ic|/etc/fstab}}:

+

debugfs /sys/kernel/debug debugfs 0 0

+

+

Make sure that your radeon driver is loaded:

+

modprobe radeon

Then you can use the following commands:

Then you can use the following commands:

Line 107:

Line 171:

#Power off unused card

#Power off unused card

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

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

+

+

#Power on unused card

+

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

+

</pre>

+

+

You may also [http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html use acpi_call module] to switch graphics. There is a package in the [[AUR]] named {{AUR|acpi_call-git}}.

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

+

Add acpi_cpufreq, cpufreq_ondemand and cpufreq_powersave to the {{Ic|MODULES}} array in {{ic|/etc/rc.conf}}.

'''dpms-standby.conf''' Turn off screen when not needed

'''dpms-standby.conf''' Turn off screen when not needed

Line 172:

Line 258:

'''lcd-brightness.conf''' Change brightness when on battery

'''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

+

The file is called {{ic|/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-mc-power-savings.conf''' Additional CPU powersave features

Line 186:

Line 272:

== Hardware ==

== Hardware ==

=== Bluetooth ===

=== Bluetooth ===

−

Works out of the box. On some machines cannot turn on because of Fn+F3 switching only WLAN. [http://ubuntuforums.org/showpost.php?p=10021228&postcount=183 Fixed DSDT table] seems to solve the problem.

+

Works out of the box. On some machines, Bluetooth cannot turn on because of {{Keypress|Fn}}+{{Keypress|F3}} switching only WLAN. [http://ubuntuforums.org/showpost.php?p=10021228&postcount=183 Fixed DSDT table] seems to solve the problem.

−

On the 3820TG, bluetooth might not work even if Fn+F3 is used to turn it on. (Symptoms include "usb disconnect" messages in dmesg, and the adapter not showing up in ''hcitool dev''.)

+

On the 3820TG, Bluetooth might not work even if {{Keypress|Fn}}+{{Keypress|F3}} is used to turn it on. (Symptoms include "usb disconnect" messages in dmesg, and the adapter not showing up in ''hcitool dev''.)

−

In this case, copying /lib/firmware/ath3k-2.fw to /lib/firmware/ath3k-1.fw helps, see [http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg2579867.html this mailing list thread]. If it does not work for you, please change this note!

+

In this case, copying {{ic|/lib/firmware/ath3k-2.fw}} to {{ic|/lib/firmware/ath3k-1.fw}} helps, see [http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg2579867.html this mailing list thread]. If it does not work for you, please change this note!

Wifi driver does not work by default. You need to install [http://aur.archlinux.org/packages.php?ID=31449 broadcom-wl] and [http://aur.archlinux.org/packages.php?ID=21690 b43-firmware].

+

Wi-Fi driver does not work by default. You need to install {{AUR|broadcom-wl}} and {{AUR|b43-firmware}}.

−

<pre>

+

Once you are done with driver and firmware installation, you need to add the following in the {{Ic|MODULES}} array in {{ic|/etc/rc.conf}} and reboot:

−

# aurget --deps -Sy broadcom-wl

+

MODULES=([...] lib80211 wl !b43 !ssb)

−

# aurget --deps -Sy b43-firmware

−

</pre>

−

Once you are done with driver and firmware installation, you need add following in the modules in rc.conf and reboot:

+

Once rebooted, you can confirm the working of the driver by following commands

+

# ip link

+

# ip link set eth1 up

+

# iwconfig eth1

+

# iwlist eth1 scan

−

<pre>

+

For more information, check [[Broadcom_wireless]].

−

MODULES=([...] !b43 !ssb !lib80211 lib80211_crypt_tkip wl)

−

</pre>

−

Once rebooted, you can confirm the working of the driver by following commands

+

Sometimes, the network (LAN/WLAN) interface names get swapped with every boot. To make the network interface name(s) stay constant, add the following to {{ic|/etc/udev/rules.d/10-network.rules}} and bind the MAC address of each of your network interfaces to a certain interface name:

−

+

SUBSYSTEM=="net", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"

−

<pre>

+

SUBSYSTEM=="net", ATTR{address}=="ff:ee:dd:cc:bb:aa", NAME="wlan0"

−

# ifconfig -a

−

# ifconfig eth1 up

−

# iwconfig eth1

−

# iwlist eth1 scan

−

</pre>

−

For more information, check [https://wiki.archlinux.org/index.php/Broadcom_BCM43XX Broadcom_BCM43XX]

+

'''Where:'''

+

* "eth0" is the name of LAN interface.

+

* "wlan0" is the name of WLAN interface.

+

* MAC address of each interface should be specified in '''lower-case'''. See the [[udev]] page for more information.

Sometimes brightness control for integrated card does not work (at least with the 2.6.36.2-1 kernel). You may add {{Ic|acpi_osi<nowiki>=</nowiki>Linux}} to the kernel line in the [[GRUB]] config to fix this.

Installation

There is a quirk if you want to install Arch Linux. You need to connect via wireless, as Ethernet hardware is supported only by Linux kernel 2.6.34 and higher. Follow the Beginners' Guide for the rest.

Xorg

Open source drivers

You need ati and i915 xorg drivers:

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

While installing Arch Linux, you should disable the radeon kernel module, otherwise you may encounter kernel crash during booting. See Kernel_modules#Blacklisting for instructions.

If you need to use radeon and HDMI, you can manually enable it by executing

Experimental open source drivers

These drivers are unstable. If you are not an experienced linux user please do not try this drivers, they would eat your hamster.

Classic mesa

All support for evergreen cards is in master branch already.

yaourt -S xf86-video-ati-git
yaourt -S mesa-git

Pros: There is 2D and 3D available

Cons: Full of bugs; not developed actively

Note: AUR helpers like yaourtAUR are not supported by the Arch Linux developers, so use this at your own risk!

Gallium

Gallium support is in r600g and i965g modules.

Pros: They work pretty well

Cons: Difficult to set up. Needs latest kernel.

Closed Catalyst drivers

Catalyst (also known as fglrx) is a closed source graphics driver provided by ATI. It does not support certain features that the open source drivers do, but it has fully working, fast 3D acceleration. This is working at least with Acer Aspire TimelineX 3820TG that has ATI Mobility Radeon HD 5650.

Since Catalyst cannot handle switchable graphics cards, you have to disable the Intel card from the BIOS. At least with BIOS v.1.19 you can do that by changing VGA mode to "Discrete".

If you use the stock kernel you can install Catalyst with the AUR packages catalyst-utilsAUR and catalystAUR. If you have a 64-bit system and you want to use 3D acceleration also in 32-bit games, you should also install lib32-catalyst-utilsAUR. These packages are also available for download from a third-party repository, see the ATI Catalyst wiki page. Note that installing these packages will make you remove the open source video drivers.

After installing package you probably need to configure Xorg. Using the provided aticonfig tool is recommended:

Hardware

Bluetooth

On the 3820TG, Bluetooth might not work even if Template:Keypress+Template:Keypress is used to turn it on. (Symptoms include "usb disconnect" messages in dmesg, and the adapter not showing up in hcitool dev.)
In this case, copying /lib/firmware/ath3k-2.fw to /lib/firmware/ath3k-1.fw helps, see this mailing list thread. If it does not work for you, please change this note!

Sometimes, the network (LAN/WLAN) interface names get swapped with every boot. To make the network interface name(s) stay constant, add the following to /etc/udev/rules.d/10-network.rules and bind the MAC address of each of your network interfaces to a certain interface name: