From owner-freebsd-usb@freebsd.org Tue Feb 11 08:58:49 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D916122CCFD for ; Tue, 11 Feb 2020 08:58:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48GxX84N00z3FF5 for ; Tue, 11 Feb 2020 08:58:48 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 45C092603E9; Tue, 11 Feb 2020 09:58:44 +0100 (CET) Subject: Re: Trouble with keyboard From: Hans Petter Selasky To: "Alex V. Petrov" , freebsd-usb@freebsd.org References: <78038dd6-2665-fd98-64f0-75b865d96ed0@selasky.org> Message-ID: Date: Tue, 11 Feb 2020 09:58:33 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <78038dd6-2665-fd98-64f0-75b865d96ed0@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48GxX84N00z3FF5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.66)[ip: (-9.21), ipnet: 2a01:4f8::/29(-2.52), asn: 24940(-1.56), country: DE(-0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 08:58:49 -0000 On 2020-02-11 09:53, Hans Petter Selasky wrote: > On 2020-02-11 09:43, Alex V. Petrov wrote: >> My keyboard work perfectly with different OS: Linux, windows and older >> version FreeBSD (liveCD Frenzy). >> On modern versions of FreeBSD (amd64 and i386 on different machines) the >> keyboard work not normaly. When I pressed Ctrl, on termianal continualy >> generate unbreakable simbol "A". >> >> messages attached and detaced: >> Feb 11 15:31:27 alex kernel: ugen2.2: at usbus2 >> Feb 11 15:31:27 alex kernel: ukbd0 on uhub7 >> Feb 11 15:31:27 alex kernel: ukbd0: > 2.00/1.00, addr 2> on usbus2 >> Feb 11 15:31:27 alex kernel: kbd2 at ukbd0 >> Feb 11 15:31:27 alex kernel: ukbd1 on uhub7 >> Feb 11 15:31:27 alex kernel: ukbd1: > 2.00/1.00, addr 2> on usbus2 >> Feb 11 15:31:27 alex kernel: kbd3 at ukbd1 >> >> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFeb >> >> 11 15:31:47 alex kernel: ugen2.2: at usbus2 >> (disconnected) > > Is this a so-called gamers keyboard? > Hi, You can try dumping the USB traffic using usbdump: usbdump -i usbus2 -f 2 -s 65536 -vvv You should see 8-bytes of information, where each byte indicate a key. --HPS