Skip to contentSkip to conversation

new USB HID driver: eGalax Touchscreens

PATCH In review Daniel Ritz 2 participants 2 messages May 1, 2004 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 new USB HID driver: eGalax Touchscreens

a first version of a USB HID driver for eGalax touchscreens called Touchkit. this touchscreen is found for example in Xenarc 700TSV monitor.

comments?

thanks
-daniel

drivers/usb/input/Makefile +1 -0
@@ -33,6 +33,7 @@
 obj-$(CONFIG_USB_KBTAB)		+= kbtab.o
 obj-$(CONFIG_USB_MOUSE)		+= usbmouse.o
 obj-$(CONFIG_USB_MTOUCH)	+= mtouchusb.o
+obj-$(CONFIG_USB_EGALAX)	+= touchkit.o
 obj-$(CONFIG_USB_POWERMATE)	+= powermate.o
 obj-$(CONFIG_USB_WACOM)		+= wacom.o
 obj-$(CONFIG_USB_XPAD)		+= xpad.o
drivers/usb/input/Kconfig +13 -0
@@ -191,6 +191,19 @@
 	  To compile this driver as a module, choose M here: the
 	  module will be called mtouchusb.
 
+config USB_EGALAX
+	tristate "eGalax TouchKit USB Touchscreen Driver"
+	depends on USB && INPUT
+	---help---
+	  Say Y here if you want to use a eGalax TouchKit USB
+	  Touchscreen controller.
+
+	  The driver has been tested on a Xenarc 700TSV monitor
+	  with eGalax touchscreen.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called touchkit
+
 config USB_XPAD
 	tristate "X-Box gamepad support"
 	depends on USB && INPUT
drivers/usb/input/touchkit.c new file +304 -0

304 lines not on this page · raw message

#1 lore raw

drivers/usb/input/touchkit.c line 132

Quoted 3 lines
drivers/usb/input/touchkit.c new file +2 -0
+	if (usb_submit_urb(touchkit->irq, GFP_ATOMIC))
+		return -EIO;

must also decrease the counter

Regards
Oliver