USB HID: handle multi-interface devices for Apple macbook pro properly
authorSoeren Sonnenburg <kernel@nn7.de>
Mon, 5 Feb 2007 09:06:01 +0000 (10:06 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 5 Feb 2007 09:06:01 +0000 (10:06 +0100)
commita417a21e10831bca695b4ba9c74f4ddf5a95ac06
treef28e78098fea57ed62d6d12f34a87dbb6737bf6c
parentdd64c151b978dc78ed535433d930c75b5c15deeb
USB HID: handle multi-interface devices for Apple macbook pro properly

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.

Signed-off-by: Soeren Sonnenburg <kernel@nn7.de>
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/usb/input/hid-core.c
include/linux/hid.h