Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4482607ybx; Mon, 4 Nov 2019 14:10:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzcuVO2TGlTG/cvcer1I6ugdnk4X1WzDVBt+eTDFVz5a4xuPE7lUjPlGCBJGydQnsKK3qa5 X-Received: by 2002:a17:906:1f91:: with SMTP id t17mr13866074ejr.201.1572905412496; Mon, 04 Nov 2019 14:10:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905412; cv=none; d=google.com; s=arc-20160816; b=wD7iWv0EEeNPZXW0qKSNo55FxkE4oU3RWQ1UPehLmktZlPP8sQRBK5XV/TZ/OH07j+ 7geH7LO/bdCDfc4n9zlRQ1Tv0fteOYX3Qhc/2tsI1tA8R6ig70fUx+kdHxT6hzSJyOwM AFxn4uLvIz6r9QJnx+7vidamBz61UzGojkm8DMfh+KsbNMzcREOkkrHAUYYvDwRvitvo s4uQOXLQK6Lk7a1I0ZIaitMGU7qHjsY7tRcHi8OG3qZhdxJBBzAtZb0qy2H6Rw+fastL hd8rcDXnTvA5pF+Wgj/ALw+Dw2v9xuQgCgAwpWnxT3tIq+LTu51980I+7Czc79jcFBdg WV4g== 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=WuDkCw7l2A3p2KTcDzAhVgGJynqRix+2f7CHERtLk+dHCLgLMLWG7H17D7LZlEzll8 H9OJwS7+xJDW0EYyed3Jpw1SOfvZUM6Lc3ZOo+1vR9lhFVQ/MbRUVAoe2t1trG6tcuDV 4cZumih0FUL9eZfjgdUrV3PjYdIZYHRbRzega5OZyeh3hV6rfHx7KgdWsfdOv6DNGLAy TG1K41XoUpz5yPutnYdqtmmNwm6EZ9qBoyygp4LqIlhTMMkRnXimgCgCI+4xa3L2EO9w R3Nu2MRet9A51ut4sLYMMdATqsMmQm2gnD8hbbJalbmIz8cymWYmIjttLqPmrKawmbyU 7erA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ReD0Hz5t; 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 d13si11898064ejj.317.2019.11.04.14.09.49; Mon, 04 Nov 2019 14:10:12 -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=ReD0Hz5t; 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 S2390355AbfKDWJN (ORCPT + 99 others); Mon, 4 Nov 2019 17:09:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:42206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389912AbfKDWJK (ORCPT ); Mon, 4 Nov 2019 17:09:10 -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 9DAAD214D9; Mon, 4 Nov 2019 22:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905350; bh=d11sopKfzpOkYe5kN+ObEO6qxaUWsS4eeR8/fg6kiik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ReD0Hz5tyGPBJUVQ4BLnZ5D5T0aRj0HU187YpPLPdNZk6sDiHblUwXEmFEQFjF97R cAWK0za6f3e8ogiQMjKRZQVwfuMdLV0SMWe4v46nkKfG9a+WJYAFNTO2eWWByK1Uxr vPNi0ZhFmSBozf/9D4NPJk87ndBpG6SHo7+9+glo= 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 5.3 115/163] HID: i2c-hid: add Trekstor Primebook C11B to descriptor override Date: Mon, 4 Nov 2019 22:45:05 +0100 Message-Id: <20191104212148.565050393@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@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"),