Differences between revisions 4 and 5
Revision 4 as of 2008-08-31 03:33:55
Size: 1599
Editor: CarlNobile
Comment:
Revision 5 as of 2008-08-31 04:24:01
Size: 2361
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
The script is broken up in four sections: making a working directory, downloading the latest versions of the code, compiling and installing the modules, and modifying the environment. The script is broken up in five sections: making a working directory, downloading the latest versions of the code, compiling and installing the modules, and modifying the environment. When the first {{{sudo}}} command is executed you will need to type in your password.
Line 27: Line 27:
Note: I have never tried to update the hotkey package. The last command {{{#sudo sh -c 'echo eeepc-acpi >> /etc/modules'}}} will probably not be needed if you have already had the hotkey package installed.
Line 28: Line 30:

 * Remove any start up scripts in the {{{/etc/rc[0-6].d}}} directories.
 * Modify the {{{/etc/default/linux-restricted-modules-common}}} configuration file to blacklist the {{{ath_hal}}} module.
 * Remove the {{{2.6.24.3}}} directory tree in the {{{/lib/modules}}} path.

== Load the modules ==

The script just runs modprobe on {{{uvcvideo}}} and {{{ath_pci}}}. However you should reboot to be sure everything comes up properly while booting your computer.

EeePc900-RebuildModules

If you have one of the Ubuntu distributions on your EeePC 900 the wifi and camera moduals will needs to be rebuilt. I will provide a script that will do this for you and try to explain what is being done in the script.

eeepc900install.sh

The script is broken up in five sections: making a working directory, downloading the latest versions of the code, compiling and installing the modules, and modifying the environment. When the first sudo command is executed you will need to type in your password.

Make a working directory

  • First the directory and all its contents are deleted. If for some reason you want to keep it rename or copy it somewhere else.
  • Make the eeepc900 directory.

  • Change into this directory.

Download latest versions

  • Get the latest version of the 0.10.5.6 release of madwifi.
  • Uncomment this line to get the latest hotkey package. (Not actually needed when a kernel is updated.)
  • Get the latest version of the linux-uvc webcam module.

Compile and install packages

  • Make and install the madwifi modules. (The install process creates a new directory named 2.6.24.3 in /lib/modules the new modules are buried in here, so the script needs to copy them into the location where modprobe will find them.

  • Uncomment these lines if you want to upgrade the hotkey package.
  • Make and install the webcam module. (This install process will also use the same directory 2.6.24.3 that the madwifi module made and this script also copies the module from here to the default module directory tree.)

Note: I have never tried to update the hotkey package. The last command #sudo sh -c 'echo eeepc-acpi >> /etc/modules' will probably not be needed if you have already had the hotkey package installed.

Modify the environment

  • Remove any start up scripts in the /etc/rc[0-6].d directories.

  • Modify the /etc/default/linux-restricted-modules-common configuration file to blacklist the ath_hal module.

  • Remove the 2.6.24.3 directory tree in the /lib/modules path.

Load the modules

The script just runs modprobe on uvcvideo and ath_pci. However you should reboot to be sure everything comes up properly while booting your computer.

EeePc900-RebuildModules (last edited 2008-09-14 21:50:50 by CarlNobile)