Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: usbtouchscreen - add new model from IRTOUCHSYSTEMS

This adds support for another model of IRTOUCH SYSTEMS Co.,LtD infrared
touchscreens. The USB vendorID/deviceID is 6615/0012. It is also sold
under the label "Elektrosil".

The datasheet states that coordinates for x and y are in the range from
0 to 32767.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Lars Poeschel and committed by
Dmitry Torokhov
dbea4032 d5ae685f

+11
+11
drivers/input/touchscreen/usbtouchscreen.c
··· 132 132 DEVTYPE_GUNZE, 133 133 DEVTYPE_DMC_TSC10, 134 134 DEVTYPE_IRTOUCH, 135 + DEVTYPE_IRTOUCH_HIRES, 135 136 DEVTYPE_IDEALTEK, 136 137 DEVTYPE_GENERAL_TOUCH, 137 138 DEVTYPE_GOTOP, ··· 199 198 #ifdef CONFIG_TOUCHSCREEN_USB_IRTOUCH 200 199 {USB_DEVICE(0x595a, 0x0001), .driver_info = DEVTYPE_IRTOUCH}, 201 200 {USB_DEVICE(0x6615, 0x0001), .driver_info = DEVTYPE_IRTOUCH}, 201 + {USB_DEVICE(0x6615, 0x0012), .driver_info = DEVTYPE_IRTOUCH_HIRES}, 202 202 #endif 203 203 204 204 #ifdef CONFIG_TOUCHSCREEN_USB_IDEALTEK ··· 1176 1174 .max_xc = 0x0fff, 1177 1175 .min_yc = 0x0, 1178 1176 .max_yc = 0x0fff, 1177 + .rept_size = 8, 1178 + .read_data = irtouch_read_data, 1179 + }, 1180 + 1181 + [DEVTYPE_IRTOUCH_HIRES] = { 1182 + .min_xc = 0x0, 1183 + .max_xc = 0x7fff, 1184 + .min_yc = 0x0, 1185 + .max_yc = 0x7fff, 1179 1186 .rept_size = 8, 1180 1187 .read_data = irtouch_read_data, 1181 1188 },