android_kernel_xiaomi_sm8350/drivers/hid/usbhid
Stelian Pop 0ce91cf9ce HID: enable hiddev for the SantaRosa MacBookPro IR receiver
The infrared remote receiver found in the SantaRosa MacBookPro
laptops (MacBookPro3,1) need to be forced to expose a HIDDEV
interface (instead of HIDINPUT) so that lirc can access it using
the 'macmini' driver.

The patch below adds the required quirk for forcing the HIDDEV
interface to be activated (HID_QUIRK_HIDDEV) and introduces a new
quirk which forces the HIDINPUT interface to be ignored
(HID_QUIRK_IGNORE_HIDINPUT).

Note that Apple calls this receiver 'IRController4' (info taken
from Apple's driver Info.plist). Older Mac{Book,Mini,Pro}s seem
to all use the 'IRController1' device (USB id 05ac:8240) which
doesn't need those quirks.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2007-10-14 13:40:01 +02:00
..
hid-core.c HID: minimal autosuspend support for USB HID devices 2007-10-14 13:40:00 +02:00
hid-ff.c HID: add support for Thrustmaster FGT Force Feedback wheel 2007-10-14 13:40:00 +02:00
hid-lgff.c
hid-pidff.c HID: fix autocentering of PID devices 2007-07-09 14:13:35 +02:00
hid-plff.c
hid-quirks.c HID: enable hiddev for the SantaRosa MacBookPro IR receiver 2007-10-14 13:40:01 +02:00
hid-tmff.c HID: add support for Thrustmaster FGT Force Feedback wheel 2007-10-14 13:40:00 +02:00
hid-zpff.c
hiddev.c
Kconfig HID: add support for Thrustmaster FGT Force Feedback wheel 2007-10-14 13:40:00 +02:00
Makefile
usbhid.h
usbkbd.c
usbmouse.c