Difference between revisions of "ASUS Eee PC 1000"

From ArchWiki
Jump to: navigation, search
(Software)
(wikify some external links, use https for archlinux.org)
(32 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Getting and installing Arch (English)]]
+
[[Category:ASUS]]
[[Category:HOWTOs (English)]]
+
{{stub}}
+
= Introduction =
+
 
For now, this is just some notes on the Asus EeePC 1000. The difference between the 1000 and the 901 are more subtle than just the screen size.
 
For now, this is just some notes on the Asus EeePC 1000. The difference between the 1000 and the 901 are more subtle than just the screen size.
  
 
For more information, see other pages:
 
For more information, see other pages:
 +
* [[Asus_Eee_PC_901]]
 +
* [[Installing_Arch_Linux_on_the_Asus_EEE_PC]]
 +
* [[Asus_Eee_PC]]
 +
* [[Asus_Eee_PC_900A]]
 +
* [http://array.org/ubuntu/status.html Array.org EeePC Ubuntu Repository]
  
[[Asus_Eee_PC_901]]
+
== Wireless ==
 +
The card is a RaLink RT2860. The driver is not in kernel yet (current is 2.6.28), so you need to compile it yourself from AUR: [https://aur.archlinux.org/packages.php?ID=14557 rt2860].
  
[[Installing_Arch_Linux_on_the_Asus_EEE_PC]]
+
Wireless connection has been tested by me (big_gie) and works with netcfg (2.1.2-1), wicd (1.5.6-1) and [[Networkmanager_0.7]](0.7.0-1) with unencrypted and WPA. Note that with my router (Dlink DIR-615) I had to disable completely WPA2 and AES. So I need to use exclusively WPA with TKIP.
  
[[Asus_Eee_PC]]
+
If you are having trouble getting the wireless working with either the default kernel or the driver from the AUR, try [[Kernel_modules#Blacklisting|blacklisting]] the rt2800lib module. This fixed wireless for me (using kernel 2.6.33-ARCH).
  
[[Asus_Eee_PC_900A]]
+
== Xorg ==
 +
Here is a working xorg.conf file. Note that it is minimal. Almost everything should be automatically configured.
  
[http://array.org/ubuntu/status.html Array.org EeePC Ubuntu Repository]
+
Section "ServerLayout"
 +
    Identifier "ArchLinux"
 +
    Screen 0 "Screen0"
 +
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 1000"
 +
    Modeline    "1024x600"  48.96 1024 1064 1168 1312 600 601 604 622 -HSync +Vsync # 60 Hz
 +
EndSection
 +
 +
Section "Screen"
 +
    Identifier "Screen0"
 +
    Device    "IntelCard"
 +
    Monitor    "Monitor0"
 +
    DefaultDepth    24
 +
    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  2048 2048
 +
        Virtual 1680 1050
 +
    EndSubSection
 +
EndSection
  
= Wireless =
+
== Touchpad ==
The card is a RaLink RT2860. The driver is not in kernel yet, so you need to compile it yourself from AUR. There is 2 packages in AUR: [http://aur.archlinux.org/packages.php?ID=14557 rt2860] and [http://aur.archlinux.org/packages.php?ID=18705 eeert2860]. They are the same... Except eeert2860 was outdated on 2009-01-07. So use [http://aur.archlinux.org/packages.php?ID=14557 rt2860].
+
See [[Touchpad Synaptics]].
BUT, in the PKGBUILD, the last line looks like this:
+
install -D -m 755 rt2860sta.ko $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2860.ko
+
You will need to add "sta" at the end:
+
install -D -m 755 rt2860sta.ko $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2860'''sta'''.ko
+
Else you won't be able to remove the module (neither modprobe -r rt2860sta nor modprobe -r rt2860 will work).
+
 
+
Wireless connection has been tested by me (big_gie) and works with netcfg (2.1.2-1), wicd (1.5.6-1) and [[Networkmanager_0.7]](0.7.0-1) with unencrypted and WPA. Note that with my router (Dlink DIR-615) I had to disable completely WPA2 and AES. So I need to use exclusively WPA with TKIP.
+
  
= ACPI =
+
== ACPI ==
 
Be sure to load the kernel module "eeepc_laptop" to get acpi events. The 1000 does not send the same events as the 901.
 
Be sure to load the kernel module "eeepc_laptop" to get acpi events. The 1000 does not send the same events as the 901.
  
I (big_gie) created a new acpi package to support the 1000 acpi events: [http://aur.archlinux.org/packages.php?ID=23318 acpi-eeepc-generic]. This package was inspired by many others:
+
I (big_gie) created a new acpi package to support the 1000 acpi events: [https://aur.archlinux.org/packages.php?ID=23318 acpi-eeepc-generic]. This package was inspired by many others:
* [http://aur.archlinux.org/packages.php?ID=19036 acpi-eee901]
+
* [https://aur.archlinux.org/packages.php?ID=19036 acpi-eee901]
* [http://aur.archlinux.org/packages.php?ID=22986 acpi-eee1000]
+
* [https://aur.archlinux.org/packages.php?ID=22986 acpi-eee1000]
If you look up "eee" on AUR, you'll find a dozen or so packages. I inspired myself from them to create a generic one. It only support the 1000 for the moment, but it should only be a matter of copying the file "acpi-eeepc-1000-events.conf" to "acpi-eeepc-901-events.conf" for example to support a new model.
+
If you look up "eee" on AUR, you will find a dozen or so packages. I inspired myself from them to create a generic one. It only support the 1000 for the moment, but it should only be a matter of copying the file "acpi-eeepc-1000-events.conf" to "acpi-eeepc-901-events.conf" for example to support a new model.
  
 
For the events created by the 1000, see the file "acpi-eeepc-1000-events.conf".
 
For the events created by the 1000, see the file "acpi-eeepc-1000-events.conf".
  
== Notes ==
+
=== Notes ===
=== Sleep ===
+
==== Sleep ====
 
Fn+F1 or closing lid should put the 1000 to sleep. It calls "acpi-eeepc-generic-suspend2ram.sh".
 
Fn+F1 or closing lid should put the 1000 to sleep. It calls "acpi-eeepc-generic-suspend2ram.sh".
  
=== Wifi ===
+
==== Wifi ====
 
Pressing Fn+F2 will call "acpi-eeepc-generic-wifi-toggle.sh" which will toggle the wireless card. Be sure to load "rfkill" module for this to work.
 
Pressing Fn+F2 will call "acpi-eeepc-generic-wifi-toggle.sh" which will toggle the wireless card. Be sure to load "rfkill" module for this to work.
  
=== Brightness ===
+
==== Brightness ====
 
Note that the brightness codes depends on the actual brightness level. If at the darker, lower level (00000020) and the "brithness up" button is push, the next level event is generated (00000021). If the button is pushed again, again the next level is generated (00000022) until full brightness is reached (0000002f). So basically, the ACPI event generated depends on the actual level.
 
Note that the brightness codes depends on the actual brightness level. If at the darker, lower level (00000020) and the "brithness up" button is push, the next level event is generated (00000021). If the button is pushed again, again the next level is generated (00000022) until full brightness is reached (0000002f). So basically, the ACPI event generated depends on the actual level.
  
= Kernel =
+
== Software ==
I removed almost everything unneeded for the 1000. The rest has been compiled in, so it boots faster. I saw some speedup compared to the -ARCH stock kernel.
+
Do not bother installing KDE or Gnome on it. The screen might be bigger then the 901, but it is still a small machine.
  
My config file for custom kernel 2.6.27.10: [http://pastebin.com/f1f7d6c42 http://pastebin.com/f1f7d6c42].
+
=== LXDE ===
 
+
I suggest [[LXDE]] for a _really_ lightweight environment. It looks like Windows initially but you can configure as you like:
My config file for custom kernel 2.6.28.1: [http://pastebin.com/f5ac5d867 http://pastebin.com/f5ac5d867].
+
 
+
= Software =
+
Don't bother installing KDE or Gnome on it. The screen might be bigger then the 901, but it's still a small machine.
+
 
+
== LXDE ==
+
I suggest LXDE for a _really_ lightweigth environment. It looks like Windows initially but you can configure as you like:
+
 
  pacman -S lxde
 
  pacman -S lxde
  
== XFCE ==
+
=== XFCE ===
XFCE is still small enough to run on the 1000. Version 4.6 is not out yet, but there is some precompiled packages available from a [http://bbs.archlinux.org/viewtopic.php?id=52031 forum user]:
+
[[Xfce]] is still small enough to run on the 1000. Version 4.6 is not out yet, but there is some precompiled packages available from a [https://bbs.archlinux.org/viewtopic.php?id=52031 forum user]:
 
  pacman -S xfce4-svn xfce4-goodies-svn
 
  pacman -S xfce4-svn xfce4-goodies-svn
  
== KWin ==
+
=== KWin ===
Because of the [[Asus_Eee_PC_1000#Compiz|compiz problem]], I tried kwin instead for its desktop effects and it is way more stable. No problem at all, and it is fast. Kwin is part of "kdebase-workspace" package:
+
Because of the [[#Compiz|compiz problem]], I tried kwin instead for its desktop effects and it is way more stable. No problem at all, and it is fast. Kwin is part of "kdebase-workspace" package:
 
  pacman -S kdebase-workspace
 
  pacman -S kdebase-workspace
Also in kdebase-workspace is "systemsetting". You can configure kwin from it. Just launch it, go in "Desktop" and configure the effects. You don't need to install the whole KDE.
+
Also in kdebase-workspace is "systemsetting". You can configure kwin from it. Just launch it, go in "Desktop" and configure the effects. You do not need to install the whole KDE.
 +
Launch kwin with:
 +
kwin --replace
  
= Hardware =
+
== Hardware ==
== lspci ==
+
=== lspci ===
 
  00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
 
  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.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
Line 91: Line 126:
 
  01:00.0 Network controller: RaLink RT2860
 
  01:00.0 Network controller: RaLink RT2860
 
  04:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)
 
  04:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)
== lsusb ==
+
=== lsusb ===
 
  Bus 001 Device 002: ID 04f2:b071 Chicony Electronics Co., Ltd
 
  Bus 001 Device 002: ID 04f2:b071 Chicony Electronics Co., Ltd
 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Line 99: Line 134:
 
  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  
= Problems =
+
== Problems ==
== Compiz ==
+
=== Compiz ===
Compiz is running nice with the 1000: it is a great addition in usability because of the small screen. But I do have one problem. If I open to many windows, their content doesn't get drawn. If I look at X's log file, I have plenty of:
+
[[Compiz]] is running nice with the 1000: it is a great addition in usability because of the small screen. But I do have one problem. If I open to many windows, their content does not get drawn. If I look at X's log file, I have plenty of:
 
  __glXDRIbindTexImage: Failed to register texture offset override
 
  __glXDRIbindTexImage: Failed to register texture offset override
 
This is using kernel 2.6.28, xorg-server 1.5.3-4, mesa 7.2-1, xf86-video-intel 2.5.99.1-1. Any suggestion would be appreciated.
 
This is using kernel 2.6.28, xorg-server 1.5.3-4, mesa 7.2-1, xf86-video-intel 2.5.99.1-1. Any suggestion would be appreciated.
 +
 +
==== Solution ====
 +
If I launch compiz using "compiz-manager", then the problem does not seems to occur:
 +
$ sudo pacman -S compiz-manager
 +
$ compiz-manager
 +
Checking for Xgl: not present.
 +
Detected PCI ID for VGA: 00:02.0 0300: 8086:27ae (rev 03) (prog-if 00 [VGA controller])
 +
Checking for texture_from_pixmap: not present.
 +
Trying again with indirect rendering:
 +
Checking for texture_from_pixmap: present.
 +
Checking for non power of two support: present.
 +
Checking for Composite extension: present.
 +
Comparing resolution (1024x600) to maximum 3D texture size (2048):  Passed.
 +
Checking for nVidia: not present.
 +
Checking for FBConfig: present.
 +
Checking for Xgl: not present.
 +
Starting emerald
 +
/usr/bin/compiz (core) - Error: Plugin 'text' not loaded.
 +
 +
/usr/bin/compiz (thumbnail) - Warn: No compatible text plugin found.

Revision as of 15:34, 4 December 2012

For now, this is just some notes on the Asus EeePC 1000. The difference between the 1000 and the 901 are more subtle than just the screen size.

For more information, see other pages:

Wireless

The card is a RaLink RT2860. The driver is not in kernel yet (current is 2.6.28), so you need to compile it yourself from AUR: rt2860.

Wireless connection has been tested by me (big_gie) and works with netcfg (2.1.2-1), wicd (1.5.6-1) and Networkmanager_0.7(0.7.0-1) with unencrypted and WPA. Note that with my router (Dlink DIR-615) I had to disable completely WPA2 and AES. So I need to use exclusively WPA with TKIP.

If you are having trouble getting the wireless working with either the default kernel or the driver from the AUR, try blacklisting the rt2800lib module. This fixed wireless for me (using kernel 2.6.33-ARCH).

Xorg

Here is a working xorg.conf file. Note that it is minimal. Almost everything should be automatically configured.

Section "ServerLayout"
   Identifier	"ArchLinux"
   Screen	 0 "Screen0"
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 1000"
   Modeline     "1024x600"  48.96 1024 1064 1168 1312 600 601 604 622 -HSync +Vsync # 60 Hz
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "IntelCard"
   Monitor    "Monitor0"
   DefaultDepth     24
   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   2048 2048
       Virtual 1680 1050
   EndSubSection
EndSection

Touchpad

See Touchpad Synaptics.

ACPI

Be sure to load the kernel module "eeepc_laptop" to get acpi events. The 1000 does not send the same events as the 901.

I (big_gie) created a new acpi package to support the 1000 acpi events: acpi-eeepc-generic. This package was inspired by many others:

If you look up "eee" on AUR, you will find a dozen or so packages. I inspired myself from them to create a generic one. It only support the 1000 for the moment, but it should only be a matter of copying the file "acpi-eeepc-1000-events.conf" to "acpi-eeepc-901-events.conf" for example to support a new model.

For the events created by the 1000, see the file "acpi-eeepc-1000-events.conf".

Notes

Sleep

Fn+F1 or closing lid should put the 1000 to sleep. It calls "acpi-eeepc-generic-suspend2ram.sh".

Wifi

Pressing Fn+F2 will call "acpi-eeepc-generic-wifi-toggle.sh" which will toggle the wireless card. Be sure to load "rfkill" module for this to work.

Brightness

Note that the brightness codes depends on the actual brightness level. If at the darker, lower level (00000020) and the "brithness up" button is push, the next level event is generated (00000021). If the button is pushed again, again the next level is generated (00000022) until full brightness is reached (0000002f). So basically, the ACPI event generated depends on the actual level.

Software

Do not bother installing KDE or Gnome on it. The screen might be bigger then the 901, but it is still a small machine.

LXDE

I suggest LXDE for a _really_ lightweight environment. It looks like Windows initially but you can configure as you like:

pacman -S lxde

XFCE

Xfce is still small enough to run on the 1000. Version 4.6 is not out yet, but there is some precompiled packages available from a forum user:

pacman -S xfce4-svn xfce4-goodies-svn

KWin

Because of the compiz problem, I tried kwin instead for its desktop effects and it is way more stable. No problem at all, and it is fast. Kwin is part of "kdebase-workspace" package:

pacman -S kdebase-workspace

Also in kdebase-workspace is "systemsetting". You can configure kwin from it. Just launch it, go in "Desktop" and configure the effects. You do not need to install the whole KDE. Launch kwin with:

kwin --replace

Hardware

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.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (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)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Network controller: RaLink RT2860
04:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)

lsusb

Bus 001 Device 002: ID 04f2:b071 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Problems

Compiz

Compiz is running nice with the 1000: it is a great addition in usability because of the small screen. But I do have one problem. If I open to many windows, their content does not get drawn. If I look at X's log file, I have plenty of:

__glXDRIbindTexImage: Failed to register texture offset override

This is using kernel 2.6.28, xorg-server 1.5.3-4, mesa 7.2-1, xf86-video-intel 2.5.99.1-1. Any suggestion would be appreciated.

Solution

If I launch compiz using "compiz-manager", then the problem does not seems to occur:

$ sudo pacman -S compiz-manager
$ compiz-manager
Checking for Xgl: not present. 
Detected PCI ID for VGA: 00:02.0 0300: 8086:27ae (rev 03) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present. 
Trying again with indirect rendering:
Checking for texture_from_pixmap: present. 
Checking for non power of two support: present. 
Checking for Composite extension: present. 
Comparing resolution (1024x600) to maximum 3D texture size (2048):  Passed.
Checking for nVidia: not present. 
Checking for FBConfig: present. 
Checking for Xgl: not present. 
Starting emerald
/usr/bin/compiz (core) - Error: Plugin 'text' not loaded.

/usr/bin/compiz (thumbnail) - Warn: No compatible text plugin found.