My system is working mostly fine, alltough I get some warnings in startup and suspend doesn't work. I used the instructions in message #83 with version 2.6.32-8 to compile my kernel despite the warnings. Thanks to everyone who have helped make the magic mouse work in Ubuntu this far. This specific part may change as they change the patches so you might have to type patch -p1 for each patch so that it picks up the right names. Git clone git:///ubuntu/ubuntu-lucid.git linux-sourceĬd linux-sourceNow we apply the patches for the magic mouse. Now we are going to download the kernel and unpack it and change to the directory: Sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev To download the packages we need to build it. These steps are taken directly from that thread and credit for them goes to the author. Now lets follow the Master Kernel Thread () for the next few steps. Git clone git:///entrope/linux-magicmouse.git For those trying to compile this yourselves i recommend using the master kernel thread and the git repo together. I dont think this will be in the next release. It's working for me with no problems, has anyone applied the xy scroll patch? Does anyone know if this is going to be included in the next kernel release? Would it make sense to incorporate that patch into this compiled kernel as well? Just a newb suggestion.Įdit: I've succeded on my quest for sound without using a kernel patch. You guys seem to be all over kernel patching, and I know some of you are interested in getting sound to work (from other threads), so I thought I'd throw in the link. I noticed this page: a=commitdiff h=1a5ba2e9fc7999b8de2a71c7e7b 9f58d752c05e4 provides a kernel patch to resolve sound issues for the 27 inch imac. PS - I'm on a quest to get sound working too. Would you be so kind as to supply the i386 one too? It doesnt work, because it complains that the architecture is wrong: amd64 vs my i386. Sudo dpkg -i linux-headers*.deb linux-image*.deb to install the unpackaged. I've just downloaded the two halves of the kernel gzip, usedĬat linux-ubuntu9.10-kernel_0* | tar -xzvf - to unpackage and tried to use I'm computer literate, but very new to Ubuntu. Now reboot and hopefully get your mouse working :) You have to install both header packages and the image itself:ĭpkg -i linux-headers*.deb linux-image*.deb If everything works fine, you should get some Debian packages in the parent directory. Skipabi=true skipmodule=true fakeroot debian/rules binary-indep Skipabi=true skipmodule=true fakeroot debian/rules binary-magicmouse Target="Modified for Apples Magic Mouse."įinally you are ready to build your new kernel (this takes a while.): Open the file "debian.master/control.d/vars.magicmouse" and change the target line to something like this: Last step before you you can start the build, create a description for your flavour:Ĭp debian.master/control.d/vars.generic debian.master/control.d/vars.magicmouse Than open "debian.master/rules.d/amd64.mk" and change Two more files to edit, open "debian.master/rules.d/i386.mk" and changeįlavours = generic generic-pae 386 magicmouse Getall i386 generic generic-pae 386 magicmouse We have to add the new flavour to the build process, therefore open the file "debian.master/scripts/misc/getabis" in your favourite text editor and change the following lines Verify that the magicmouse driver is included in the config: 0003-Add-a-device-driver-for-the-Apple-Magic-Mouse.patchĬreate a magicmouse flavour, clean the build directory and regenerate the config file:Ĭp debian.master/config/i386/ debian.master/config/i386/Ĭp debian.master/config/amd64/ debian.master/config/amd64/ĭebian.master/scripts/misc/kernelconfig oldconfig Now you are ready to apply the magicmouse patches: Git clone git:///ubuntu/ubuntu-karmic.git linux-sourceĪfter that, you have to switch to the current kernel release (currently 2.6.31-19.56, see debian.master/changelog): Then checkout the magicmouse git repository as well as the kernel sources: Sudo apt-get install git-core libncurses5 libncurses5-dev Sudo apt-get install crash kexec-tools makedumpfile kernel-wedge Sudo apt-get install fakeroot build-essential
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |