Tips on installing Bayanihan Linux 5 Revision 2 on Asus Eee PC 1000H

From Bayanihan Knowledge Base

Jump to: navigation, search

Ever wonder if Bayanihan will run on Asus Eee PC?Yes it does, here's how:

author: m's <emman@asti.dost.gov.ph>

Contents

Equipment Needed:

  • Asus Eee PC 1000H
  • USB External CD/DVD Drive
  • Bayanihan Linux 5 Revision 2 Installer CD

Procedure:

Boot up and Installation

  1. Connect the external CD/DVD drive to the Asus Eee PC 1000H.
  2. Power up the Eee PC and enter the BIOS setup.
  3. Configure the BIOS to boot the external CD/DVD drive.
  4. Insert the Bayanihan Linux 5 Revision 2 installer CD and save and exit the BIOS setup.
  5. Enter the installer GUI and install BL5 normally.
    • (Optional)If Windows XP is included by default, resize the NTFS partition to allocate BL5.
    • Important: Do not remove the recovery partition as this is essential in upgrading the BIOS firmware.
    • Suggestion: Allocate at least 15GB of space for the / partition and separate the /home partition. Set the swap partition to 2GB or less.
  6. After installing, remove the CD/DVD drive and reboot your machine.

Bootsplash

Edit /boot/grub/menu.lst and add “vga=789” to the kernel lines, without the quotes. This will enable the bootsplash.

Kernel Patch for Intel Atom Processors (optional)

  1. This patch applies to <2.6.32.
  2. Install the build-essential and libncurses5-dev packages.
  3. Download the Linux Kernel source from http://www.kernel.org and extract the source code to /usr/src/kernels/ directory.
  4. Edit the file drivers/hwmon/coretemp.c and add the ff lines:
 
 }
}
-      data->tjmax = adjust_tjmax(c, data->id, &pdev->dev);
-      platform_set_drvdata(pdev, data);
+      /* Intel Atom has only fixed TjMax at 95C */
+
+      if (c->x86_model == 0x1c) {
+              data->tjmax = 95000;
+      } else {
+              /* Adjust the TjMax for the rest of Core2 family */
+              data->tjmax = adjust_tjmax(c, data->id, &pdev->dev);
+      }
     /* read the still undocumented IA32_TEMPERATURE_TARGET it exists
        on older CPUs but not in this register */
       }
    }
+      platform_set_drvdata(pdev, data);
+
     if ((err = sysfs_create_group(&pdev->dev.kobj, &coretemp_group)))
             goto exit_dev;
     for_each_online_cpu(i) {
             struct cpuinfo_x86 *c = &cpu_data(i); 
-              /* check if family 6, models 0xe, 0xf, 0x16, 0x17, 0x1A */
+              /* check if family 6, models 0xe, 0xf, 0x16, 0x17, 0x1a, 0x1c */
             if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
                 !((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
                       (c->x86_model == 0x16) || (c->x86_model == 0x17) ||
-                      (c->x86_model == 0x1A))) {
+                      (c->x86_model == 0x1a) || (c->x86_model == 0x1c))) {
                     /* supported CPU not found, but report the unknown
                        family 6 CPU */
  1. Compile the kernel, install, and reboot.
  2. Suggestion: Unnecessary kernel modules may be removed to speed up compilation.

Additional Packages

  1. Install aosd-cat and eeepc-acpi-scripts packages. The aosd-cat package will enable on-screen display when hotkeys are used.
  2. Optional: Upgrade the eeepc-acpi-scripts package to 1.1.2 from the testing repository.
    • Edit /etc/default/eeepc-acpi-scripts and reflect the ff. changes:
ENABLE_OSD='yes'
OSD_FONT='DejaVuSans 12'
ENABLE_OSD_BRIGHTNESS='yes'
SOUND_VOLUME_STEP=5
VGA_ON='--mode 1024x768 --above LVDS'
LVDS_OFF='—auto'
X.org Configuration

  1. Edit /etc/X11/xorg.conf and reflect the ff. changes:
 Section "Device"
        Identifier      "Intel 945GME"
        Driver          "intel"
        Option          "Monitor-VGA"   "External VGA"
        Option          "Monitor-LVDS"  "Builtin LCD"
        BusID           "PCI:0:2:0"
        Option          "EnablePageFlip"    "on"
        Option          "AccelMethod"        "EXA"
        #Option          "AccelMethod"        "XAA"
        Option          "MigrationHeuristic"   "greedy"
        Option          "AccelDFS"      "true"
        Option          "DynamicClocks"    "on"
        Option          "ColorTiling"       "on"
        Option          "FBTexPercent"       "95"
        Option          "XAANoOffscreenPixmaps" "true"
        Option          "AddARGBGLXVisuals"     "true"
        Option          "DRI"   "true"
 EndSection
 Section "DRI"
    Group      "video"
    Mode 0666
 Endsection
 Section "Extensions"
    Option              "Composite"     "Enable"
 Endsection
 Section "Monitor"
        Identifier      "Builtin LCD"
        Option          "PreferredMode" "1024x600_65.00"
 EndSection
 Section "Monitor"
        Identifier      "External VGA"
        Option          "Above" "Builtin LCD"
        Option          "PreferredMode" "1280x1024_75.00"
 EndSection
 Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel 945GME"
        Monitor         "Builtin LCD"
        DefaultDepth    24
        SubSection      "Display"
                Depth           24
                Virtual         1280 1624
        EndSubSection
 EndSection
 Section "InputDevice"
    Identifier  "Synaptics Touchpad"
    Driver      "synaptics"
    Option      "Device"        "/dev/psaux"
    Option      "Protocol"      "auto-dev"
    Option      "HorizScrollDelta"  "0"
    Option      "MaximumTapTime"        "200"
    Option      "ClickTime"     "50"
    Option      "MaxTapMove"    "320"
    Option      "MaximumDoubleTapTime"  "5"
    Option      "VertTwoFingerScroll"   "1"
    Option      "VertEdgeScroll"    "0"
    Option      "HorizEdgeScroll"   "0"
    Option      "SingleTapTimeout"  "1"
    Option      "FastTabs"          "1"
    Option      "VScrollEmuOff"     "1"
    Option      "VertScrollDelta"   "80"
    Option      "SHMConfig"         "on"
    Option      "CircularScrolling" "1"
    Option      "CircScrollTrigger" "8"
    Option      "CircScrollDelta"   "0.14"
    Option      "TapButton3"        "2"
    Option      "TapButton2"        "3"
    Option      "TapButton1"        "1"
 EndSection
 Section "ServerLayout"
        Identifier      "Mine"
        Screen          0       "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Synaptics Touchpad" "AlwaysCore"
        InputDevice     "Configured Mouse" "CorePointer"
 EndSection

  1. Restart the GUI.
    • Notes: With this configuration, the features of the touchpad is usable, such as two-finger scrolling. Also, the intel driver for X.org has a limitation of 2048x2048 screensize so multiple screen set-up is limited.

Personal tools
Knowledge Base