ASUS Eee PC 1000HE

From ArchWiki
Revision as of 00:36, 10 March 2009 by Pyther (Talk | contribs) (Issues)

Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:ASUS Eee PC 1000HE#)
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

I just recently got an EEEPC 1000HE. I will try my best to organize and collect all the information you'll need here. For the time being this is a WIP. Feel free to help out!

The stock 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 in 2.6.28

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

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!

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

The acpi-eeepc-generic scripts in the aur work but need some modifications.

  • Needs an events file for the 1000HE which can be found here
  • Downloaded and place the file in /etc/acpi/eeepc/models
  • Make sure you look over and modify /etc/conf.d/acpi-eeepc-generic.conf
  • See Bugs

Camera Toggle Script - to use just download attached file and place in /etc/acpi/eeepc/

Bugs

In 2.6.28.7 the following do not work:

  • Wifi Switching On/Off
  • Bluetooth Switching On/Off

Template:Box Note
In 2.6.29-rc7 the following does not work:

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 setup cpufrequitls

  1. pacman -Sy cpufrequtils
  2. Edit /etc/conf.d/cpufreq
    min_freq="1000MHz" max_freq="1.67Ghz"
  3. modprobe acpi-cpufreq cpuefreq_ondemand cpufreq_powersave
  4. Add these modules to the MODULES=() array in rc.conf
  5. /etc/rc.d/cpufreq start and add to 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

Kernel 2.6.28.7:

  • Wireless Toggling does not work
  • Bluetooth Toggling does not work

Kernel 2.6.29-rc7

  • Function Keys/Hot Keys don't work (except Fn+F1/Sleep) Bug 12831 (pyther is currently working on helping the kernel devs fix this bug)

Laptop suspends while "waking up"

  • Use pm-suspend instead of acpi script