Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2312730ybh; Mon, 16 Mar 2020 00:25:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtYFX6IzC04qoQXy9JUyWfT+RUoYvJ8aQAVylqBD4YU6EAr44/91tUzt9g5SNMsNRUgMxqD X-Received: by 2002:aca:f0d7:: with SMTP id o206mr776863oih.41.1584343514288; Mon, 16 Mar 2020 00:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584343514; cv=none; d=google.com; s=arc-20160816; b=ItCqkx/gK5pF6QeRVqxbXjabgpkwLpxXvIzLQWpIfsMEyehrJ+uJr/4uMZ29pDWLmH duPHI+r7QsKBX6EtYtHdI0So5baRtVsC9fIX8H9yuFCg5Lh8IDYT6Dew8z7CwOq0rVw7 u40xUtRlprhKm7cGA72x+87IlwZBYnyJZ7QQI2VCAjjNZvePSv/DdWRL1bTFJjJZDGK/ jQNh/T1YVHs1IX7oHQMljG+Vs5WwcqAW1dQY6GsD8PvUuWW8A6L6IPq08DyLGsI8lCEx vRrac6+yTWEnRuUpNypmYlOHuwwHFPDWuEGPMiv6h4METTeNnOzl77O7uuJnwt003u8F BWMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cLUgCPvVOCvF8ic/BSG/ZxXsTtJMwTgOpQVJ7e+heWY=; b=IQ9U9ImLhG0aatcMQX/n4liMF0307CoTUeDGnKNLPYUw6rL6yUK7btalqaQW0+aZUY XrDwFk5wDUJi5rT+rw4H2/w56PeRTXJZ9+r4WhTWe6hBBMCuoI45p/kZNCCkr1qgjRz1 e7fOy05+fbpVXUQ/P7KB1jfSS2tdLMrTrLnudUVlBrSvDtCJdjEPhGKExR3ymzYqcU5Q aobte7WxxMakHXc19a5iaaYOXAS29GO9lrfYK+eXNbEGxwBFmb/WiDfeuMGMKzuH0ZNU xuWxvSOx1N8ghxP862vkPE12CQ5CN0AtqVes1ANZgZpj8gshZKQDnfMCEoYKGBMHqe9L nEwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kMuQxiqU; 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 v15si10073444oth.307.2020.03.16.00.24.59; Mon, 16 Mar 2020 00:25:14 -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=kMuQxiqU; 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 S1729929AbgCPHYe (ORCPT + 99 others); Mon, 16 Mar 2020 03:24:34 -0400 Received: from mail-pj1-f68.google.com ([209.85.216.68]:51314 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729811AbgCPHYe (ORCPT ); Mon, 16 Mar 2020 03:24:34 -0400 Received: by mail-pj1-f68.google.com with SMTP id hg10so3866443pjb.1 for ; Mon, 16 Mar 2020 00:24:32 -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:mime-version :content-transfer-encoding; bh=cLUgCPvVOCvF8ic/BSG/ZxXsTtJMwTgOpQVJ7e+heWY=; b=kMuQxiqU57kWg/ztLMlBenWljwjmhZQDTdo8lF6ZnktWO9hAQoLEW0vmC+GR6Fr2XF SUNvaEk/hiVoLdT6jvusYNa1z8OKm2OOMAvzHfu+VPGtzzhBQkHfmB1cAKM78SPAo0iC KrPQCq+o6VcV5YiWZbz0/HW3XGpXKg6KhZU1I= 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=cLUgCPvVOCvF8ic/BSG/ZxXsTtJMwTgOpQVJ7e+heWY=; b=htt/zREW1weJTjH+H+FT34laX1VrTYT8R5laClIrJLGZwIGmwyf2qQwljXQZeL7KwN A3RRi5coeE7pWJsN/kJlz9MhzhiZksn00x6rvnIUPb4GbsxG/ivGaEcUB6OwIj0vNxuu sawT7kyh3VLV/lRfl7V9q3LNd9l0Ig7U2sjuqVFAz3a5htQGbcqhyyv96we9Ccq7o2Z0 sO6UrV5+dgAJGtQYQnw6FalZ4ifPdJYio0R6VUHlfpdgJ9t97Q2xD1DFd6fzWS8Ejv5V pmWCOujDEQ48JF+e42qpdjBQZaVtKVGmD8rjtohM6GxdvMjwxwz4mAhIbjTi+PqoQf+Z vv7w== X-Gm-Message-State: ANhLgQ3UbiBJ7iSyyXzzgUovBxLTy2r5f4iTr7U6kVziGSgFrjvxRhGz yZ12FE+lBcBwvb1NXSw4IVJ6YpOpCdM= X-Received: by 2002:a17:902:8215:: with SMTP id x21mr26540359pln.59.1584343471978; Mon, 16 Mar 2020 00:24:31 -0700 (PDT) Received: from chentsungp920.tpe.corp.google.com ([2401:fa00:1:10:6780:e5ae:c662:3d59]) by smtp.gmail.com with ESMTPSA id kb18sm1204543pjb.14.2020.03.16.00.24.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 00:24:31 -0700 (PDT) From: Chen-Tsung Hsieh To: jikos@kernel.org Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, drinkcat@chromium.org Subject: [PATCH] HID: google: add moonball USB id Date: Mon, 16 Mar 2020 15:24:19 +0800 Message-Id: <20200316072419.65274-1-chentsung@chromium.org> X-Mailer: git-send-email 2.25.1.481.gfbce0eb801-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add 1 additional hammer-like device. Signed-off-by: Chen-Tsung Hsieh --- 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 2aa4ed157aec..85a054f1ce38 100644 --- a/drivers/hid/hid-google-hammer.c +++ b/drivers/hid/hid-google-hammer.c @@ -532,6 +532,8 @@ static const struct hid_device_id hammer_devices[] = { USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_MAGNEMITE) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_MASTERBALL) }, + { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, + USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_MOONBALL) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, USB_VENDOR_ID_GOOGLE, USB_DEVICE_ID_GOOGLE_STAFF) }, { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 3a400ce603c4..33fddab41722 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -478,6 +478,7 @@ #define USB_DEVICE_ID_GOOGLE_WHISKERS 0x5030 #define USB_DEVICE_ID_GOOGLE_MASTERBALL 0x503c #define USB_DEVICE_ID_GOOGLE_MAGNEMITE 0x503d +#define USB_DEVICE_ID_GOOGLE_MOONBALL 0x5044 #define USB_VENDOR_ID_GOTOP 0x08f2 #define USB_DEVICE_ID_SUPER_Q2 0x007f -- 2.25.1.481.gfbce0eb801-goog