Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4469569ybx; Mon, 4 Nov 2019 13:58:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxSS0oB4uStpg2srdz/ijlqAB/OkUIVlvh9FV0bi5Elw9a6h19riYoFisUmKEVcHp5mCJls X-Received: by 2002:aa7:df85:: with SMTP id b5mr31899413edy.298.1572904691932; Mon, 04 Nov 2019 13:58:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572904691; cv=none; d=google.com; s=arc-20160816; b=jFgJ89Li2oUQ5lommUIZN/zzY63BRzvS7oowAnTx0k/eNS0e0k/BPCvLJpGByP28PQ hKvUVLROnLt+kYIi/Z305yq8nD65SIDJXK3woyRaffif0RmxadFDl9I3/Ypc2KBwLEr/ jLOCOKmAhX5Lt4Fyc2cmGldf/PJR9L7aN01sz4OIIasPAteFA6CBQkkVwDgNjdFZbM+C XU6pzOr8DEOD9IkVUzFdIvgWahiVinuBGb0r/u3EQtEB46ot0NOYamkKmuXdXQz/nfqJ grNHxaSwtlogXxBEHAC2LVGWgRIfGXfLWUPc2FrJKOzsb3keJ6GeOxmx3JeAbYTTTqnA XsCA== 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=VfTgKfNBaywEhj0bZb07lYUYOGgHGBKvIUx4Y2iq/zpNxDH1p0NF3euomvsJFlGxxt tQ6JwjOl40iK59B40U0jAatRI6ELvsYZAfB/3Sh11kVwBeWQzyNZ8VYqljyQyo5IhtH2 BMqEZ82qS773CESZz3h6kHOGnp7iMc2vqxr+K4/CH8z6pZp2pN+lGhsx+sMPozJt1Y7s oJ4nRdy4kcCEiXqC3fGWTy7KYCZvQHU57uuAFcQ1B11Nmw3RDvNeTCEelscH5V2fdeA9 QZXeNX4iNAXFbS4T1fot2rsV9TtZ+atHwBiNXsixf0dtm+EJn+AFNGIjIo+3QQcOr8ab jj8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VROMNf48; 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 r11si11812731ejr.1.2019.11.04.13.57.48; Mon, 04 Nov 2019 13:58:11 -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=VROMNf48; 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 S2388157AbfKDVz3 (ORCPT + 99 others); Mon, 4 Nov 2019 16:55:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:50624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387652AbfKDVzX (ORCPT ); Mon, 4 Nov 2019 16:55:23 -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 D82EC217F4; Mon, 4 Nov 2019 21:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572904522; bh=d11sopKfzpOkYe5kN+ObEO6qxaUWsS4eeR8/fg6kiik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VROMNf48cja6DKrppJoNJ6ea/SCsHWoJ3aCsSna5rzRKigK7u23XSe47hhHoGl93L rLb8NTOZLyrWNmBMKWY8kTZyKPyXTLL56uKv9On3UDK+f/qAv2uRuyI6YfXqbqSWfl eeZyAz+l1xWQjddDgFqbd6o3/C/rLQJ6NcwQqaUc= 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.14 75/95] HID: i2c-hid: add Trekstor Primebook C11B to descriptor override Date: Mon, 4 Nov 2019 22:45:13 +0100 Message-Id: <20191104212117.619929819@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212038.056365853@linuxfoundation.org> References: <20191104212038.056365853@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"),