Re: [PATCH] Input: add appleir USB driver



On Wed, May 14, 2008 at 15:15:19 -0700, Greg KH wrote:
From: Greg Kroah-Hartman <gregkh@xxxxxxx>

This driver was originally written by James McKenzie but forward ported
and cleaned up by me to get it to work with modern kernel versions.

Tested on my mac mini and it actually works!

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---

Jiri, is it ok for this quirks addtion to go through Dmitry's triee? Or
do you want me to split it out into two different patches?

Dmitry, is this ok to go through your tree? Or I can take it as well if
you don't want it :)

drivers/hid/usbhid/hid-quirks.c | 2
drivers/input/misc/Kconfig | 12 +
drivers/input/misc/Makefile | 1
drivers/input/misc/appleir.c | 361 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 376 insertions(+)

--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -77,6 +77,7 @@
#define USB_DEVICE_ID_APPLE_ALU_WIRELESS_JIS 0x022e
#define USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY 0x030a
#define USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY 0x030b
+#define USB_DEVICE_ID_APPLE_IRCONTROL 0x8240
#define USB_DEVICE_ID_APPLE_IRCONTROL4 0x8242

#define USB_VENDOR_ID_ASUS 0x0b05
@@ -443,6 +444,7 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_AFATECH, USB_DEVICE_ID_AFATECH_AF9016, HID_QUIRK_FULLSPEED_INTERVAL },

{ USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM, HID_QUIRK_HIDDEV },
+ { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL4, HID_QUIRK_HIDDEV | HID_QUIRK_IGNORE_HIDINPUT },
{ USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE, HID_QUIRK_HIDDEV | HID_QUIRK_IGNORE_HIDINPUT },
{ USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_SIDEWINDER_GV, HID_QUIRK_HIDINPUT },

Hi,

I'm pretty sure that this breaks the macmini LIRC driver again, see
commit 3e1928e8793208802589aae851b6685671187242.

Regards,
Tino
--
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/



Relevant Pages

  • Re: [PATCH] Input: add appleir USB driver
    ... This driver was originally written by James McKenzie but forward ported ... and cleaned up by me to get it to work with modern kernel versions. ... Last time I used the original driver, ... had to reload it after resume, otherwise LIRC didn't receive events ...
    (Linux-Kernel)
  • 2.6.17-rc4-mm2
    ... please test this tree and report the results. ... expect it to fix quite a few things. ... See the `hot-fixes' directory for any important updates to this patchset. ... ARM driver fix ...
    (Linux-Kernel)
  • Re: sysctl in 2.6.24.2 excludes unapproved files from /proc/sys?
    ... entries to it, and THAT failed. ... device driver subtree, methinks. ... And you want me to use CTL_UNNUMBERED for everything in my subtree ... Out of tree driver -- nobody cares. ...
    (Linux-Kernel)
  • Re: VS Express 2005
    ... You'll have to arrange for include and library paths to some ... stuff in the PB build tree, but maybe this is the best you can do... ... >> beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: [ltp] do I have to worry?
    ... I currently compile a new kernel from Linus' latest tree with the attached ... patches to get suspend with my sata drive and my wireless working. ... hdaps: driver successfully loaded. ...
    (Linux-Kernel)