Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Just received new Apple Magic Mouse and tried to install it on my computer with Ubuntu 9.10.

Mouse was found as Bluetooth mouse, I entered PIN as 0000 (could not find it in user manual, so just googgled it). Now I have 2 buttons working well - left and right, but scrolling does not work.

I understand that there is no driver for Magic Mouse for linux, but maybe some enthusiasts already found way to enable scrolling. Without scrolling with only 2 buttons this mouse is just like my first mouse I bought in 1997, Mitsumi as I can remember =)

share|improve this question

4 Answers 4

With kernel 2.6.34 the Magic Mouse driver is included, so scrolling should just work(tm).

I have Ubuntu 10.04 and updated to linux-image-2.6.35-23-generic, and scrolling is working without any other configuration. It doesn't look like 2.6.35 is available in karmic-backports or updates. So you would either have to upgrade to 10.04 or 10.10 or build your own kernel.

share|improve this answer

there is a driver for this mouse but it's very recent and you have to compile it yourself: http://github.com/entrope/linux-magicmouse

share|improve this answer
    
Thanks, will try this. –  krig Jan 27 '10 at 11:36

I just noticed that someone created an xorg input module and posted it on GitHub. Maybe that will be of use to you.

There is also some Ruby code to get at the mouse's functionality.

share|improve this answer
    
Thanks. Will try to build this module. –  krig Dec 29 '09 at 11:33
    
Looks like Ruby code is useless for me as it has "Mac OS X with Bluetooth" in its requirements. –  krig Dec 29 '09 at 11:35
    
This code might help when/if it matures github.com/entrope/linux-magicmouse –  Colin Harrington Jan 21 '10 at 17:27

So far no, the magic mouse does not have a standard way to provide scrolling information. As best as I can discover, the pairing process checks the "PNP Information" profile to find the Manufacturer and Product IDs (to match Apple/Magic Mouse) then sends some HID Feature reports to enable the special features of the touch surface and set the device name. Then, the mouse sends reports of the finger touch data and I don't know what they mean. Going from the HID descriptor, it may be that there is an array of sensors on the surface of the device that just show finger positions.

Sorry I don't have a mouse or a mac (or ubuntu :) so I can't provide any more information about this and am unable to experiment at this time.

I suspect the driver will need to interpret the sensor array data manually for single and multi-touch and generate its own 'scroll' and 'pan' events, along with middle-click if required and any other kind of swipes..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.