ukbd key repeat behaviour changed?

Hans Petter Selasky hps at selasky.org
Tue Mar 3 21:26:46 UTC 2020


On 2020-03-03 21:38, Hans Petter Selasky wrote:
> On 2020-03-03 18:44, James Wright wrote:
>>
>>    After recently updating my MacBookAir to 12-STABLE r358483 (which i 
>> do once a month), I'm making numerous mistypes using the keyboard on 
>> the vt console than ever before.
>>
>>    This is most apparent when I boot up FreeBSD and login to the 
>> console, as I consistently fail to enter my password correctly unless 
>> I slowly type it out.
>>
>>    It's hard to reproduce as you have to type quickly, and not all key 
>> combos seem to cause the issue, but I've noticed that extra repeated 
>> keystrokes are being inserted into the output.
>>
>>    For example, typing  "ls -l <Enter>" quickly sometimes causes the 
>> terminal to show "ls ---l" or "ls -lll", or multiple new lines to 
>> appear at the end.
>>
>>    Has something changed with the default key repeat timings recently, 
>> and has anyone else noticed this behaviour?
> 
> Hi,
> 
> The ukbd's keyboard timing should not have changed. Can you show the 
> output from:
> 
> usbconfig show_ifdrv
> 
> Run as root?

Also try:

sysctl hw.usb.ukbd.debug=16

This will print all the key-presses in dmesg. Maybe you find something 
buggy there.

--HPS


More information about the freebsd-usb mailing list