Difference between revisions of "ASUS Eee PC 1000HE"

From ArchWiki
Jump to: navigation, search
m (Bluetooth: Fixed a minor kernel version number typo.)
(Removed 'stub' box as this article is getting pretty long. Removed typos (especially in cpufrequtils section.) Updated acpi-eeepc-generic section as v0.9 is now in AUR.)
Line 1: Line 1:
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
{{stub}}
 
 
{| style="float:right; border: 1px solid #000;"  
 
{| style="float:right; border: 1px solid #000;"  
 
| '''Device''' || '''Status''' || '''Modules'''
 
| '''Device''' || '''Status''' || '''Modules'''
Line 20: Line 19:
 
| Function Keys || style="color:green" | '''Working''' ||  
 
| Function Keys || style="color:green" | '''Working''' ||  
 
|}
 
|}
 
  
 
=Introduction=
 
=Introduction=
 
First, feel free to help out!
 
First, feel free to help out!
  
Secondly this wiki page assumes you are using kernel 2.6.29 or greater
+
Secondly, this wiki page assumes you are using kernel 2.6.29 or greater.
  
The stock 2.6.29 kernel works just fine. There is no need for customized eeepc kernel. These customized kernel use to contain patches to allow the hotkeys and what not work. All of these features have been merged into the kernel.
+
The stock 2.6.29 kernel works just fine. There is no need for a customized eeePC kernel. These customized kernels used to contain patches to allow the hotkeys and whatnot to work. All of these features have since been merged into the standard kernel.
  
 
=Installation=
 
=Installation=
Use the 2009.02 installation usb image: [[Install_from_USB_stick]]. There is support for the NIC card and wireless. There are no special instructions for installation. For an indepth guide on the installation see the [[Beginners_Guide]]
+
Use the 2009.02 installation USB image (see [[Install_from_USB_stick]]). There is out-of-the-box support for the wired and wireless NICs. There are no special instructions for installation. For an in-depth guide on the installation see the [[Beginners_Guide]].
  
 
=Xorg=
 
=Xorg=
This example uses hotplugging. Make sure that you have hal installed and started. Also, don't forget to add hal to your system startup!
+
This example uses hotplugging. Make sure that you have hal installed and started. Also, don't forget to add hal to the DAEMONS=() array in rc.conf!
  
 
==Sample Config==
 
==Sample Config==
Here is a basic xorg config file. Using xrandr you can switch between the lcd + external display.
+
Here is a basic xorg config file. Using xrandr, you can switch between the lcd + external display.
 
  Section "ServerLayout"
 
  Section "ServerLayout"
 
   Identifier    "X.org Configured"
 
   Identifier    "X.org Configured"
Line 143: Line 141:
  
 
==xrandr==
 
==xrandr==
For a nice gui tool try '''lxrandr''', it is very simple to use!
+
For a nice GUI tool, try '''lxrandr'''; it is very simple to use!
  
 
Switch to External Monitor:
 
Switch to External Monitor:
Line 153: Line 151:
 
=ACPI=
 
=ACPI=
 
==acpi-eeepc-generic==
 
==acpi-eeepc-generic==
#Check out the svn: <pre>svn checkout http://acpi-eeepc-generic.googlecode.com/svn/branches/0.9</pre>
+
Install the [http://aur.archlinux.org/packages.php?ID=23318 acpi-eeepc-generic package] from AUR (see [[AUR User Guidelines]]).
#cd to 0.9 directory
+
You must install version 0.9 or greater, as previous versions do not have support for the 1000HE.
#run makepkg
+
#Install Package <pre>pacman -U acpi-eeepc-generic-0.9b-1-any.pkg.tar.gz</pre>
+
 
+
Do not use the package from AUR until version 0.9 is released. The 0.8.2 version does not have support for the 1000HE.
+
  
 
==Sleep==
 
==Sleep==
Line 165: Line 159:
  
 
==cpufrequtils==
 
==cpufrequtils==
To scale the cpu and possibly save a bit of power you will want to setup cpufrequitls
+
To scale the CPU and possibly save a bit of power, you will want to set up cpufrequtils.
  
 
#pacman -Sy cpufrequtils
 
#pacman -Sy cpufrequtils
#Edit /etc/conf.d/cpufreq <pre>min_freq="1000MHz" max_freq="1.67Ghz"</pre>
+
#Edit /etc/conf.d/cpufreq <pre>min_freq="1000MHz" max_freq="1.67GHz"</pre>
#modprobe acpi-cpufreq cpuefreq_ondemand cpufreq_powersave
+
#modprobe acpi-cpufreq cpufreq_ondemand cpufreq_powersave
#Add these modules to the MODULES=() array in rc.conf
+
#Add these modules listed above to the MODULES=() array in rc.conf
#/etc/rc.d/cpufreq start and add to DAEMONS=() array in rc.conf
+
#/etc/rc.d/cpufreq start
 +
#Add cpufreq to the DAEMONS=() array in rc.conf
  
 
=Hardware=
 
=Hardware=
 
==Bluetooth==
 
==Bluetooth==
To turn the bluetooth radio On/Off
+
To turn the bluetooth radio on/off:
  
 
   # enable
 
   # enable
Line 188: Line 183:
 
See the Arch Linux [[Bluetooth]] and  [[Bluetooth Mouse]] wiki pages for more information about configuring and using Bluetooth devices.
 
See the Arch Linux [[Bluetooth]] and  [[Bluetooth Mouse]] wiki pages for more information about configuring and using Bluetooth devices.
  
{{Box Note |'''''Switching the Bluetooth Radio On and Off does not work on kernel 2.6.28 or below. You need to use kernel 2.6.29 or greater'''''}}
+
{{Box Note |'''''Switching the Bluetooth Radio on and off does not work on kernel 2.6.28 or below. You need to use kernel 2.6.29 or greater.'''''}}
  
 
==Camera==
 
==Camera==
Line 201: Line 196:
 
Make sure that the module <tt>uvcvideo</tt> is loaded
 
Make sure that the module <tt>uvcvideo</tt> is loaded
  
To record video and take photos, you may use '''cheese''' or the [http://aur.archlinux.org/packages.php?ID=15272 '''wxcam'''] package  
+
To record video and take photos, you may use '''cheese''' or the [http://aur.archlinux.org/packages.php?ID=15272 '''wxcam'''] package.
 
+
  
 
To simply test the camera, you may use <tt>mplayer</tt>:
 
To simply test the camera, you may use <tt>mplayer</tt>:
Line 209: Line 203:
  
 
The webcam is reported to work with Skype.
 
The webcam is reported to work with Skype.
 
  
 
=Info=
 
=Info=
Line 235: Line 228:
 
*Use pm-suspend instead of acpi script
 
*Use pm-suspend instead of acpi script
  
Any other issues, make sure you are using kernel 2.6.29 or greater
+
If you have any other issues, make sure you are using kernel 2.6.29 or greater.

Revision as of 19:36, 1 April 2009

Device Status Modules
Intel 945GM Working xf86-video-intel
Ethernet Working atl1e
Wireless Working ath9k
Bluetooth Working bluetooth
Audio Working snd_hda_intel
Camera Working uvcvideo
Card Reader Working
Function Keys Working

Introduction

First, feel free to help out!

Secondly, this wiki page assumes you are using kernel 2.6.29 or greater.

The stock 2.6.29 kernel works just fine. There is no need for a customized eeePC kernel. These customized kernels used to contain patches to allow the hotkeys and whatnot to work. All of these features have since been merged into the standard kernel.

Installation

Use the 2009.02 installation USB image (see Install_from_USB_stick). There is out-of-the-box support for the wired and wireless NICs. There are no special instructions for installation. For an in-depth guide on the installation see the Beginners_Guide.

Xorg

This example uses hotplugging. Make sure that you have hal installed and started. Also, don't forget to add hal to the DAEMONS=() array in rc.conf!

Sample Config

Here is a basic xorg config file. Using xrandr, you can switch between the lcd + external display.

Section "ServerLayout"
  Identifier     "X.org Configured"
  Screen      	0  "Screen0"
EndSection

Section "ServerFlags"
  Option "DontZap"	"false"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/local"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/100dpi:unscaled"
   FontPath     "/usr/share/fonts/75dpi:unscaled"
   FontPath     "/usr/share/fonts/TTF"
   FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "glx"
    Load  "extmod"
    Load  "record"
    Load  "dbe"
    Load  "dri2"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
  Identifier  "IntelCard"
  Driver      "intel"
  VendorName  "Intel Corporation"
  BoardName   "Mobile 945GME Express Integrated Graphics Controller"
  BusID       "PCI:0:2:0"
EndSection

Section "Monitor"
  Identifier "Monitor0"
  VendorName "ASUS"
  ModelName  "eeePC 1000he"
  Modeline   "1024x600" 48.86 1024 1064 1168 1312 600 601 604 622 -Hsync +Vsync
EndSection

Section "Screen"
  Identifier "Screen0"
  Device     "IntelCard"
  Monitor    "Monitor0"
  SubSection "Display"
    Viewport   0 0
    Depth     1
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     4
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     8
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     15
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     16
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     24
    Virtual 1280 1024 #Set to resolution of CRT/External
  EndSubSection
EndSection

Keyboard

  1. Copy /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy
  2. Edit /etc/hal/fdi/policy/10-keymap.fdi and change <merge key="input.xkb.layout" type="string">us</merge> accordingly

Touchpad

Create /etc/hal/fdi/policy/11-synaptic-options.fdi

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>
   <match key="info.product" contains="ETPS/2 Elantech Touchpad">
     <merge key="input.x11_driver" type="string">synaptics</merge>
     <merge key="input.x11_options.SHMConfig" type="string">on</merge>
     <merge key="input.x11_options.MaxSpeed" type="string">1.00</merge>
     <merge key="input.x11_options.MinSpeed" type="string">0.75</merge>
     <merge key="input.x11_options.Emulate3Buttons" type="string">on</merge>
     <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
     <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
     <merge key="input.x11_options.TapButton1" type="string">1</merge>
     <merge key="input.x11_options.TapButton2" type="string">2</merge>
     <merge key="input.x11_options.TapButton3" type="string">3</merge>
     <merge key="input.x11_options.LockedDrags" type="string">1</merge>
   </match>
 </device>
</deviceinfo>

xrandr

For a nice GUI tool, try lxrandr; it is very simple to use!

Switch to External Monitor:

xrandr --output LVDS --off --output VGA --auto

Switch back to eeepc's LCD:

xrandr --output LVDS --auto --output VGA --off

ACPI

acpi-eeepc-generic

Install the acpi-eeepc-generic package from AUR (see AUR User Guidelines). You must install version 0.9 or greater, as previous versions do not have support for the 1000HE.

Sleep

Use pm-suspend instead of the script in acpi-eeepc-generic. The acpi-eeepc-generic suspend script will cause the system to re-suspend when being waked up or when exiting X!

cpufrequtils

To scale the CPU and possibly save a bit of power, you will want to set up cpufrequtils.

  1. pacman -Sy cpufrequtils
  2. Edit /etc/conf.d/cpufreq
    min_freq="1000MHz" max_freq="1.67GHz"
  3. modprobe acpi-cpufreq cpufreq_ondemand cpufreq_powersave
  4. Add these modules listed above to the MODULES=() array in rc.conf
  5. /etc/rc.d/cpufreq start
  6. Add cpufreq to the DAEMONS=() array in rc.conf

Hardware

Bluetooth

To turn the bluetooth radio on/off:

 # enable
 $ echo 1 > /sys/class/rfkill/rfkill1/state
 # disable
 $ echo 0 > /sys/class/rfkill/rfkill1/state

Install the bluez-utils and bluez-libs packages, then modprobe btusb.

Note: in the test repository bluez-utils and bluez-libs are merged into a single package, bluez.

See the Arch Linux Bluetooth and Bluetooth Mouse wiki pages for more information about configuring and using Bluetooth devices.

Template:Box Note

Camera

To enable/disable the camera:

 # enable
 echo 1 > /sys/devices/platform/eeepc/camera
 # disable
 echo 0 > /sys/devices/platform/eeepc/camera

Make sure that the module uvcvideo is loaded

To record video and take photos, you may use cheese or the wxcam package.

To simply test the camera, you may use mplayer:

 mplayer -fps 15 tv://

The webcam is reported to work with Skype.

Info

lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
01:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)

Issues

Laptop suspends while "waking up"

  • Use pm-suspend instead of acpi script

If you have any other issues, make sure you are using kernel 2.6.29 or greater.