From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Johnny.Chuang" Subject: RE: ELAN0732 I2C Touchscreen Driver Date: Tue, 28 Mar 2017 11:06:44 +0800 Message-ID: <044e01d2a770$54da63e0$fe8f2ba0$@emc.com.tw> References: <001201d2a207$b4e6c8a0$1eb459e0$@emc.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: Received: from emcscan.emc.com.tw ([192.72.220.5]:61944 "EHLO emcscan.emc.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753863AbdC1DP4 (ORCPT ); Mon, 27 Mar 2017 23:15:56 -0400 In-Reply-To: <001201d2a207$b4e6c8a0$1eb459e0$@emc.com.tw> Content-Language: zh-tw Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: =?UTF-8?B?J+W7luW0h+amric=?= , 'Dmitry Torokhov' , 'M K' Cc: linux-input@vger.kernel.org, =?UTF-8?B?J0VMQU4g5YqJ5ZiJ6ae/Jw==?= Hi Dmitry, Sorry for late response. ELAN0732 is hid over i2c touch screen device. There is a compatible linux inbox driver which is drivers/hid/i2c-hid/i2c-hid.c. Please make i2c-hid.c as build-in driver or module. And please also add VID/PID at hid-ids.h and hid-multitouch.c drivers/hid/hid-ids.h #define USB_VENDOR_ID_ELAN 0x04f3 #define USB_DEVICE_ID_ELAN_A 0x0732 #define USB_DEVICE_ID_ELAN_B 0x000b drivers/hid/hid-multitouch.c /* Elan i2c-hid TouchSystems panel */ { .driver_data = MT_CLS_DEFAULT, HID_DEVICE(BUS_I2C, USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ELAN_A) }, Many thanks, Johnny -----Original Message----- From: 廖崇榮 [mailto:kt.liao@emc.com.tw] Sent: Tuesday, March 21, 2017 1:55 PM To: 'Dmitry Torokhov'; 'M K' Cc: linux-input@vger.kernel.org; 'ELAN 劉嘉駿'; 'Johnny.Chuang' Subject: RE: ELAN0732 I2C Touchscreen Driver Add Johnny who handle ELAN touchscreen in loop. -----Original Message----- From: Dmitry Torokhov [mailto:dmitry.torokhov@gmail.com] Sent: Tuesday, March 21, 2017 12:45 PM To: M K; 廖崇榮 Cc: linux-input@vger.kernel.org; ELAN 劉嘉駿 Subject: Re: ELAN0732 I2C Touchscreen Driver On Sun, Mar 19, 2017 at 11:26 PM, M K wrote: > Is there a compatible driver for this device? I've tried loading > various modules with no success (elants_i2c, hid_multitouch, etc.). > > The device shows up under /sys/bus/i2c/devices/i2c-ELAN0732:00 You would need to add "ELAN0732" to elants_i2c_id table for elants_i2c to load and bind to the device. > > However, xinput does not list it at all. > > This is an HP m6-ar004dx laptop (Envy x360) with touchscreen display, > and AMD FX-9800P processor. > > Scott Liu suggested I try posting here. Hmm, I'd expect Scott to know if elants_i2c could theoretically drive this device. KT, do you know by chance? Hi Johnny, Could you help to check this TS issue Thanks. -- Dmitry