Trouble with keyboard

Hans Petter Selasky hps at selasky.org
Tue Feb 11 08:58:49 UTC 2020


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


More information about the freebsd-usb mailing list