# aptitude install linux-source-2.6.24 # aptitude install linux-uvc-source # aptitude install ndiswrapper-source # aptitude install alsa-source
* Get Mactel patches
Get Mactel patches from Mactel-Linux patches.
* Get bcm5974(Macbook Air multitouch) source
Get bcm5974(Macbook Air multitouch) source from Apple USB BCM5974 (Macbook Air and Penryn Macbook Pro) multitouch driver.
$ cd /usr/src $ tar jxvf linux-source-2.6.24.tar.bz2 $ cd /usr/src/mactel-patches-156 $ sh ./apply /usr/src/linux-source-2.6.24
$ cd /usr/src/linux-source-2.6.24 $ cp /boot/config-2.6.24-1-amd64 .config $ make xconfig
$ fakeroot make-kpkg --append_to_version -156-core2duo --revision 2.6.24-7 binary-arch
# dpkg -i linux-image-2.6.24-mactel-156-core2duo_2.6.24-7_amd64.deb # dpkg -i linux-headers-2.6.24-mactel-156-core2duo_2.6.24-7_amd64.deb # module-assistant -l 2.6.24-mactel-156-core2duo prepare # module-assistant -l 2.6.24-mactel-156-core2duo auto-install linux-uvc # module-assistant -l 2.6.24-mactel-156-core2duo auto-install ndiswrapper # module-assistant -l 2.6.24-mactel-156-core2duo auto-install alsa
# unzip bcm5974-0.57-src.zip # cd bcm5974 # make -C /lib/module/2.6.24-mactel-156-core2duo/build M=$PWD modules # cp bcm5974.ko /lib/module/2.6.24-mactel-156-core2duo/kernel/drivers/input/mouse/ # ./scripts/bcm5974-post-install # depmod -a 2.6.24-mactel-156-core2duo # update-initramfs -k 2.6.24-mactel-156-core2duo -c # update-grub