ModuleBuilding
This page will hopefully evolve into a generic Howto, but for now it will focus on the acx wifi driver from http://acx100.sourceforge.net
I am working with the hawking_hwp54g – Ubuntu has and older version of the driver, and my card isn't working. So I thought I would try using the current version of the driver, and make some notes along the way.
Make a dir, get/untar the aix source.
mkdir -p src/acx cd src/acx wget http://www.cmartin.tk/acx/acx-20060215.tar.bz2 tar xjvf acx-20060215.tar.bz2
Warning! acx-20060215.tar.bz2 is a tar-bomb (drops files and dirs in the current dir instead of creating a single dir)
The Readme says I need to compile a new kernel, but that isn't true.
To build anything, you might as well get the basic build package, and to build a kernel module, you need the KernelHeaders (for the box the module will be running on)
sudo apt-get install build-essential linux-headers-2.6.15-22-686
To build, don't follow the acx's Readme (it says you need to compile the whole kernel.) Following a lines I saw here: http://acx100.sourceforge.net/wiki/ACX
make -C /lib/modules/`uname -r`/build M=`pwd` sudo make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
Thats about it for building and installing. In the case of the acx module, using it takes a few more steps, which are slightly off topic, but I may as well continue them here.