[PATCH] Add N-Trig to USB HID quirks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Micki Balanga micki@xxxxxxxxxx

This patch is required for N-trig support for the Linux Environment. It
requests the USBHID driver to ignore an N-trig device, when connected to
the USB bus.

The N-trig Solution will consist of: 

1. Kernel driver: The purpose of this driver is to translate USB
messages into input events. For example, EV_KEY, EV_ABS.
 
2. X11 input driver: The purpose of the X11 is to simulate X11 events,
according to input received from the driver.

Signed-off-by: Micki Balanga micki@xxxxxxxxxx
---
N-trig is revolutionizing the way that people interact with computers by
providing the industry's first dual-mode pen and touch input device.
N-trig's DuoSense(tm) technology uses zero-pressure capacitive touch and
provides a true Hands-on(tm) computing experience.  N-trig enables OEMs
to introduce computer products that offer a more intuitive and
interactive interface, enabling direct onscreen manipulations. DuoSense
digitizers are easily integratable, support any type of LCD, keep
devices slim, light and bright, can support numerous applications, and
can be implemented in a broad range of products ranging from small
notebooks to large LCDs. N-trig has offices worldwide in Kfar Saba,
Israel; Austin, TX; and  Taipei, Taiwan.

--- linux-2.6.27.7/drivers/hid/usbhid/hid-quirks.c.orig 2008-12-02
10:13:49.000000000 +0200
+++ linux-2.6.27.7/drivers/hid/usbhid/hid-quirks.c      2008-12-02
11:02:58.000000000 +0200
@@ -422,6 +422,9 @@
 #define USB_VENDOR_ID_KYE              0x0458
 #define USB_DEVICE_ID_KYE_GPEN_560     0x5003

+#define USB_VENDOR_ID_NTRIG            0x1b96
+#define USB_DEVICE_ID_NTRIG            0x0001
+
 /*
  * Alphabetically sorted blacklist by quirk type.
  */
@@ -727,6 +730,7 @@ static const struct hid_blacklist {
        { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_64,
HID_QUIRK_IGNORE },
        { USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR,
USB_DEVICE_ID_N_S_HARMONY, HID_QUIRK_IGNORE },
        { USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560,
HID_QUIRK_IGNORE },
+       { USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG, HID_QUIRK_IGNORE },

        { 0, 0 }
 };

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux