Difference between revisions of "ASUS Eee PC S101"

From ArchWiki
Jump to: navigation, search
m (lsusb: update)
(use https for links to archlinux.org)
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:ASUS (English)]]
+
[[Category:ASUS]]
 
For now, this is just some notes on the Asus EeePC S101.
 
For now, this is just some notes on the Asus EeePC S101.
  
 
= Installation =  
 
= Installation =  
* Download from http://www.archlinux.org/download/, (ex. archlinux-2010.05-netinstall-i686.iso because EEE PC is 32 bit machine.
+
* Download from https://www.archlinux.org/download/, (ex. archlinux-2010.05-netinstall-i686.iso because EEE PC is 32 bit machine.
 
* Refer [[Install_from_a_USB_flash_drive]] to write iso file into USB stick.(ex. UNetBootin under windows)
 
* Refer [[Install_from_a_USB_flash_drive]] to write iso file into USB stick.(ex. UNetBootin under windows)
 
* Disable '''boost boot''' in BIOS Setup to allow USB stick bootable at boot time.
 
* Disable '''boost boot''' in BIOS Setup to allow USB stick bootable at boot time.
Line 10: Line 10:
 
* remember to add '''hal''' in DAEMONS line of /etc/rc.conf , it will automatic detect all hardware.
 
* remember to add '''hal''' in DAEMONS line of /etc/rc.conf , it will automatic detect all hardware.
  
<nowiki>/etc/rc.d/hal start  # detect and install all hardware</nowiki>
+
/etc/rc.d/hal start  # detect and install all hardware
 +
 
 +
== boot loader setup of Kernel ==
 +
I just use standard kernel. eeepc_wmi module will be loaded.
 +
Note: add acpi_osi=Linux line in kernel boot loader, to let eeepc_laptop module loading. Otherwise Fn+F2 won't workable.
  
 
= Wireless =
 
= Wireless =
Line 24: Line 28:
  
 
= ACPI =
 
= ACPI =
big_gie created a new acpi package to support the acpi events: [http://aur.archlinux.org/packages.php?ID=23318 acpi-eeepc-generic]. This package was inspired by many others.
+
big_gie created a acpi package to support the acpi events: [https://aur.archlinux.org/packages.php?ID=23318 acpi-eeepc-generic]. This package was inspired by many others.
 +
 
 +
== Touchpad toggle - Silver Button ==
 +
edit /etc/conf.d/acpi-eeepc-generic.conf
 +
COMMANDS_BUTTON_BLANK=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-touchpad.sh")
 +
 
 +
== Sleep Fn+F1 ==
 +
Fn+F1 or closing lid should put the eee pc to sleep. It calls "acpi-eeepc-generic-suspend2ram.sh".
 +
 
 +
== Wifi Fn+F2 ==
 +
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.
 +
edit /etc/conf.d/acpi-eeepc-generic.conf
 +
WIFI_DRIVERS=("ath9k")
 +
 
 +
== Brightness Fn+F5/F6 ==
 +
BIOS v1504 has controlled it.
 +
 
 +
== Camera Fn+F7 ==
 +
edit /etc/conf.d/acpi-eeepc-generic.conf:
 +
COMMANDS_SCREEN_OFF=(/etc/acpi/eeepc/acpi-eeepc-generic-toggle-webcam.sh)
 +
To use the camera, install mplayer or luvcview.
 +
luvcview -f yuv
 +
mplayer -vf screenshot -fps 30 tv://  # press 's' to capture
  
 
= extend battery life =
 
= extend battery life =
Line 36: Line 62:
 
  max_freq="1.5GHz"
 
  max_freq="1.5GHz"
 
ref: [[cpufrequtils]]
 
ref: [[cpufrequtils]]
== Notes ==
 
=== Sleep ===
 
{{stub}}
 
Fn+F1 or closing lid should put the eee pc to sleep. It calls "acpi-eeepc-generic-suspend2ram.sh".
 
  
=== Wifi ===
+
== Notes ==
{{stub}}
+
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.
+
 
+
= Kernel =
+
{{{stub}}
+
I just use standard kernel26.
+
  
 
= Software =
 
= Software =
Line 62: Line 75:
 
== 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)
 
  00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 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:1b.0 Audio device: Intel Corporation N10/ICH 7 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.0 PCI bridge: Intel Corporation N10/ICH 7 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.1 PCI bridge: Intel Corporation N10/ICH 7 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.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
  00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
+
  00:1d.0 USB Controller: Intel Corporation N10/ICH 7 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.1 USB Controller: Intel Corporation N10/ICH 7 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.2 USB Controller: Intel Corporation N10/ICH 7 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.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
  00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
+
  00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
 
  00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
 
  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.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.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)
+
  00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
 
  01:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
 
  01:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
  02:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)
+
  02:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
  
 
== lsusb ==
 
== lsusb ==
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
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
Bus 003 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 004 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
+
Bus 001 Device 002: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 003: ID 04f2:b036 Chicony Electronics Co., Ltd Asus Integrated 0.3M UVC Webcam
+
Bus 001 Device 003: ID 04f2:b036 Chicony Electronics Co., Ltd Asus Integrated 0.3M UVC Webcam

Revision as of 01:13, 6 December 2012

For now, this is just some notes on the Asus EeePC S101.

Installation

/etc/rc.d/hal start  # detect and install all hardware

boot loader setup of Kernel

I just use standard kernel. eeepc_wmi module will be loaded. Note: add acpi_osi=Linux line in kernel boot loader, to let eeepc_laptop module loading. Otherwise Fn+F2 won't workable.

Wireless

The card is a Atheros Communications Inc. AR928X Wireless Network Adapter (module: ath9k) It is automatic detected by hal.

Xorg

About the Video(Intel 945GME), It is automatic detected by hal.

Touchpad

It is automatic detected by hal.

  • install xf86-input-synaptics

ACPI

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

Touchpad toggle - Silver Button

edit /etc/conf.d/acpi-eeepc-generic.conf

COMMANDS_BUTTON_BLANK=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-touchpad.sh")

Sleep Fn+F1

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

Wifi Fn+F2

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. edit /etc/conf.d/acpi-eeepc-generic.conf

WIFI_DRIVERS=("ath9k")

Brightness Fn+F5/F6

BIOS v1504 has controlled it.

Camera Fn+F7

edit /etc/conf.d/acpi-eeepc-generic.conf:

COMMANDS_SCREEN_OFF=(/etc/acpi/eeepc/acpi-eeepc-generic-toggle-webcam.sh)

To use the camera, install mplayer or luvcview.

luvcview -f yuv
mplayer -vf screenshot -fps 30 tv://  # press 's' to capture

extend battery life

  • install cpufreq
  • edit /etc/rc.conf
MODULES=(... acpi-cpufreq cpufreq_ondemand cpufreq_powersave)
DAEMONS=(... cpufreq)
  • edit /etc/conf.d/cpufreq
governor="ondemand"
min_freq="800MHz"
max_freq="1.5GHz"

ref: cpufrequtils

Notes

Software

Don't bother installing KDE or Gnome on it. The screen might be bigger then the S101, but it's 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

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 N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 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 N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
02:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 003: ID 04f2:b036 Chicony Electronics Co., Ltd Asus Integrated 0.3M UVC Webcam