Re: Fwd: Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

From: Joseph Fannin
Date: Mon Oct 30 2006 - 05:18:15 EST


On Sat, Oct 28, 2006 at 10:27:46PM +0200, Soeren Sonnenburg wrote:
> On Sat, 2006-10-28 at 20:55 +0200, Oliver Neukum wrote:
> > > From: Sergey Vlasov <vsu@xxxxxxxxxxx>
> > > Subject: usbhid: Add HID_QUIRK_IGNORE_MOUSE flag
> > >
> > > Some HID devices by Apple have both keyboard and mouse interfaces; the
> > > keyboard interface is handled by usbhid, but the mouse (really
> > > touchpad) interface must be handled by the separate 'appletouch'
> > > driver. Using HID_QUIRK_IGNORE will make hiddev ignore both
> > > interfaces, therefore a new quirk flag to ignore only the mouse
> > > interface is required.

The appletouch driver doesn't work properly on the MacBook
(non-Pro). It claims the device, and sort of functions, but is
basically unusable.

If this goes in, and blacklists the MacBook touchpad too, Macbook
users will be unhappy. I think the MacBook and the -Pro use the same
IDs, though, which makes a problem for this patch until appletouch is
fixed on MacBooks.

> > Exactly. Combing both patches:
> > Soeren, if this works, please sign it off and send it to Greg.
>
> OK, this works, but as the same IDs need the FN key hacks I or'ed the FN
> and mouse quirk flags. Also I added the appleir (builtin infrared on the
> macbook/pro) to the list of ignored IDs. Therefore the patch though very
> similar is again slightly different.
>
> But hey, it worked for me over the last hour on this mbp :-))
> Please comment/apply.
>
> Soeren.

> Signed-off-by: Soeren Sonnenburg <kernel@xxxxxx>
> Signed-off-by: Sergey Vlasov <vsu@xxxxxxxxxxx>


--
Joseph Fannin
jfannin@xxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/