Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp277732rwl; Wed, 29 Mar 2023 01:25:38 -0700 (PDT) X-Google-Smtp-Source: AKy350bbLaA8Tmrbo4nX0po3XKb+hEpKbf84txZpdN/aaoxWR7mEAhFEB3jV30Kl+j6YYaeBkVMg X-Received: by 2002:a17:90a:f10b:b0:240:c4c:59ea with SMTP id cc11-20020a17090af10b00b002400c4c59eamr1528279pjb.11.1680078337829; Wed, 29 Mar 2023 01:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680078337; cv=none; d=google.com; s=arc-20160816; b=OdHqKJC25+c2M/oLvIpMuBkqGQmtG0vuNy6bVtVdWi9x64rxS+Gst5/eTWMcpXXQO5 ji3vwhC73byo7e9RFq869pNgJUK1MwlT578LCnXmHuj/1xLUCvYI61BzbtOW94GXM4kL hJYPwWTryowG8zPwmQAT2JhhrLXthu4JBvgESD76fkTAtgUv1Zf6O7HqpsGSUu6wr4CZ oNA9WTCX0vD+tOhYdin1kvUhVZDf8v8b5m7qHjLliRCBZ+80LiEbW1Ro0c+y8l//a9R1 7m8Tfwh0oFQ183wtimLH93JmphUjv5Br0mnUyQPJKWLpp/KpXKSgUzSzDJ3O8iZTzLK5 +PJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:subject:cc:to:from :message-id:date:dkim-signature:dkim-signature; bh=1CxvA6Vec2L3ljY2X5FIZQTvJH82AAb0kajv763yrcc=; b=gSoMx1PXBj0DOX0XHoR2Ld/9V1mC86h8pNHEGIrPmIrilDdVeWbSDoaI0V5XEdHM4T 1UCW1e9A0BfuD2id6RuVJ6GD5X6SEgOqmBtbb0PCAUHsepJVEb4xynZAG3dcVNMVGPXJ +By0tWO9LUYX1llSoGs8fvMoDexIb1ITUBJOz5QA06pSLqkfTf43ALZWccy+FdNDF9lr gEuAshBwg3wKqB89PO+Qd+7LH0OlgVQ/Wk+5UsESCeVl1T1kvzTNmxW8CrGIYRylarUr rZh/nJzt58ntwqm/KbLXIB/aG//QPi9JJeTUa23SqhimM3O+whrdO+1T/mIJlAXWA8oJ MnGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="iW/MznSz"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=r+w23MQV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a170902a51000b001a1b3c9d051si27855587plq.46.2023.03.29.01.25.20; Wed, 29 Mar 2023 01:25:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="iW/MznSz"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=r+w23MQV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231129AbjC2ISS (ORCPT + 99 others); Wed, 29 Mar 2023 04:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbjC2IRj (ORCPT ); Wed, 29 Mar 2023 04:17:39 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 536F64EF6; Wed, 29 Mar 2023 01:16:45 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id D888A211BD; Wed, 29 Mar 2023 08:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1680077803; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=1CxvA6Vec2L3ljY2X5FIZQTvJH82AAb0kajv763yrcc=; b=iW/MznSzsWE386N5pghSZ9N24vlV3O2Mzd2+JGsHI/7viBN7PwsLjG1TQ1uuW8RhV0/Ag2 AqzK77izsDMztUVk3h+kx6+RgSd3VUDnzeWW8+N9t0umiuugo8aPxdgdOmlxo8sgtY78r/ WpigR4Lx1TYL1YfAY+jNcopnxJG85Og= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1680077803; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=1CxvA6Vec2L3ljY2X5FIZQTvJH82AAb0kajv763yrcc=; b=r+w23MQVpKc7HUx4vW1661I/fjvgrOSw4BHDHDlQD0ElHJSdAnhuxg5xvf+E3RIoJ0G7dT TfhfKSZ8ZAuGpsCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B552C139D3; Wed, 29 Mar 2023 08:16:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +yR9K+vzI2QoXAAAMHmgww (envelope-from ); Wed, 29 Mar 2023 08:16:43 +0000 Date: Wed, 29 Mar 2023 10:16:43 +0200 Message-ID: <87h6u4otuc.wl-tiwai@suse.de> From: Takashi Iwai To: Pali =?ISO-8859-1?Q?Roh=E1r?= , Dmitry Torokhov Cc: regressions@lists.linux.dev, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [REGRESSION] wrong coord from Thinkpad TrackPoint since 6.2 kernel User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, we've received a bug report about Thinkpad TrackPoint (ALPS DualPoint Stick) on 6.2 kernel: https://bugzilla.opensuse.org/show_bug.cgi?id=1209805 The device reports the wrong values as the movements, e.g. sometimes a value such as 255, 254 or -255 is returned while usually it should be a smaller value like -1 or 2. The evtest on 6.2.x kernel shows the wrong values like: Event: time 1680037542.898747, type 2 (EV_REL), code 0 (REL_X), value 255 Event: time 1680037542.898747, -------------- SYN_REPORT ------------ Event: time 1680037543.145196, type 2 (EV_REL), code 0 (REL_X), value 1 Event: time 1680037543.145196, -------------- SYN_REPORT ------------ Event: time 1680037543.175087, type 2 (EV_REL), code 1 (REL_Y), value -255 Event: time 1680037543.175087, -------------- SYN_REPORT ------------ Event: time 1680037543.185421, type 2 (EV_REL), code 0 (REL_X), value 1 Event: time 1680037543.185421, type 2 (EV_REL), code 1 (REL_Y), value -255 Event: time 1680037543.185421, -------------- SYN_REPORT ------------ while 6.1.x kernel shows the correct values like: Event: time 1680037386.318058, type 2 (EV_REL), code 0 (REL_X), value -1 Event: time 1680037386.318058, type 2 (EV_REL), code 1 (REL_Y), value -1 Event: time 1680037386.318058, -------------- SYN_REPORT ------------ Event: time 1680037386.328087, type 2 (EV_REL), code 0 (REL_X), value -1 Event: time 1680037386.328087, type 2 (EV_REL), code 1 (REL_Y), value -1 Event: time 1680037386.328087, -------------- SYN_REPORT ------------ Event: time 1680037386.338046, type 2 (EV_REL), code 0 (REL_X), value -1 Event: time 1680037386.338046, type 2 (EV_REL), code 1 (REL_Y), value -2 Event: time 1680037386.338046, -------------- SYN_REPORT ------------ I couldn't see any relevant changes in alps.c between those versions, so this is likely a breakage in a lower layer. Could you guys take a look? Thanks! Takashi