Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2020 09:58:33 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>, freebsd-usb@freebsd.org
Subject:   Re: Trouble with keyboard
Message-ID:  <c036dcda-9267-577d-629c-ecbcdade9101@selasky.org>
In-Reply-To: <78038dd6-2665-fd98-64f0-75b865d96ed0@selasky.org>
References:  <b030e7c2-efcc-0ed9-6491-0fe27b5f3377@gmail.com> <78038dd6-2665-fd98-64f0-75b865d96ed0@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <SONiX USB DEVICE> at usbus2
>> Feb 11 15:31:27 alex kernel: ukbd0 on uhub7
>> Feb 11 15:31:27 alex kernel: ukbd0: <SONiX USB DEVICE, class 0/0, rev
>> 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: <SONiX USB DEVICE, class 0/0, rev
>> 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: <SONiX USB DEVICE> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c036dcda-9267-577d-629c-ecbcdade9101>