Tips on installing Bayanihan Linux 5 Revision 2 on Asus Eee Box B202

From Bayanihan Knowledge Base

Jump to: navigation, search

It also work on Asus Eee Box B202, here's how:

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

Contents

Equipment Needed:

  • Asus Eee Box B202
  • 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.

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.

X.org Configuration

  1. Edit /etc/X11/xorg.conf and reflect the ff. changes:
 Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Driver  "intel"
        Option "monitor-LVDS" "LVDS"
        Option    "DRI"    "true"
        Option    "AccelMethod"    "EXA"
        Option    "MigrationHeuristic"    "greedy
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Monitor"
        Identifier      "LVDS"
        Option "Ignore" "True"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
EndSection

  1. Run the ff.
# /etc/init.d/kdm stop
# /etc/init.d/kdm start.

Personal tools
Knowledge Base