Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2787717ybb; Sun, 5 Apr 2020 16:57:27 -0700 (PDT) X-Google-Smtp-Source: APiQypIFdiq4TdQ5uVHhVSMBByr3tGd4YElFneLZJKRFxAzsfBb8/1wSdTmCPkG5vowZrW051GGt X-Received: by 2002:a9d:5781:: with SMTP id q1mr16041187oth.258.1586131047078; Sun, 05 Apr 2020 16:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586131047; cv=none; d=google.com; s=arc-20160816; b=veHdCV+SWqGEo0MTVyNPSFN9pjSB2D939AQOdH9vXcaMsqnQ7iMlKThutYvfQ6grmp PlGtxWtxGahxNHu8vagg1TNGK0OInkXoIIbxwpIo+GXmgleXeai9Lpwj/xcxeF3cl4LQ zFJrc/YG+YNfhWzeo0QFq6ko1blD+h5O2FTrunuVl6+0Tvrnlc54TnJkgLvi0Hn78OY3 2cb9ZxPDEUkexhlfqLHrWDPCkpAVVd+8lPPml0nFWAtq+oOeOlKSUJMyljA5OBKeb6wK Sr8SIDMHjXghM1qjGpteScLZWETsELtu46p67RY4RUDyrowTRu1R2l6GrSxVPBiyJDry S+9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=GGe8loEapeJmPIdBpBDGFx+X338aVD4kqb0BzOqBzlA=; b=aadHYhrDMtexsRW8IYMc7yrVP6w97MxTOnqh0xbytRpNeM9tXm4Qdln6kvzTDeVRtv qHLlvk6VWtNsV4+lA8hKphkg4sf2o5OUv+H/Jntvv3LWIFG5IAsjDgZ9L/FNFRw2Z1+3 ws8oGST4CzVZVNqHlCHjwZMqACsuVEpYA/6cYmglD0Q8jDwWR7QA+p4Y6vN3Z6Ubis49 uyQ/tFYXoxLKLuXcpBpbNGN+9kvYH+wY04JExdmGDSWFGfaPciHA2UadWqCk2CwNwUkr OHvfiDWVes+saN6KNbaepvKBZOHqpgd5nibOQEc14hKpYcJYuCIpPXCe3aPDksv2Vz0C BVYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bmLaF0Lu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i187si7136559oif.89.2020.04.05.16.57.14; Sun, 05 Apr 2020 16:57:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bmLaF0Lu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727882AbgDEX4t (ORCPT + 99 others); Sun, 5 Apr 2020 19:56:49 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42672 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbgDEX4t (ORCPT ); Sun, 5 Apr 2020 19:56:49 -0400 Received: by mail-lj1-f193.google.com with SMTP id q19so12714690ljp.9; Sun, 05 Apr 2020 16:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GGe8loEapeJmPIdBpBDGFx+X338aVD4kqb0BzOqBzlA=; b=bmLaF0LuN5vMGMxYtp/8r6oosLAig2YwcjaAigUgmHPzAD8zPC6X8lRQWxKf/S+WjQ pkBk/S/M4Kvfu/j0qVxNqqK/YtYVjOL1XLe4p84yoIKQZnr1JFFrYQ8X9soAvorg19nh wD/vNHoc3QWuxwyEAytm2UEVwHmI11mVmScEKIv4HvDORKwPXvUjRxtJUKFIukuP00Fk fKlJpMYDVMGz+pKwkHC5it3ch2YdKUEWC5gVh1LYfXw0B3yfnBhIcwymSKTWsEmqyb4J CzCD8fS9t4LG1Bsxf4WW3gQtvfCfBhZDEAIkkNPbcy7Pp9wEQifGtrKF4stsNoW+7NlD jC9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GGe8loEapeJmPIdBpBDGFx+X338aVD4kqb0BzOqBzlA=; b=GqJe9BSvMDyDUQiEJqubUy3QUC4c/Z8vuFNwFZEbVdsOtL8iWiRWyjwlD0yF3WOVPI RBeB9Njiyww1VE7RHRitHWPo2LVDK0SnBLCHMASbbhMKFULXTUebKUpxP7b4FKi4mzWJ oRZmtcjFhTc32tNQvSnHC4lKBt7ACzlFS9wJI1WWdlr5zER9qGxk8QeChmTrKWPcxEyE K7KgjYee9JveZyFaM+j9gn91IkN1tuENYyJ6QoKMqZSdTj/P5DtlonV/Mlur3yAuikg0 8afFsLBAVk2fA+BXT4Lzdn1VDg5z7zP7BPlkj9ID1PmOflBKW4vv0DDWTVVlWO6aFo98 lT0w== X-Gm-Message-State: AGi0PuZ+ZbU9QVk1pO1YmldwR71uHDRRpT1cW3HF1f+meS8tO+Vb8EPm HghAQpd9YRceg9FAdTGYY9U= X-Received: by 2002:a2e:8648:: with SMTP id i8mr10506648ljj.188.1586131006972; Sun, 05 Apr 2020 16:56:46 -0700 (PDT) Received: from localhost.localdomain ([5.139.61.144]) by smtp.googlemail.com with ESMTPSA id d21sm8980841ljc.49.2020.04.05.16.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2020 16:56:46 -0700 (PDT) From: Artem Borisov Cc: jikos@kernel.org, Artem Borisov , Benjamin Tissoires , Henrik Rydberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] HID: alps: Add AUI1657 device ID Date: Mon, 6 Apr 2020 03:55:15 +0400 Message-Id: <20200405235517.18203-1-dedsa2002@gmail.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This device is used on Lenovo V130-15IKB variants and uses the same registers as U1. Signed-off-by: Artem Borisov --- drivers/hid/hid-alps.c | 1 + drivers/hid/hid-ids.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c index fa704153cb00..c2a2bd528890 100644 --- a/drivers/hid/hid-alps.c +++ b/drivers/hid/hid-alps.c @@ -802,6 +802,7 @@ static int alps_probe(struct hid_device *hdev, const struct hid_device_id *id) break; case HID_DEVICE_ID_ALPS_U1_DUAL: case HID_DEVICE_ID_ALPS_U1: + case HID_DEVICE_ID_ALPS_1657: data->dev_type = U1; break; default: diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index b18b13147a6f..324fddb37e27 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -81,7 +81,7 @@ #define HID_DEVICE_ID_ALPS_U1 0x1215 #define HID_DEVICE_ID_ALPS_T4_BTNLESS 0x120C #define HID_DEVICE_ID_ALPS_1222 0x1222 - +#define HID_DEVICE_ID_ALPS_1657 0x121E #define USB_VENDOR_ID_AMI 0x046b #define USB_DEVICE_ID_AMI_VIRT_KEYBOARD_AND_MOUSE 0xff10 -- 2.26.0