lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <52AAE4FE.6090000@web.de>
Date:	Fri, 13 Dec 2013 11:44:14 +0100
From:	Emanuel Krenz <emanuelkrenz@....de>
To:	Jiri Kosina <jkosina@...e.cz>
CC:	linux-kernel@...r.kernel.org
Subject: [PATCH] HID: hid-multitouch: add support for SiS panel in LG 23ET83V

--------------------
From: Emanuel Krenz <emanuelkrenz@....de>

Add support for SiS multitouch panel in the touch monitor LG 23ET83V.

---

I bought an LG 23ET83V multitouch monitor, whose idProduct=1030 wasn't 
yet included in the hid-multitouch driver.
So I wrote following patch to include the ID number 1030 and patched the 
latest stable 3.12.5 kernel. The SiS touchpanel in my monitor works for 
me now.
This is my first submitted patch by now, hope it's okay.

------------------

--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1823,6 +1823,7 @@ static const struct hid_device_id hid_ha
      { HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, 
USB_DEVICE_ID_SAMSUNG_WIRELESS_KBD_MOUSE) },
      { HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH, 
USB_DEVICE_ID_SIS9200_TOUCH) },
      { HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH, 
USB_DEVICE_ID_SIS817_TOUCH) },
+    { HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH, 
USB_DEVICE_ID_SIS1030_TOUCH) },
      { HID_USB_DEVICE(USB_VENDOR_ID_SKYCABLE, 
USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER) },
      { HID_USB_DEVICE(USB_VENDOR_ID_SONY, 
USB_DEVICE_ID_SONY_BUZZ_CONTROLLER) },
      { HID_USB_DEVICE(USB_VENDOR_ID_SONY, 
USB_DEVICE_ID_SONY_WIRELESS_BUZZ_CONTROLLER) },
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -755,6 +755,7 @@
  #define USB_VENDOR_ID_SIS2_TOUCH    0x0457
  #define USB_DEVICE_ID_SIS9200_TOUCH    0x9200
  #define USB_DEVICE_ID_SIS817_TOUCH    0x0817
+#define USB_DEVICE_ID_SIS1030_TOUCH    0x1030

  #define USB_VENDOR_ID_SKYCABLE            0x1223
  #define    USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER    0x3F07

--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1306,6 +1306,9 @@ static const struct hid_device_id mt_dev
      { .driver_data = MT_CLS_DEFAULT,
          HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH,
          USB_DEVICE_ID_SIS817_TOUCH) },
+    { .driver_data = MT_CLS_DEFAULT,
+        HID_USB_DEVICE(USB_VENDOR_ID_SIS2_TOUCH,
+        USB_DEVICE_ID_SIS1030_TOUCH) },

      /* Stantum panels */
      { .driver_data = MT_CLS_CONFIDENCE,
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -86,6 +86,7 @@ static const struct hid_blacklist {
      { USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, 
HID_QUIRK_NOGET },
      { USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS9200_TOUCH, 
HID_QUIRK_NOGET },
      { USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS817_TOUCH, 
HID_QUIRK_NOGET },
+    { USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS1030_TOUCH, 
HID_QUIRK_NOGET },
      { USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, 
HID_QUIRK_NOGET },
      { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, 
HID_QUIRK_NOGET },
      { USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, 
HID_QUIRK_NOGET },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ