Skip to contentSkip to conversation

adding the ICS MK712 touchscreen driver to 2.6

PATCH Richard Koch 2 participants 2 messages Feb 11, 2005 Input drivers

lore
Share & tools
lore
#0 lore raw

Hello again,

Thanks for the evtest.c program and the information about evtouch. After the minor change from LONG(BTN_LEFT) to LONG(BTN_TOUCH), patch below, I was able to then get touch on/off events. Also I tested this driver with the "evtouch" Xwindows driver and it worked nicely.

Thanks,
Rick Koch

================== PATCH START ===================

drivers/input/touchscreen/mk712.c +0 -0
@@ -161,7 +161,7 @@ static void mk712_close(struct input_dev
 
static struct input_dev mk712_dev = {
	.evbit   = { BIT(EV_KEY) | BIT(EV_ABS) },
-	.keybit  = { [LONG(BTN_LEFT)] = BIT(BTN_TOUCH) },
+	.keybit  = { [LONG(BTN_TOUCH)] = BIT(BTN_TOUCH) },
	.absbit  = { BIT(ABS_X) | BIT(ABS_Y) },
	.open    = mk712_open,
	.close   = mk712_close,

===================PATCH END====================

Quoted 7 lines
Quoted 1 line
Quoted 1 line

From: Vojtech Pavlik > >To: Dmitry Torokhov > >CC:

[email protected],Richard Koch , >

Quoted 1 line

[email protected] > >Subject: Re: [PATCH] adding the ICS MK712

touchscreen driver to 2.6 > >Date: Sun, 6 Feb 2005 10:25:33 +0100 > > > >On Sat, Feb 05, 2005 at 06:00:33PM -0500, Dmitry Torokhov wrote: > > > >> > I converted it to a proper input driver for you. ;) Can you check it > >if it still works?

--
Vojtech Pavlik SuSE Labs, SuSE CR

#1 lore raw
Quoted 4 lines · Richard Koch

Thanks for the evtest.c program and the information about evtouch. After the minor change from LONG(BTN_LEFT) to LONG(BTN_TOUCH), patch below, I was able to then get touch on/off events. Also I tested this driver with the "evtouch" Xwindows driver and it worked nicely.

Thanks a lot for testing and for the fix!

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR