|
From: Stelian P. <st...@po...> - 2007-09-11 20:20:44
|
Jiri Kosina a écrit :
> On Thu, 6 Sep 2007, Stelian Pop wrote:
>
>> The infrared remote receiver found in the SantaRosa MacBookPro
>> laptops (MacBookPro3,1) need to be forced to expose a HIDDEV interface
>> so that lirc can access it using the 'macmini' driver.
>> Note that the IR receiver found in the older MacBook{,Pro}s doesn't need
>> the quirk, but the newer one does.
>
> Hi Stelian,
>
> probably HID_QUIRK_IGNORE would be better?
I don't think so. My understanding is that HID_QUIRK_IGNORE causes the
device to be ignored by HID input _and_ HID dev.
What we want here for the IR receiver is to expose a HIDDEV interface
(even if IS_INPUT_APPLICATION() is true...), and HID_QUIRK_HIDDEV is
there exactly for that.
With this patch the device exposes both the HID dev and the HID input
interfaces. The latter isn't useful but I didn't find a suitable QUIRK
flag to force its removal.
Stelian.
|