Interface software/kernel module for the Apple Wireless "Magic" Mouse
C
Switch branches/tags
Nothing to show
Latest commit cd7fe9f Feb 12, 2010 @entrope entrope Respin patch series onto v2.6.32.8, and include other fixes.
Include the predecessor patches to apply this to a stable Linux tree.
Jiri Kosina (the HID subsystem maintainer) fixed up the Kconfig entry.
Dmitry Torokhov (the input subsystem maintainer) pointed out some
coding style errors and an error-handling bug.
Permalink
Failed to load latest commit information.
.gitignore The driver works reasonably well now. Jan 25, 2010
0001-Bluetooth-Implement-raw-output-support-for-HIDP-laye.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0002-Bluetooth-Use-the-control-channel-for-raw-HID-report.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0003-HID-make-raw-reports-possible-for-both-feature-and-o.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0004-Bluetooth-Fix-PTR_ERR-return-of-wrong-pointer-in-hid.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0005-Bluetooth-Keep-a-copy-of-each-HID-device-s-report-de.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0006-HID-Export-hid_register_report.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0007-HID-add-a-device-driver-for-the-Apple-Magic-Mouse.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0008-HID-fix-up-Kconfig-entry-for-MagicMouse.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
0009-HID-magicmouse-coding-style-and-probe-failure-fixes.patch Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
COPYING Add license notices, a COPYING file and a README file. Jan 21, 2010
INSTALL Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
Kbuild WIP snapshot of a Linux-HID driver for the mouse. Jan 24, 2010
Makefile WIP snapshot of a Linux-HID driver for the mouse. Jan 24, 2010
README Split hid-support.diff into submittable patches; rev hid-magicmouse.c. Jan 26, 2010
hid-ids.h Respin patch series: Align with upstream, clarify code, fix scrolling. Feb 6, 2010
hid-magicmouse.c Respin patch series onto v2.6.32.8, and include other fixes. Feb 12, 2010
hid-parse.c Add license notices, a COPYING file and a README file. Jan 21, 2010
mtalk.c WIP snapshot of a Linux-HID driver for the mouse. Jan 24, 2010
usb-bt-dump.c Add license notices, a COPYING file and a README file. Jan 21, 2010

README

This code contains a Linux kernel driver for the magic mouse.  Please
see the INSTALL file for directions on how to use it with your kernel.

This code also contains three standalone programs:

hid-parse reads one or more input files (specified on the command
line) that contain hexadecimal-formatted HID report descriptors, and
prints out human-readable text forms of the descriptors.  It should be
considered fairly complete and stable.

mtalk talks to an Apple Magic Mouse (using L2CAP with the HID control
and interrupt Protocol and Service Multiplexors [PSMs]) and prints
human-readable forms of the messages that it receives.  Typically the
only command-line parameters you would pass are -r <BluetoothAddr>.
It should be considered 85% complete.

usb-bt-dump reads a text dump in the format generated by Linux's
usbmon (e.g. /sys/kernel/debug/usb/usbmon/0u) to parse Bluetooth
messages at various layers (HCI, L2CAP, etc) and print annotations
with the parsed form.  It is woefully incomplete and buggy and will
probably not be maintained.

I wrote usb-bt-dump first, followed by mtalk, followed by hid-parse.
mtalk is the only one that I expect to modify going forward.