Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp223920imm; Thu, 7 Jun 2018 17:15:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLcE+o8AdZn3zx/x1DfSSKWvY62auObjPkAlx+wRIFEX8EL1hZ7af+OTRZqgmc1xtu6tQfu X-Received: by 2002:a17:902:2c01:: with SMTP id m1-v6mr4077768plb.347.1528416940858; Thu, 07 Jun 2018 17:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528416940; cv=none; d=google.com; s=arc-20160816; b=PELKAmap9B3dDdH+fJDF0v/IMGoqcgMImZ9xdZeSf0jS27eOs/GTHKNpxF6bUsR4Cj w7FlZQuTERgJGV7KkrzrcYKeSn/tLgfASN13M2tBQ6iB6oD813/PbrsM0Vm6ZF4cIoWW Nz/J24ia4P5YDCR1EZbRhlPo+2J+hZA8PKy6QzpUBBRvkK3dUJSpvBJIFzx5GXRyJcE+ AsqbOOEMLhVWLtU2rVhkzaNVeo5K0RzsFK7zND5KPwKLmoHivTHbnlKIo/nLO7qicjQK FKP5iUoFZIaaQCHuVK3qmvULZBSNkYbUMaPKIXvtgKDAuIgll9UNvzRG/UuF9mHP95mO sF1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=TYKaJkpTCYGsbfpwKeHID7wfzbW4tYdKoFQ/IvO472U=; b=R+EI+zQRXpCzsQzMujHaxHh6S0oLUPsGzBF74R5aQcXRF0FQMQt8qsrBxnqPO+B+kX +QAEiG9B7XsnblLFOea5gUnZBpkvQjln1te/qFRck1/L1BCUVMFbd3wyOkoGG0KbBMqq 0Ds9xAxuTlRyV2kUyVr+Ma37lDioWnLel7OcEVlZmGDaO7nGV0utYP85zO149qJz1fKl RPJcwE6rMdlbehvHYbuFXRwRGELIcTM0qc/eMXB+QQIPRZsMFSLslb7JRcMMt68mjUKS N12WM9KX30+ltsTGaRUOwbq4vI1unzdI8W6+Keb9wzCKj9EyQjiOOI00KAsKGHKNSOyU WPZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NqD3vaqQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y198-v6si18625934pfg.246.2018.06.07.17.15.26; Thu, 07 Jun 2018 17:15:40 -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=pass header.i=@chromium.org header.s=google header.b=NqD3vaqQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421AbeFHAPA (ORCPT + 99 others); Thu, 7 Jun 2018 20:15:00 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44097 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbeFHAO7 (ORCPT ); Thu, 7 Jun 2018 20:14:59 -0400 Received: by mail-pg0-f66.google.com with SMTP id p21-v6so5516994pgd.11 for ; Thu, 07 Jun 2018 17:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=TYKaJkpTCYGsbfpwKeHID7wfzbW4tYdKoFQ/IvO472U=; b=NqD3vaqQk5rcSi8IaWQI6WL0ld/TeZO4FCpAXF3BpuhVpgd5+3GZ6TrMLwoJb2bjbU OKZv/x7S2fK0E2TrNMkxjmvCfJDHhU40IwGEDimg4cJcwzeAUZKXJK3FlFCOwp2PBLsz JGNmDrzcD4Nxh4atyjW8yp4XbaEi28JKpZL4o= 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; bh=TYKaJkpTCYGsbfpwKeHID7wfzbW4tYdKoFQ/IvO472U=; b=qN1eDvxtEwbBTUg0f/d2AzQunz4PqwQI9wtYUPDGn/+gN3a0VF6cTtM1bNTKU/Z+E3 mvMzO826N6fLIOcG8U0MsZsUGlURDaK23CitnQcPyEjSoXleZGIHlx6QLUXo+vRpOIMB w6cH1G7OWCGJLO6AuyoPVyAFSsb3kqSbEgIvVLmbkjn1cTscPmI8XnhNnfZCKG++VwWI I3BNHh60n0ll2ij5hkp7ykdqDoce2i/jWEtKak4boDb0D32+lMU1+urrDE2Lf5OIiTyt ykiJv3vXBtUkBkuFDzAQg7gjY6GSL3rTLlc+ZsOVHOTksu8sVaWkhHFSTMTv+NFGbV3s 6Jvw== X-Gm-Message-State: APt69E0iseZkxuOS0YfIegdOzvmMNiwOKyn0dTbMQi8lwuQPtvFDRbI4 FI1vqBGNgzeMecr999k19uaegHnrq48= X-Received: by 2002:a62:121a:: with SMTP id a26-v6mr3712477pfj.104.1528416898545; Thu, 07 Jun 2018 17:14:58 -0700 (PDT) Received: from drinkcat.tpe.corp.google.com ([2401:fa00:1:b:9ba:cd16:d555:bacf]) by smtp.gmail.com with ESMTPSA id n76-v6sm7493419pfg.98.2018.06.07.17.14.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 17:14:57 -0700 (PDT) From: Nicolas Boichat To: Jiri Kosina Cc: Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: google: Add support for whiskers Date: Fri, 8 Jun 2018 08:14:50 +0800 Message-Id: <20180608001450.76836-1-drinkcat@chromium.org> X-Mailer: git-send-email 2.18.0.rc1.242.g61856ae69a-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Another device in the hammer class, with USB id 0x5030. Signed-off-by: Nicolas Boichat --- drivers/hid/hid-google-hammer.c | 2 ++ drivers/hid/hid-ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hammer.c index 7b8e17b03cb86..6bf4da7ad63a5 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -124,6 +124,8 @@ static const struct hid_device_id hammer_devices[] = { USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_STAFF) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_WAND) }, + { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, + USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_WHISKERS) }, { } }; MODULE_DEVICE_TABLE(hid, hammer_devices); diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index a85634fe033f0..c7981ddd87763 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -452,6 +452,7 @@ #define USB_DEVICE_ID_GOOGLE_TOUCH_ROSE 0x5028 #define USB_DEVICE_ID_GOOGLE_STAFF 0x502b #define USB_DEVICE_ID_GOOGLE_WAND 0x502d +#define USB_DEVICE_ID_GOOGLE_WHISKERS 0x5030 #define USB_VENDOR_ID_GOTOP 0x08f2 #define USB_DEVICE_ID_SUPER_Q2 0x007f -- 2.18.0.rc1.242.g61856ae69a-goog