Re: [PATCH 2/2] Add a device driver for the Apple Magic Mouse (2.6.32.8)

Ed Tomlinson
2010-02-11T12:51:19Z

On Wednesday 10 February 2010 22:20:13 Michael Poole wrote:
> Ed Tomlinson writes:
>
> > Hi,
> >
> > When I apply this to head, I get:
> >
> > drivers/hid/hid-magicmouse.c: In function 'magicmouse_probe':
> > drivers/hid/hid-magicmouse.c:393: error: too many arguments to function 'hdev->hid_output_raw_report'
> > drivers/hid/hid-magicmouse.c:400: error: too many arguments to function 'hdev->hid_output_raw_report'
> >
> > I only need the second patch - the first seems to be in tree.
> >
> > Any ideas as to what I am missing?
> >
> > TIA
> > Ed
>
> You're missing the patch that makes hid_output_raw_report() more generic.
> It is in the HID tree[1] as commit d4bfa033.
>
> [1]- http://git.kernel.org/?p=linux/kernel/git/jikos/hid.git

Ok. With this I have a patchset that applies to 2.6.32.8. If anyone wants it
just email.

Of course, Michael's cleanups came just after I booted with the new kernel. I'll
apply it and update & post my changes that allow both x and y scrolling and almost
work for a few multitouch gestures.

Ed