From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergk sergk2mail Subject: Re: How to use ACPI for touchscreen Date: Wed, 2 Mar 2016 19:00:01 +0000 Message-ID: References: <56D568C7.20203@gmail.com> <20160302175232.GC4318@dtor-ws> <56D73003.2060606@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-qk0-f174.google.com ([209.85.220.174]:35034 "EHLO mail-qk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751183AbcCBTAD (ORCPT ); Wed, 2 Mar 2016 14:00:03 -0500 Received: by mail-qk0-f174.google.com with SMTP id o6so86504863qkc.2 for ; Wed, 02 Mar 2016 11:00:02 -0800 (PST) In-Reply-To: <56D73003.2060606@gmail.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Gregor Riepl Cc: Dmitry Torokhov , linux-input@vger.kernel.org Hi Gregor, Actually if you look for the code of atmel_mxt_ts - all actions are in probe. Also simple experimental like: echo maxtouch 0x48 > /sys/bus/i2c/i2c-4/new_device you got the same as in my case with modified your driver: Mar 02 18:51:39 archiso kernel: device: '4-0048': device_add Mar 02 18:51:39 archiso kernel: bus: 'i2c': add device 4-0048 Mar 02 18:51:39 archiso kernel: PM: Adding info for i2c:4-0048 Mar 02 18:51:39 archiso kernel: i2c i2c-4: new_device: Instantiated device maxtouch at 0x48 Mar 02 18:51:39 archiso kernel: bus: 'i2c': add driver atmel_mxt_ts Mar 02 18:51:39 archiso kernel: bus: 'i2c': driver_probe_device: matched device 4-0048 with driver atmel_mxt_ts Mar 02 18:51:39 archiso kernel: bus: 'i2c': really_probe: probing driver atmel_mxt_ts with device 4-0048 Mar 02 18:51:39 archiso kernel: atmel_mxt_ts 4-0048: no default pinctrl state Mar 02 18:51:39 archiso kernel: devices_kset: Moving 4-0048 to end of list Mar 02 18:51:39 archiso kernel: atmel_mxt_ts 4-0048: No platform data specified Mar 02 18:51:39 archiso kernel: atmel_mxt_ts: probe of 4-0048 faile Regards, Serge Kolotylo. PS: it will be really good if here will be someone who is fluent in Chinese and could directly read spec for Chipone and translate it to us.