Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763992AbXF1Pbb (ORCPT ); Thu, 28 Jun 2007 11:31:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757042AbXF1PbY (ORCPT ); Thu, 28 Jun 2007 11:31:24 -0400 Received: from moutng.kundenserver.de ([212.227.126.174]:54414 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756832AbXF1PbX (ORCPT ); Thu, 28 Jun 2007 11:31:23 -0400 Message-ID: <4683D444.5030408@anagramm.de> Date: Thu, 28 Jun 2007 17:31:16 +0200 From: Clemens Koller User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Dmitry Torokhov CC: linux-kernel@vger.kernel.org, daniel.ritz@gmx.ch, hs4233@mail.mn-solutions.de Subject: Re: 2.6.21.5: BUG: usbtouchscreen.c DMC TSC-10 wrong descriptor type / type->init() failed. References: <468294E4.40801@anagramm.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX18wz7lGwycalSkx/IWpSadvUKY4mwKMcUSH4G/ 3uTGJ8B1r5elKZ2m3mELbN5FuZ/8rxoY8ifhdTrLWNk7ihtOOH noZdqvhQNIPmEWIc1gdZQ== Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1898 Lines: 55 Hello, Dimitry! Dmitry Torokhov schrieb: > Hi, > > On 6/27/07, Clemens Koller wrote: >> drivers/usb/input/usbtouchscreen.c: usbtouch_probe - type->init() >> failed, err: -19 > > dmc_tsc10_init() returns -ENODEV (-19) when device responds with > something other than 0x06 0x00 to the "reset" and "set rate" commands. > It would be interesting to see what your touchscreen responses are. I found the problem: After the reset, I got a 0x06 0x00 back, which is fine. But when the driver sets the coordinate output rate, the TSC-103 answered 0x15 0x01 which means that the TSC-10 is used with an EEPROM but the EEPROM data is empty (which is correct). In that case the driver should at least continue to allow initialization of the EEPROM later on. But as we don't have the infrastructure to write the calibration data back to EEPROM, only touch screen manufacturers which want to use the EEPROM will run into that problem... The same is true if there is no EEPROM present but the EEPROM is enabled. Anyway, I disabled my EEPROM by pulling the SEL4 pin high because I don't need/want it (yet). So, it *works for me* but just for future reference: The DMC TSC-10 driver doesn't start, when it has an empty (new) EEPROM attached. I started to do some more error handling, but it's propably not worth doing so if the driver(s) has only limited functionality (and no userspace app using it). Thank you, -- Clemens Koller __________________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Stra?e 45/1 Linhof Werksgel?nde D-81379 M?nchen Tel.089-741518-50 Fax 089-741518-19 http://www.anagramm-technology.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/