Return-Path: From: Ed Tomlinson To: Michael Poole Subject: Re: [PATCH 2/2] Add a device driver for the Apple Magic Mouse (2.6.32.8) Date: Thu, 11 Feb 2010 07:51:14 -0500 Cc: Jiri Kosina , linux-input@vger.kernel.org, Marcel Holtmann , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org References: <201002102205.58967.edt@aei.ca> <878wb0e9w2.fsf@troilus.org> In-Reply-To: <878wb0e9w2.fsf@troilus.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Message-Id: <201002110751.14813.edt@aei.ca> List-ID: 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