From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753934AbZAaWJW (ORCPT ); Sat, 31 Jan 2009 17:09:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751848AbZAaWJL (ORCPT ); Sat, 31 Jan 2009 17:09:11 -0500 Received: from mail-ew0-f21.google.com ([209.85.219.21]:51476 "EHLO mail-ew0-f21.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbZAaWJI (ORCPT ); Sat, 31 Jan 2009 17:09:08 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=vQe8B3Z95D1SxYyidUEmInf/VKM2cMDlGY3ZFT1jfMJZFGDvNEEm6WWHwaWBiGvpM8 1N0U7zSr6UN2m9kucao4uPPKtrtaPazSzyMYsOs8qxSPOGaMYaxJ15riLMLPzaUG3Y/E iouhpEDrb86whf2HlOCEmViuhCiZRg2ee5VUc= Date: Sat, 31 Jan 2009 23:09:01 +0100 From: Max Weninger To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Niels de Vos , linux-usb@vger.kernel.org Subject: Re: SOLVED support of touchscreen reported as eGalax but is not working Message-ID: <20090131230901.13e2058e@vostro.foo.com> In-Reply-To: <20090130151836.891f3204.akpm@linux-foundation.org> References: <20090125234902.7605fd16@zork.foo.com> <497D9469.3030908@wincor-nixdorf.com> <20090126124941.4f67aaf5@shire2> <497DA8E3.5070006@wincor-nixdorf.com> <20090127013806.5e31199f@zork.foo.com> <20090127014822.780ecb90@zork.foo.com> <20090127020529.4070840b@zork.foo.com> <20090130151836.891f3204.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.12.12; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi to all On Fri, 30 Jan 2009 15:18:36 -0800 Andrew Morton wrote: > (cc restored - please jsut do reply-to-all, always) > > On Tue, 27 Jan 2009 02:05:29 +0100 > Max Weninger wrote: > > > Hi again > > > > On Tue, 27 Jan 2009 01:48:22 +0100 > > Max Weninger wrote: > > > > > On Tue, 27 Jan 2009 01:38:06 +0100 > > > Max Weninger wrote: > > > > > > > Hi > > > > > > > > On Mon, 26 Jan 2009 13:13:23 +0100 > > > > Niels de Vos wrote: > > > > > > > > > Max Weninger wrote: > > > > > > Niels de Vos wrote: > > > > > >> You can obviously download the drivers from > > > > > >> . > > > > > >> > > > > > >> It would be great if eGalax could be convinced to get these > > > > > >> drivers included in main-line ;) > > > > > > > > > > > > Thanks for your quick reply > > > > > > BUT: I have tried those driver also > > > > > > > > > > > > I tried this "brandnew" one (but also older ones) > > > > > > http://home.eeti.com.tw/web20/drivers/touch_driver/Linux/2.06.2416/TouchKit-2.06.2410-32b-k26.tar.gz > > > > > > after making it compile for 2.6.28.2 :) > > > > > > since there is source code delivered > > > > > > > > > > For what it's worth; the version we use from eGalax is > > > > > 1.0.3.1701. I don't have the hardware here atm, so I can't > > > > > test an other driver now. > > > > > > > > I tried kernel 2.6.23.17 and there the touchscreen is recognized > > > > using the builtin usbtouchscreen driver > > > > > > It also works with 2.6.26.8 > > > > After comparing the usbtouchscreen.c sources between the different > > versions I got it working by commenting the follwoing lines > > > > ... > > #ifdef CONFIG_TOUCHSCREEN_USB_EGALAX > > /* ignore the HID capable devices, handled by usbhid */ > > {USB_DEVICE_HID_CLASS(0x0eef, 0x0001), .driver_info = > > DEVTYPE_IGNORE}, {USB_DEVICE_HID_CLASS(0x0eef, > > 0x0002), .driver_info = DEVTYPE_IGNORE}, ... > > > > Now the entry in /proc/bus/input/devices is created as in the > > older versions. > > > > So it seems that usbhid is not correctly handling my type > > of touchscreen if I understand the comment there correctly > > > > So... how do we fix this for real? Well I am really not an expert in kernel programming :-) I found out that these lines where added based on this thread from 2008 http://kerneltrap.org/mailarchive/linux-kernel/2008/6/28/2286264/thread So all I can do is to provide any help in testing if needed Regards Max