From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#57020: 29.0.50; Mouse wheel stops working Date: Tue, 09 Aug 2022 02:13:17 +0200 Message-ID: <878rnye0ki.fsf@web.de> References: <87sfm9q90n.fsf@web.de> <87sfm83jfm.fsf@yahoo.com> <87o7wwrel2.fsf@web.de> <877d3k3h33.fsf@yahoo.com> <87zggfv6ma.fsf@web.de> <87iln3sbq0.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35303"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57020@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 09 02:14:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oLCt1-0008zz-7n for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 02:14:19 +0200 Original-Received: from localhost ([::1]:53878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLCsx-0004fv-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Aug 2022 20:14:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLCsk-0004fk-W8 for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2022 20:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLCsk-0005gU-KA for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2022 20:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLCsk-0004yz-9n for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2022 20:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2022 00:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57020 X-GNU-PR-Package: emacs Original-Received: via spool by 57020-submit@debbugs.gnu.org id=B57020.166000401319105 (code B ref 57020); Tue, 09 Aug 2022 00:14:02 +0000 Original-Received: (at 57020) by debbugs.gnu.org; 9 Aug 2022 00:13:33 +0000 Original-Received: from localhost ([127.0.0.1]:42147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLCsG-0004y5-Lo for submit@debbugs.gnu.org; Mon, 08 Aug 2022 20:13:32 -0400 Original-Received: from mout.web.de ([212.227.17.12]:46057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLCsD-0004xn-7g for 57020@debbugs.gnu.org; Mon, 08 Aug 2022 20:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1660003998; bh=klJe1Ds9NTZDJt3sEjGXub8HQBzD1BlpokfYI5q+YIE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=nzIUvuzSeIxu/QlOgmefGu+jfdjSedKB7uUAMOEs9/lqSdXcZgoaxFZfTW9/jNHWE 97LzVPMvthOyQOXvCPKGYmpwRqRSUIfEvoqcuU8NoOwLrcaO3YkdoTW041iuibCr75 aNd8018OotwyluWwohPPXRf0eL8euHjYxVniD8zE= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.57.248.18]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N79N8-1nKQdu2pgK-017jWE; Tue, 09 Aug 2022 02:13:18 +0200 In-Reply-To: <87iln3sbq0.fsf@yahoo.com> (Po Lu's message of "Mon, 08 Aug 2022 10:36:23 +0800") X-Provags-ID: V03:K1:PkeiB4js+T0LS99PUHOZr0p22AaGtHPPvvYJFgFg5B/bneFkfxg G6Le7orlrfbzZI5esM8Kb+Zuo8puoVnRgfqj0a0MOx2bv2MlJW9+U2DHrQ79bveYCI4cfg/ rGM2aDyEoC6u/p6qisMsO1QMPD/Z3lj79JbyUHHbw1yscwEbJbzi2LEhvGPHE746K4mSzNI 59ly2eeDG1CjxsERvWWuw== X-UI-Out-Filterresults: notjunk:1;V03:K0:mWkan1TZJ1s=:Z7ovCrPeEYXvALEm0tP2ES d3WKJ0xkoKRHK5lJikAenNUKJyAuy/2JNKVRINBs98KdZoOqK0WsecfO0a/CARnh2opXzJJVu It+h4lNpmy0U/WNGGrWb/SeqV+MYejgyL92ZnEauGWF63mEzzmRAHiN2BuOFcuQlRyBvRjVmg j7Z21X6PDnkQKOGckzsuNixN2kWw+TkhsJpeD3+s758tiLkdiGW+0vZx7WlDc5bQzbyJ6dZvX nzaFQyi9LfRr/lGpkndpKLZt4MMqgHxNuJBC5wrMKZiqNc+nRjdPSyRwycOGP4Djkiy3M/ySW 8h1TxbNRzEJnRvdwDlDev/dahXcv5wUTV7e1e798fxUN3fr+JQZ9v6pc8ArgdtYagqvOMggok A6o0NP9xcdvwWcm/w6ZWo3Yr0FlTtYPTWhuxfaxHB5MnJUdVwHrf1F8USRBcVPPH9uk4ia3yH uGMbSxvJLou7+b3WIvs04KEoIbWP8ul8Cc2NWZX5PJEcjWQYAh6nlGk3C8ZewSpqSnPwRWMOi LaD5JmPph6QPMzH4hqQUnasjiMg0PGfhT2XiA2reIbDX/EhSKaYqD544vI+HKZybkOkXuFMVy +VPog7uF0L+ugVLkAU4vIwiRF7t5QqR+N/obQu9s6TH9kewUZd6VmAWBnU1JwnSQJDBP7HyXe WpTOJ32MDjNga7GhE6ff5rsAJuv18cUJCChe/BwKi1jsQu7f3BS0rRb/HZVibLkF0P/yKno9S sS38OXFoto/ZsczoCcZqvUsdBcdQPKDeGqCkJEqj40dxd1qp8le1YcPALc+feR3SLghU7w80 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239129 Archived-At: --=-=-= Content-Type: text/plain Po Lu writes: > Hmm, thanks. Could you also add the following instrumentation to that > code, like such: [...] You mean like this? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Instrument-xterm.c.patch Content-Transfer-Encoding: quoted-printable diff --git a/src/xterm.c b/src/xterm.c index 36797bc0ab..88cd566cd3 100644 =2D-- a/src/xterm.c +++ b/src/xterm.c @@ -20465,7 +20465,10 @@ handle_one_xevent (struct x_display_info *dpyinfo= , device =3D xi_device_from_id (dpyinfo, xev->deviceid); if (!device) - goto XI_OTHER; + { + fprintf (stderr, "device not found, %d\n", xev->deviceid); + goto XI_OTHER; + } #ifdef HAVE_XINPUT2_2 if (xev->flags & XIPointerEmulated) =2D- 2.30.2 --=-=-= Content-Type: text/plain No, I got no output after the mouse wheel had stopped working. But I have a new data point: there seems to be a relation with switching to the X session of a different user. I sometimes have several X sessions running a the same time. Some minutes ago the wheel had stopped working. I switched to the X session at C-M-f2 and then back to here (i.e. C-M-f1) and the mouse wheel started to work again. I'm not saying that there is a connection between the failure and other X sessions, however. AFAIR, when the mouse wheel stopped working yesterday there was only one X session running. Maybe closing the laptop (suspend to RAM) sometimes triggers this, but that's just guessing. That switching X sessions healed the issue didn't seem incidental, however. I had the feeling that I should try that, and I had been using the mouse wheel as first action after switching the X session back. But I had been playing stuntrally with the joystick before I noticed the mouse wheel stopped working. Maybe plugging in the Joystick is related again....dunno if that guessing helps you, if not, I'm sorry for the noise. Michael. --=-=-=--