Difference between revisions of "ASUS Eee PC 1201NL"

From ArchWiki
Jump to: navigation, search
(Function keys: Adding a section for configuring power management.)
(Added stuff about wifi power management)
Line 54: Line 54:
 
'''Detailed ndiswrapper installation instructions coming up soon.'''
 
'''Detailed ndiswrapper installation instructions coming up soon.'''
  
=ACPI Functions=
+
=ACPI Functions==
 +
==ACPI Driver==
 +
The driver for the ACPI functions of the 1201N is called eeepc_laptop.  It is part of the mainline kernel, so all that needs to be done is to load the module:
 +
modprobe eeepc_laptop
 +
If the command fails with such error message:
 +
FATAL: Error inserting eeepc_laptop (/lib/modules/2.6.32-ARCH/kernel/drivers/platform/x86/eeepc-laptop.ko): No such device
 +
you need to add ''acpi_osi=Linux'' to kernel parameters in your bootloader configuration.
 
==Function Keys==
 
==Function Keys==
 
You must have [[Acpid|acpid]] installed to use the Function keys:
 
You must have [[Acpid|acpid]] installed to use the Function keys:
Line 75: Line 81:
 
  /etc/rc.d/acpid restart
 
  /etc/rc.d/acpid restart
  
==Power Management==
+
==Power Management with Laptop Mode Tools==
Coming soon to a wiki article near you!
+
Install the [Laptop Mode Tools|laptop-mode-tools] from extra repo:
 +
pacman -S laptop-mode-tools
 +
Many of the power managment settings in laptop-mode are disbaled by default, so it is encouraged that you explore the configuration files throroughly.  Here are some highlights of configuration options worth exploring:
 +
 
 +
==Super Hybrid Engine==
 +
 
 +
Super Hybrid Engine is a simple FSB tweaker that can radically reduce power consumption.
 +
 
 +
To enable automatic SHE manipulation just edit /etc/laptop-mode/conf.d/eeepc-superhe.conf:
 +
CONTROL_SUPERHE=1
 +
 
 +
If you've configured function keys using acpi-eeepc-generic, you can manually change SHE mode by using Fn+Space.
 +
 
 +
==Wifi Power Management==
 +
The linux-native wifi driver supports wifi power management.  If you are using the linux-native wifi driver, you can enable basic power management by editing /etc/laptop-mode/conf.d/wireless-power.conf:
 +
CONTROL_WIRELESS_POWER_SAVING=1
  
 
=Suspend2RAM=
 
=Suspend2RAM=
Line 86: Line 107:
 
You can try out the suspend2ram either by using function key Fn+F1 (if you've configured them to use pm-utils in /etc/conf.d/acpi-eeepc-generic.conf) or by running:
 
You can try out the suspend2ram either by using function key Fn+F1 (if you've configured them to use pm-utils in /etc/conf.d/acpi-eeepc-generic.conf) or by running:
 
  pm-suspend
 
  pm-suspend
 
=Power saving=
 
Install the laptop-mode-tools from extra repo:
 
pacman -S laptop-mode-tools
 
 
==Super Hybrid Engine==
 
 
Super Hybrid Engine is a simple FSB tweaker that can radically reduce power consumption. You need to load the eeepc_laptop module to make SE work:
 
modprobe eeepc_laptop
 
If the command fails with such error message:
 
FATAL: Error inserting eeepc_laptop (/lib/modules/2.6.32-ARCH/kernel/drivers/platform/x86/eeepc-laptop.ko): No such device
 
you need to add ''acpi_osi=Linux'' to kernel parameters in grub configuration.
 
 
To enable automatic SHE manipulation just edit /etc/laptop-mode/conf.d/eeepc-superhe.conf:
 
CONTROL_SUPERHE=1
 
 
If you've configured function keys properly you can manually change SHE mode by using Fn+Space.
 
  
 
==LCD brightness==
 
==LCD brightness==

Revision as of 13:10, 24 August 2010

Device Status Modules
Nvidia GeForce 9400M Working nvidia
Ethernet Working atl1e
Wireless Working r8192se_pci or ndiswrapper
Audio Working snd_hda_intel
Camera Working
Card Reader Working
Function Keys Working acpi-eeepc-generic
Suspend2RAM Working pm-utils
Hibernate Not tested pm-utils?
Multi-input touchpad Only emulation

This is just a draft - more detailed instructions coming up soon + more detailed tests

Netbook works flawlessly with Arch Linux (if you encounter freezes see Troubleshooting below)

Graphics

Nvidia's Closed-Source Driver

Just install the official closed source drivers from arch extra repo:

pacman -S nvidia

Open-Source Driver

If you desire Kernel Mode Setting and xinerama (better multihead support), then install nouveau instead of the , though 3D support in nouveau is highly experimental:

pacman -S xf86-video-nouveau

And (highly experimental) 3D support:

pacman -S nouveau-dri

Wireless

Here, you have two options: either install rtl8192 package from AUR or use ndiswrapper with Windows 2000 driver for the card. The latter seems to be much snappier (better wifi range) but disables the use of aircrack.

Native linux driver

For native linux drivers you need to load r8192se_pci module:

modprobe r8192se_pci

You can add r8192se_pci to your MODULES array in /etc/rc.conf, though udev should load them automatically.

Ndiswrapper and W2K driver

Detailed ndiswrapper installation instructions coming up soon.

ACPI Functions=

ACPI Driver

The driver for the ACPI functions of the 1201N is called eeepc_laptop. It is part of the mainline kernel, so all that needs to be done is to load the module:

modprobe eeepc_laptop

If the command fails with such error message:

FATAL: Error inserting eeepc_laptop (/lib/modules/2.6.32-ARCH/kernel/drivers/platform/x86/eeepc-laptop.ko): No such device

you need to add acpi_osi=Linux to kernel parameters in your bootloader configuration.

Function Keys

You must have acpid installed to use the Function keys:

pacman -S acpid 

After installing acpid, you will have to add it to your DAEMONS array in rc.conf.

Then, you need to install acpi-eeepc-generic package from AUR and edit file /etc/conf.d/acpi-eeepc-generic.conf:

EEEPC_MODEL="1201N"

Comment out EEEPC_CONF_DONE option:

#EEEPC_CONF_DONE="no"

If you are using linux drivers for wifi you should also edit the WIFI_DRIVERS array:

WIFI_DRIVERS=("r8192se_pci")

Otherwise the wifi toggle button won't work.

Afterward, you must restart acipd:

/etc/rc.d/acpid restart

Power Management with Laptop Mode Tools

Install the [Laptop Mode Tools|laptop-mode-tools] from extra repo:

pacman -S laptop-mode-tools

Many of the power managment settings in laptop-mode are disbaled by default, so it is encouraged that you explore the configuration files throroughly. Here are some highlights of configuration options worth exploring:

Super Hybrid Engine

Super Hybrid Engine is a simple FSB tweaker that can radically reduce power consumption.

To enable automatic SHE manipulation just edit /etc/laptop-mode/conf.d/eeepc-superhe.conf:

CONTROL_SUPERHE=1

If you've configured function keys using acpi-eeepc-generic, you can manually change SHE mode by using Fn+Space.

Wifi Power Management

The linux-native wifi driver supports wifi power management. If you are using the linux-native wifi driver, you can enable basic power management by editing /etc/laptop-mode/conf.d/wireless-power.conf:

CONTROL_WIRELESS_POWER_SAVING=1

Suspend2RAM

Install pm-utils:

pacman -S pm-utils

If you are using linux wifi driver you need to unload it before suspending otherwise the machine won't resume. To do this automatically uncomment and edit appropriate line in /etc/pm/config.d/config file:

SUSPEND_MODULES="ehci_hcd r8192se_pci"

The ehci_hcd module is responsible for usb hub. Removing it solves the immediate resume issue (see Troubleshooting) You can try out the suspend2ram either by using function key Fn+F1 (if you've configured them to use pm-utils in /etc/conf.d/acpi-eeepc-generic.conf) or by running:

pm-suspend

LCD brightness

To enable LCD brightness automatic manipulation you need to edit /etc/laptop-mode/conf.d/lcd-brightness.conf and set proper BRIGHTNESS_OUTPUT path:

BATT_BRIGHTNESS_COMMAND="echo 8"
LM_AC_BRIGHTNESS_COMMAND="echo 15"
NOLM_AC_BRIGHTNESS_COMMAND="echo 15"
BRIGHTNESS_OUTPUT="/proc/acpi/video/IGPU/LCDD/brightness"

Troubleshooting

Touchpad/keyboard freezes

Most likely you are using kernel 2.6.32 or newer. The only solution for now is to downgrade to 2.6.31.

Machine does not resume after suspend2ram

You have to unload r8192se_pci module right before suspending. See Suspend2RAM section of this article for details.

After suspending the machine immediately resumes

You have to unload usb module(s) before suspending. See Suspend2RAM section of this article for details.