Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1146342rdb; Wed, 1 Nov 2023 12:38:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEM/KR6AacGsGtme4VVrk7IT9trGDEHPwbZqRGyUD0XhbZ4ypmtILICCsVpGZc0OjbFoAvW X-Received: by 2002:a05:6a00:807:b0:6be:2991:d878 with SMTP id m7-20020a056a00080700b006be2991d878mr16350360pfk.15.1698867503803; Wed, 01 Nov 2023 12:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698867503; cv=none; d=google.com; s=arc-20160816; b=ESIhOve6cKAS2HlCm7uGjEYFAkAgSSnasiHBYBmWMtCyNmyBM1dgbggo7M++OaiDoq /4Kn3CsEVOznPIbYkb/xPIicwBFKsVmgWKaishxECEGCSatp6zAXWPRH6Cq8ET6k2Oi1 dpi2Ndd7S3QDWbh0BGaH0RtR+FmSKd9Am0wAxQv2kYxpfzaWXSCnyN9p3nvtU0c/1CwI oTKG0FiHzrZY3zj9I4iEcEdmQOBSC6iqAjkijehnY2a0SLZUYwI8CG2pXeCaswYW+VKw abIQdMUtBJy3CZzdDPwN6C+z2cWyJDAdcrlaXTLqjMhEhJhBetiS9ZOH4/AgX4/cDLG3 1ZNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature:dkim-signature; bh=/Lkcb7+DOuEYU8z+OLfth9u5epDmfR3nilYe3WjVLwI=; fh=BoYHGTsqEWfO8CKkxEJdz/ZOiAazoryQx50TKZrXO9s=; b=juOD/pTgZif/MMssqu//otfrJFbJ3bOa2crASTwlXaj96qCnuHNIQ/+tKiPl9W5U89 zaIM98wyaOy7Lf6sTBBSAx3T6lk5G53JU1qdTRnPfvqCWRMtwrREgdOiYGOZheTiwswu 3pvdvtYg78BkW2GNmDj63NhMijmFiFMfXa9VTnjwHwF2nOsefndLcXxPo3SPWD08YUq+ Umc8Ojc1Ovk8uHsLLWV/gQ/6OBiscjkfTop8DLDkwgI+ORpeSsWc0m6NfwX0KUD9NbnB wLDvOUtn7LOaNrC2TZNYroeGn3sfrVEWVHBhOMVREB/gVEOptvA499Vg708EkM+cgxQl RjBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=eijjj50M; dkim=neutral (no key) header.i=@suse.cz header.b=0CDu8Wgp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id f7-20020a056a00228700b006bf2ef1717csi2247211pfe.255.2023.11.01.12.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 12:38:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=eijjj50M; dkim=neutral (no key) header.i=@suse.cz header.b=0CDu8Wgp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8646480990C9; Wed, 1 Nov 2023 12:38:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347920AbjKAThv (ORCPT + 99 others); Wed, 1 Nov 2023 15:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345757AbjKAThu (ORCPT ); Wed, 1 Nov 2023 15:37:50 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E70F9F; Wed, 1 Nov 2023 12:37:44 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id AE7C81F85D; Wed, 1 Nov 2023 19:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1698867461; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/Lkcb7+DOuEYU8z+OLfth9u5epDmfR3nilYe3WjVLwI=; b=eijjj50MaPUvP6KhdzokYQ2gHO7MR1EbSua7poiO9s+RWZeCs2gonhfIIx8c0+ISc/na5I 2kP4Y/Qcy9UUMsNARxU+7YdhLWG6Ay21b7vdRXzS5LSD1Si0F4qoQVGj+KBXIht9a+TvY8 QHV9/dF5w/enJxwS4fUUGmASH+/50hk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1698867461; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/Lkcb7+DOuEYU8z+OLfth9u5epDmfR3nilYe3WjVLwI=; b=0CDu8WgpjNAi2VOjx3MUnrhZddv9lStJJqpmq0fEWt+CsuMQgENEVYeR3cPco2OAosxe+i s5eXpDrTJUbv5bBA== Received: from pobox.suse.cz (pobox.suse.cz [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 2A2612C2D2; Wed, 1 Nov 2023 19:37:41 +0000 (UTC) Date: Wed, 1 Nov 2023 20:37:40 +0100 (CET) From: Jiri Kosina To: David Revoy cc: "jason.gerecke@wacom.com" , "jose.exposito89@gmail.com" , "ilya.ostapyshyn@gmail.com" , Nils Fuhler , Ping Cheng , Peter Hutterer , Benjamin Tissoires , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: Requesting your attention and expertise regarding a Tablet/Kernel issue In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 12:38:14 -0700 (PDT) On Wed, 1 Nov 2023, David Revoy wrote: > Hi Jason Gerecke, José Expósito, Jiri Kosina and Illia Ostapyshyn, > > I am emailing to draw your attention and expertise to a problem I had > earlier this week with my Xp-Pen Artist 24 Pro display tablet under > Fedora Linux 38 KDE after a kernel update. > > The second button on my stylus changed from a right-click (which I could > customise with xsetwacom or any GUI like kcm-tablet) to a button that > feels 'hardcoded' and now switches the whole device to an eraser mode. > This makes my main tool unusable. > > I don't have the skills to write a proper kernel bug report, workaround > or even identify the exact source of the issue. I have written a blog > post about this with more details here: > https://www.davidrevoy.com/article995/how-a-kernel-update-broke-my-stylus-need-help > , contacting you was something suggested by the comments. > > Thank you very much if you can help me. CCing a couple more people involved both in 276e14e6c3 and 87562fcd1342, and mailinglists. This is almost certainly the behavior introduced by 276e14e6c3, where previously the button was mapped to BTN_TOUCH, but now it's mapped to BTN_TOOL_RUBBER, causing user-visible change in behavior. -- Jiri Kosina SUSE Labs