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 ===================
--- linux-2.6.10.nopatches/drivers/input/touchscreen/mk712.c 2005-02-11 10:36:36.000000000 -0500
+++ linux-2.6.10/drivers/input/touchscreen/mk712.c 2005-02-11 10:34:33.000000000 -0500
@@ -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====================
> >From: Vojtech Pavlik > >To: Dmitry Torokhov > >CC: [EMAIL PROTECTED],Richard Koch , > >linux-kernel@vger.kernel.org > >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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/