Page 2 of 17 FirstFirst 123412 ... LastLast
Results 11 to 20 of 170

Thread: MAC Magic Mouse on Ubuntu 9.10

  1. #11
    Join Date
    Apr 2009
    Beans
    7
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: MAC Magic Mouse on Ubuntu 9.10

    Have you tried to load the module with modprobe?
    I'm using a patched kernel (all three patches) an compiled to driver as module (not directly into the kernel). This works fine.

  2. #12
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: MAC Magic Mouse on Ubuntu 9.10

    if you want to it loaded at boot, I guess that simply adding
    Code:
    hid_magicmouse
    to /etc/modules should do the trick
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  3. #13
    Join Date
    Oct 2009
    Location
    Toronto
    Beans
    36
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: MAC Magic Mouse on Ubuntu 9.10

    I gave this a try yesterday when I picked up my Magic Mouse... After enabling Bluetooth, Karmic recognized the mouse right away and both click functions work, however scrolling does not.

    I don't think multi-touch gestures will ever work on Linux, since the Mac has its own firmware for software such as Preview, iPhoto, etc etc...

    However, we should be able to get scrolling working. Has anyone submitted this as a problem to get it included in the next distro?
    - AMD 1090T 3.2GHz x6, HIS Radeon HD5850x2, 8 GB RAM, 1 kW PSU: Karmic 9.10 and Windows 7
    - Samsung NC20: Lucid Netbook Remix

    "The conquest of fear lies in the moment of its acceptance."

  4. #14
    Join Date
    Nov 2004
    Beans
    213

    Re: MAC Magic Mouse on Ubuntu 9.10

    Has anyone successfully built this and used the mouse scroll against 2.6.32? I successfully patched and built 2.6.32 but scrolling doesn't work with the module loaded.

  5. #15
    Join Date
    Feb 2010
    Location
    Germany
    Beans
    8
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: MAC Magic Mouse on Ubuntu 9.10

    Quote Originally Posted by linuxopjemac View Post
    if you want to it loaded at boot, I guess that simply adding
    Code:
    hid_magicmouse
    to /etc/modules should do the trick
    Thanx linuxopjemac, that was the missing part!
    Now it works fine!

  6. #16
    Join Date
    Apr 2009
    Beans
    7
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: MAC Magic Mouse on Ubuntu 9.10

    Quote Originally Posted by Nohtanhoj View Post
    However, we should be able to get scrolling working. Has anyone submitted this as a problem to get it included in the next distro?
    Read the above posts!

    Quote Originally Posted by Darrena View Post
    Has anyone successfully built this and used the mouse scroll against 2.6.32? I successfully patched and built 2.6.32 but scrolling doesn't work with the module loaded.
    I have just tried 2.6.31.

  7. #17
    Join Date
    Dec 2006
    Beans
    92

    Re: MAC Magic Mouse on Ubuntu 9.10

    Quote Originally Posted by Nohtanhoj View Post
    I gave this a try yesterday when I picked up my Magic Mouse... After enabling Bluetooth, Karmic recognized the mouse right away and both click functions work, however scrolling does not.

    I don't think multi-touch gestures will ever work on Linux, since the Mac has its own firmware for software such as Preview, iPhoto, etc etc...

    However, we should be able to get scrolling working. Has anyone submitted this as a problem to get it included in the next distro?
    Yes:

    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/512773

    and the multi-touch does work, this driver detects the the multi-touch events now all that we need is an application to map the gestures to actions like this applications do in OS X:

    http://magicprefs.com/
    http://wcrawford.org/2008/02/28/ever...touch-my-cell/
    http://blog.boastr.net/

  8. #18
    Join Date
    Dec 2009
    Beans
    103

    Re: MAC Magic Mouse on Ubuntu 9.10

    wow, i was considering buying one of these....roll on the 25th...i definately am! lol
    http://blog.shymbolic.com <-----made myself a blog now!

  9. #19
    Join Date
    Feb 2010
    Location
    Spain
    Beans
    15

    Re: MAC Magic Mouse on Ubuntu 9.10

    Hi. I have and imac 27" i7 and i was able to install ubuntu (after solved some video problems).

    Now i'm triying to get the sound work (it's only audible via hearphones since i installed alsa backport but internal speakers don't work) and the Apple Magic mouse.

    The magic mouse works well but no multitouch os scrolling at all. Could you guide me how compite the kernel with that 3 archives of the patch? I never compiled a linux kernel or patch it.

    Thanks in advance.

  10. #20
    Join Date
    Apr 2009
    Beans
    7
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: MAC Magic Mouse on Ubuntu 9.10

    First, install the required tools:
    Code:
    sudo apt-get install fakeroot build-essential
    sudo apt-get install crash kexec-tools makedumpfile kernel-wedge
    sudo apt-get build-dep linux
    sudo apt-get install git-core libncurses5 libncurses5-dev
    Then checkout the magicmouse git repository as well as the kernel sources:
    Code:
    git clone http://github.com/entrope/linux-magicmouse.git 
    cd linux-magicmouse
    git clone git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git linux-source
    cd linux-source
    After that, you have to switch to the current kernel release (currently 2.6.31-19.56, see debian.master/changelog):
    Code:
    git checkout Ubuntu-2.6.31-19.56
    Now you are ready to apply the magicmouse patches:
    Code:
    patch -p1 < ../0001-Export-hid_register_report.patch
    patch -p1 < ../0002-Add-a-hid_ll_driver.hid_set_report-function.patch
    patch -p1 < ../0003-Add-a-device-driver-for-the-Apple-Magic-Mouse.patch
    Create a magicmouse flavour, clean the build directory and regenerate the config file:
    Code:
    cp debian.master/config/i386/config.flavour.generic debian.master/config/i386/config.flavour.magicmouse
    cp debian.master/config/amd64/config.flavour.generic debian.master/config/amd64/config.flavour.magicmouse
    fakeroot debian/rules clean
    debian.master/scripts/misc/kernelconfig oldconfig
    Verify that the magicmouse driver is included in the config:
    Code:
    grep MAGICMOUSE debian.master/config/config.common.ubuntu
    You should see the module name with an "m":
    Code:
    CONFIG_HID_MAGICMOUSE=m
    After that you have to copy some abi files:
    Code:
    cp debian.master/abi/2.6.31-17.54/i386/generic debian.master/abi/2.6.31-17.54/i386/magicmouse
    cp debian.master/abi/2.6.31-17.54/i386/generic.modules debian.master/abi/2.6.31-17.54/i386/magicmouse.modules
    cp debian.master/abi/2.6.31-17.54/amd64/generic debian.master/abi/2.6.31-17.54/amd64/magicmouse
    cp debian.master/abi/2.6.31-17.54/amd64/generic.modules debian.master/abi/2.6.31-17.54/amd64/magicmouse.modules
    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
    Code:
    getall amd64 generic server
    getall i386 generic generic-pae 386
    to
    Code:
    getall amd64 generic server magicmouse
    getall i386 generic generic-pae 386 magicmouse
    Two more files to edit, open "debian.master/rules.d/i386.mk" and change
    Code:
    flavours        = generic generic-pae 386
    to
    Code:
    flavours        = generic generic-pae 386 magicmouse
    Than open "debian.master/rules.d/amd64.mk" and change
    Code:
    flavours  = generic server
    to
    Code:
    flavours  = generic server magicmouse
    Last step before you you can start the build, create a description for your flavour:
    Code:
    cp debian.master/control.d/vars.generic debian.master/control.d/vars.magicmouse
    Open the file "debian.master/control.d/vars.magicmouse" and change the target line to something like this:
    Code:
    target="Modified for Apples Magic Mouse."
    Finally you are ready to build your new kernel (this takes a while...):
    Code:
    fakeroot debian/rules clean
    skipabi=true skipmodule=true fakeroot debian/rules binary-magicmouse
    skipabi=true skipmodule=true fakeroot debian/rules binary-indep
    If everything works fine, you should get some Debian packages in the parent directory. You have to install both header packages and the image itself:
    Code:
    cd ..
    dpkg -i linux-headers*.deb linux-image*.deb
    Now reboot and hopefully get your mouse working
    Last edited by Jay2Cee; February 5th, 2010 at 01:31 PM.

Page 2 of 17 FirstFirst 123412 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •