Differences between revisions 9 and 10
Revision 9 as of 2008-09-14 05:20:22
Size: 3229
Editor: CarlNobile
Comment:
Revision 10 as of 2008-09-14 05:25:30
Size: 3268
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
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. If you have one of the Ubuntu distributions on your EeePC 900 the wifi and camera modules will need 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.
Line 8: Line 8:

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 24: Line 22:
If you don't have a network connection you will need to make a directory named {{{eeepc900}}} and put your previously downloaded packages in it, then run the command with no arguments specified. If you don't have a network connection you will need to make a directory named {{{eeepc900}}} and put your previously downloaded packages in it, then run the script with no arguments specified.

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 30: Line 30:
 * First the directory and all its contents are deleted. If for some reason you want to keep it, rename or copy it somewhere else.  * First the {{{eeepc900}}} directory and all its contents are deleted. If for some reason you want to keep it, rename or copy it somewhere else before running the script.

EeePc900-RebuildModules

The script provided on this page makes the assumption that you have access to the internet most likely through a wired connection. If not you will need to manually download the packages on a different machine and use a memory stick or card to get access to them on your EeePC.

If you have one of the Ubuntu distributions on your EeePC 900 the wifi and camera modules will need 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 arguments that can be passed to this script are:

$ ./eeepc900install.sh -h
Usage: ./eeepc900install.sh -[dn] --[help]

Where:

  • -d -- Download packages
  • -n -- Noop (Nothing evasive happens to your machine.)
  • -h -- Help
  • --help -- Ya think maybe help?

If you don't have a network connection you will need to make a directory named eeepc900 and put your previously downloaded packages in it, then run the script with no arguments specified.

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.

Below is an explanation of what the script will do assuming you have a network connection.

Make a working directory

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

  • 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)