From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David Wilson" Subject: Re: Tips for diagnosing ghost arrow key presses with USB keyboard? Date: Fri, 08 Nov 2019 11:14:22 -0800 Message-ID: References: <28fa576e-7a35-41f9-b07e-b0fbc5c90399@www.fastmail.com> <871ruixmr0.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59090) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT9ii-0001Pp-LZ for help-guix@gnu.org; Fri, 08 Nov 2019 14:15:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iT9if-0007Qp-CU for help-guix@gnu.org; Fri, 08 Nov 2019 14:14:54 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33873) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iT9iW-0007Fj-PX for help-guix@gnu.org; Fri, 08 Nov 2019 14:14:53 -0500 In-Reply-To: <871ruixmr0.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Tobias Geerinckx-Rice Cc: help-guix@gnu.org Thanks for the ideas Tobias! The specific keyboard is the "ThinkPad Compact USB Keyboard with Trackpoint" which seems to be supported by the "hid-lenovo" driver: https://github.com/torvalds/linux/blob/master/drivers/hid/hid-lenovo.c lsmod tells me that it's loaded in my system and dmesg seems to indicate that the "lenovo" driver is being used when the device gets plugged in. On Fri, Nov 8, 2019, at 10:10 AM, Tobias Geerinckx-Rice wrote: > I don't know which kernel driver (HCI or input) you suspect and > can't be of much help with their design, but I have had some > success using usbmon[0] to sniff the wire. It's available in > Guix. > I'll certainly give usbmon a shot, thanks for the tip! I found this resource which got me started with it pretty easily: https://www.kernel.org/doc/html/latest/usb/usbmon.html Now I just have to decipher the log output :) Thanks! David