Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4491694ybx; Mon, 4 Nov 2019 14:18:28 -0800 (PST) X-Google-Smtp-Source: APXvYqyxPZTfbqvBajPQSGkJWNHVQL970vXqjzVcbGVpugJA32qEnAsSBKu9nJp/su0/snztGTUL X-Received: by 2002:a50:b536:: with SMTP id y51mr32128276edd.271.1572905908517; Mon, 04 Nov 2019 14:18:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905908; cv=none; d=google.com; s=arc-20160816; b=oBY8POZ1oK5RR1uux1lY6yFrOI+wCKvJlnjQFyoJPivoxAVumpWZSkfE92LYzWxSUi GHMAQBjo3xnHB78N4v5WqkvcvGWWJB36s7zL+fDsfwLCxAtsylYsmAfMeZqea81Rd+u7 8FDAwPKaA10y7WaF+uuGiVwOg4sKHZhdayaVvhLzS2YYmA8cfp1CriqBNhjUbJaBRlEB pc8NOFo0w/aFjZspqCtYZ4LQyS4+9egS5cfbLulTG/sBZtwiv7fNSWsVPLHpaO49pW9o mUdNHRSVraARXU2AdDOv7jfndCujnK+DZXUR/mKda4Z+qoo3rhCGIKCZlwe0Xh+rCQx/ 4Ubg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AuSsreYGe9xd4dqdPtv97QMxAZb8R4Qr7sWfQsxiJPA=; b=EeUWU4rjuiN4cRl/NiXmAU3iV8pknmd8CpVcqvkOg8FldadbMMZos1CIyWG+kP7+If sJ5ySPbt7yoiJ+9bM4omMJOaAcusBi0o6yChwXr9tP1JBTwL2dTk+MwYCXIS7gskHDf1 1N/8Z39yLQKq3h/3rKBz2puOtbPbNDXS/bNAVxIno+dKyu8451ERkU707YaT80+KQAFN 9ZaVZlcDuGPYNXU1SYhQk64NRdfMfF/Qb/vX9f6f4fDb3rcd/mPDEYi8tjhHOs3R2IDG SE1x7UV2MdvtDnbhYVGa7EG281rdFe/L0yQPDAFsR2iFCiV46//+J27Sfwhju2PoiS7O ttqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rS37i45r; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n20si7409047edr.357.2019.11.04.14.17.57; Mon, 04 Nov 2019 14:18:28 -0800 (PST) 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=@kernel.org header.s=default header.b=rS37i45r; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389347AbfKDWCf (ORCPT + 99 others); Mon, 4 Nov 2019 17:02:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:60742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389296AbfKDWC0 (ORCPT ); Mon, 4 Nov 2019 17:02:26 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DE19120650; Mon, 4 Nov 2019 22:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572904945; bh=d11sopKfzpOkYe5kN+ObEO6qxaUWsS4eeR8/fg6kiik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rS37i45rcFAkU8pDtzFhr1YP/DTJWgBZioBm5IArTau5vzOFpn0tUntrZsHRxXQCZ kmnfArEx9sEpbwCCqSVEEdVFY7AZb9geOVI83+6vXyGon/zzqqJSDI9cFKSGrUSszv o533qgnITLOzZzGvXXI/7GFoLZslyln9HZx/1U5s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Benjamin Tissoires Subject: [PATCH 4.19 123/149] HID: i2c-hid: add Trekstor Primebook C11B to descriptor override Date: Mon, 4 Nov 2019 22:45:16 +0100 Message-Id: <20191104212144.899533587@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212126.090054740@linuxfoundation.org> References: <20191104212126.090054740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede commit 09f3dbe474735df13dd8a66d3d1231048d9b373f upstream. The Primebook C11B uses the SIPODEV SP1064 touchpad. There are 2 versions of this 2-in-1 and the touchpad in the older version does not supply descriptors, so it has to be added to the override list. Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede Signed-off-by: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman --- drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) --- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c +++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c @@ -323,6 +323,25 @@ static const struct dmi_system_id i2c_hi .driver_data = (void *)&sipodev_desc }, { + /* + * There are at least 2 Primebook C11B versions, the older + * version has a product-name of "Primebook C11B", and a + * bios version / release / firmware revision of: + * V2.1.2 / 05/03/2018 / 18.2 + * The new version has "PRIMEBOOK C11B" as product-name and a + * bios version / release / firmware revision of: + * CFALKSW05_BIOS_V1.1.2 / 11/19/2018 / 19.2 + * Only the older version needs this quirk, note the newer + * version will not match as it has a different product-name. + */ + .ident = "Trekstor Primebook C11B", + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "TREKSTOR"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Primebook C11B"), + }, + .driver_data = (void *)&sipodev_desc + }, + { .ident = "Direkt-Tek DTLAPY116-2", .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Direkt-Tek"),