ASUS Eee PC 1201NL

From Gentoo Wiki
Jump to:navigation Jump to:search


Hardware Status

Device Works Notes
Intel Atom N270 Yes
Nvidia ION Yes
Intel HDA Yes
Ethernet Atheros AR8132 Yes
Wireless Atheros AR9285 Yes
Bluetooth Yes
Camera Yes
Card Reader Yes

Hardware

root #lspci -nn
00:00.0 Host bridge [0600]: nVidia Corporation MCP79 Host Bridge [10de:0a82] (rev b1)
00:00.1 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0a88] (rev b1)
00:03.0 ISA bridge [0601]: nVidia Corporation MCP79 LPC Bridge [10de:0aae] (rev b3)
00:03.1 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0aa4] (rev b1)
00:03.2 SMBus [0c05]: nVidia Corporation MCP79 SMBus [10de:0aa2] (rev b1)
00:03.3 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0a89] (rev b1)
00:03.5 Co-processor [0b40]: nVidia Corporation MCP79 Co-processor [10de:0aa3] (rev b1)
00:04.0 USB Controller [0c03]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa5] (rev b1)
00:04.1 USB Controller [0c03]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa6] (rev b1)
00:06.0 USB Controller [0c03]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa7] (rev b1)
00:06.1 USB Controller [0c03]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa9] (rev b1)
00:08.0 Audio device [0403]: nVidia Corporation MCP79 High Definition Audio [10de:0ac0] (rev b1)
00:09.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Bridge [10de:0aab] (rev b1)
00:0b.0 IDE interface [0101]: nVidia Corporation MCP79 SATA Controller [10de:0ab5] (rev b1)
00:10.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0aa0] (rev b1)
00:16.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
00:18.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac7] (rev b1)
02:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0876] (rev b1)
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
05:00.0 Ethernet controller [0200]: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter [1969:1062] (rev c0)
user $lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 001 Device 002: ID 13d3:5111 IMC Networks Integrated Webcam
Bus 004 Device 002: ID 0b05:1789 ASUSTek Computer, Inc. 

CPU

FILE /etc/portage/make.conf
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"

Video

Kernel

KERNEL nVidia
General setup --->
 [*] System V IPC
Loadable Module Support --->
 [*] Enable Loadable Module Support
Processor Type and Features --->
 [*] MTRR (Memory Type Range Register) Support

Device Drivers --->
 Graphics support --->
  [*] /dev/agpgart (AGP Support)

Device Drivers --->
 Graphics Support --->
   Support for frame buffer devices --->
  < >   nVidia Framebuffer Support
  < >   nVidia Riva support

Install driver

root #emerge --ask x11-drivers/nvidia-drivers

Xorg

FILE /etc/X11/xorg.conf
Section "Files"
 ModulePath   "/usr/lib/xorg/modules"
 FontPath     "/usr/share/fonts/misc/"
 FontPath     "/usr/share/fonts/TTF/"
 FontPath     "/usr/share/fonts/OTF/"
 FontPath     "/usr/share/fonts/Type1/"
 FontPath     "/usr/share/fonts/100dpi/"
 FontPath     "/usr/share/fonts/75dpi/"
EndSection
 
Section "Module"
 Load    "record"
 Load    "glx"
 Load    "dbe"
 Load    "extmod"
EndSection
 
Section "Monitor"
 Identifier "Monitor0"
 ModelName  "Asus 1201NL"
 Option "DPI" "96x96"
EndSection
 
Section "Device"
 Identifier "Card0"
 Driver     "nvidia"
 BusID      "PCI:2:0:0"
 Option     "NoLogo"                "True"
 Option     "AllowGLXwithComposite" "True"
 Option     "TripleBuffer"          "True"
 Option     "AddARGBGLXVisuals"     "True"
EndSection
 
Section "Screen"
 Identifier "Screen0"
 Device     "Card0"
 Monitor    "Monitor0"
 SubSection "Display"
  Viewport   0 0
  Depth     24
 EndSubSection
EndSection
 
Section "ServerFlags"
    Option      "AllowEmptyInput" "on"
    Option      "AutoAddDevices" "on"
    Option      "AutoEnableDevices" "on"
EndSection
 
Section "ServerLayout"
    Identifier  "Asus 1201NL"
    Screen 0    "Screen0" 0 0
EndSection

Sound

KERNEL Intel HDA
Device Drivers  --->
   Sound --->
   <*> Sound card support
   <*>   Advanced Linux Sound Architecture --->
   [*]     PCI devices --->
   <*>       Inetl HD Audio --->
   [*]         Build Realtek HD-audio codec support
   [*]         Build NVIDIA HDMI HD-audio codec support

Ethernet

KERNEL AR8132
  Device Drivers --->
     [*] Network device support --->
     [*]   Ethernet (1000 Mbit) --->
     <*>     Atheros L1C Gigabite Ethernet support
Note
To avoid system hang at high Ethernet activity, set MTU=750

Wireless

KERNEL AR9285
[*] Networking support --->
     <*>   Wireless ---> 
     <*>    cfg80211 - wireless configuration API
     <*>    Generic IEEE 802.11 Networking Stack (mac80211)

Device Drivers ---> 
     [*]   Network device support --->
     [*]    Wireless LAN --->
     <*>     Atheros Wireless Cards --->
     <*>      Atheros 802.11n wireless cards support

Bluetooth

KERNEL Bluetooth
     [*] Networking support --->
     <*>   Bluetooth subsystem support --->
     <*>     L2CAP protocol support
     <*>     SCO links support
     <*>     RFCOMM protocol support
     [*]       RFCOMM tty support
     <*>     BNEP protocol support
     [*]       Multicast filter support
     [*]       Protocol filter support
     <*>     HIDP protocol support       
             Bluetooth device drivers --->
     <*>       HCI USB driver

Fn Keys

KERNEL
Bus options (PCI etc.)  --->
    <*> Support for PCI Hotplug  --->
Device Drivers  --->
    [*] X86 Platform Specific Device Drivers  --->
        <*> ASUS WMI Driver
        <*>    Eee PC WMI Driver
        <*> WMI

Camera

KERNEL
Device Drivers --->
     Multimedia devices --->
     [*]   Video capture adapters --->
     [*]     V4L USB device --->
     <*>       USB Video Class (UVC)
     [*]         UVC input events device support
user $dmesg | grep EasyCamera
uvcvideo: Found UVC 1.00 device USB2.0 UVC VGA WebCam (13d3:5111)

Test Camera

user $mplayer -tv driver=v4l2:device=/dev/video0 tv://
Note
Need mplayer build with v4l2 USE flag

Bug On new kernel (3.3.8) camera hangs the system, to avoid this, build driver as module.

KERNEL
     Multimedia devices --->
     <M>       USB Video Class (UVC)
     [*]         UVC input events device support

And put below options to the module.

root #echo "options uvcvideo nodrop=1" > /etc/modprobe.d/uvcvideo.conf

Sleep

If after Fn-F2 laptop goes to suspend and wakes up immediately, run as root code below and try again.

root #echo US15 > /proc/acpi/wakeup

If the problem was fixed, add this code to autostart. For example:

root #echo "echo US15 > /proc/acpi/wakeup" > /etc/local.d/suspend_fix.start
root #chmod +x /etc/local.d/suspend_fix.start
Note
Tested on gentoo-sources-3.3.8